The resource loading... loading...

Trade

Structure of market transaction records.

The market transaction record Id, or if the exchange interface does not provide an Id then use a timestamp to populate it. Id string Millisecond timestamp. Time number Transaction price. Price number Transaction amount. Amount number Order type, refer to {@var/ORDER_TYPE/ORDER_TYPE_BUY ORDER_TYPE_BUY}, {@var/ORDER_TYPE/ORDER_TYPE_SELL ORDER_TYPE_SELL}. Type number

The exchange.GetTrades() function returns an array of Trade or an empty array.

{@fun/Market/exchange.GetTrades exchange.GetTrades}

Built-in functions Ticker