Price Market Information
AverageCandleSize
Calculates the average candle body size of the last 50 minutes.
Syntax: AverageCandleSize([ market ])
Returns the average candle body size.
Return type: Number
AverageOrderbookSpread
Calculates the average orderbook bid/ask spread of the last 50 minutes.
Syntax: 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.
Syntax: CreateMarket([ priceSource ], [ baseCurrency ], [ quoteCurrency ], [ contractName ])
Returns the market string.
Return type: String
GetLastTrades
Gets a list of the last trades.
Syntax: GetLastTrades([ depth ], [ market ])
Returns the last trades. Array format: [[price, amount, isBuy?, unix], ... ].
Return type: ListNumbers
GetOrderbook
Gets the orderbook on a specific market.
Syntax: GetOrderbook([ market ])
Returns a collection with 4 arrays.
Return type: ListNumbers
GetOrderbookAsk
Gets a list of the orderbook ask records.
Syntax: 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.
Syntax: GetOrderbookBid([ market ])
Returns an array of bid prices and order sizes. Output format: [[price, amount], [price, amount] ...].
Return type: Dynamic
LastBuyTradesCommand
Returns all last selling orders
Syntax: LastBuyTradesCommand([ Seconds back ], [ market ])
Returns the buying trading volume
Return type: Number
LastSellTradesCommand
Returns all last selling orders
Syntax: LastSellTradesCommand([ Seconds back ], [ market ])
Returns the selling trading volume
Return type: Number
LastTradesSentiment
Calculates the last trades sentiment as a number.
Syntax: 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.
Syntax: 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.
Syntax: PriceLevel(price)
Returns the price level.
Return type: Number
Last updated