Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bryaningl3 committed Mar 28, 2022
1 parent c3e09d1 commit 153832e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
15 changes: 3 additions & 12 deletions docs/content/appendices/price_formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ const handleMarketUpdate = (event) => {
connection.on(SubscriptionType.MarketUpdate, 'AAPL', handleMarketUpdate)
```

The same is true for [`Quote`](/content/sdk/lib-marketstate?id=quote) class.

> Recall the Quote class is used to track the current state of an instrument. It mutates to reflect new information as market data messages are received. Read more in the [Key Concepts: Data Structures](/content/concepts/data_structures?id=quotes).
Many instance properties of a ```Quote``` class are numbers. Here are a few examples:
The same is true for [`Quote`](/content/sdk/lib-marketstate?id=quote) class. Many instance properties of a ```Quote``` class are numbers. Here are a few examples:

* [lastPrice](/content/sdk/lib-marketstate?id=quotelastprice)
* [bidPrice](/content/sdk/lib-marketstate?id=quotebidprice)
* [bidSize](/content/sdk/lib-marketstate?id=quotebidsize)

> Recall the Quote class is used to track the current state of an instrument. It mutates to reflect new information as market data messages are received. Read more in the [Key Concepts: Data Structures](/content/concepts/data_structures?id=quotes).
## Decimal Formatting

Generally speaking, we convert numbers for presentation purposes. This is a very common practice. In most cases, we simply restrict the number of decimal places that are shown. Sometimes, special characters, like commas, are used to separate thousands. In other cases, parenthesis may be used to represent negative values.
Expand Down Expand Up @@ -226,10 +224,3 @@ Obviously, ambiguity is introduced because the denominator is not shown. It is i

## Formatting Functions








4 changes: 4 additions & 0 deletions docs/content/releases/5.17.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Other**

* Updated documentation, making minor corrections.
* Added [Appendix: Price Formats](https://docs.barchart.com/marketdata-api-js/#/content/appendices/price_formats) documentation, including extensive discussion of fractional tick formatting of prices.

0 comments on commit 153832e

Please sign in to comment.