Price Market Information
AverageCandleSize
Calculates the average candle body size of the last 50 minutes.
AverageCandleSize([ market ])
Returns the average candle body size.
Return Type: Number
AverageOrderbookSpread
Calculates the average orderbook bid/ask spread of the last 50 minutes.
AverageOrderbookSpread([ market ])
Returns the average orderbook bid/ask spread.
Return Type: Number
CreateMarket
Creates a market string that can be used for a variety of commands.
CreateMarket([ priceSource ], [ baseCurrency ], [ quoteCurrency ], [ contractName ])
Returns the market string.
Return Type: String
GetLastTrades
Gets a list of the last trades.
GetLastTrades([ depth ], [ market ])
Returns the last trades. Array format: [[price, amount, isBuy?, unix], ... ].
Return Type: ListNumbers
GetOrderbook
Gets the orderbook on a specific market.
GetOrderbook([ market ])
Returns a collection with 4 arrays.
Return Type: ListNumbers
GetOrderbookAsk
Gets a list of the orderbook ask records.
GetOrderbookAsk([ market ])
Returns an array of bid prices and order sizes. Output format: [[price, amount], [price, amount] ...].
Return Type: Dynamic
GetOrderbookBid
Gets a list of the orderbook bid records.
GetOrderbookBid([ market ])
Returns an array of bid prices and order sizes. Output format: [[price, amount], [price, amount] ...].
Return Type: Dynamic
LastTradesSentiment
Calculates the last trades sentiment as a number.
LastTradesSentiment([ market ])
Returns the last trades sentiment. 0.5 is the default, idle value.
Return Type: Number
OrderbookSentiment
Calculates the orderbook sentiment as a number.
OrderbookSentiment([ market ])
Returns the orderbook sentiment. 0.5 is the default, idle value.
Return Type: Number
PriceLevel
Determines the price level. For example. 123456 will return 10000. 123 will return 100.
PriceLevel(price)
Returns the price level.
Return Type: Number
Last updated