Built-in Functions
Structures
Built-in Variables
Trade
Data structure for market trade records.
Attributes
| Name | Type | Description |
Id | string | Unique identifier for the market trade record. If the exchange API does not provide an Id, it will be filled with a timestamp. |
Time | number | Timestamp in milliseconds. |
Price | number | Execution price. |
Amount | number | Execution quantity. |
Type | number | Order type, refer to |
See Also
Remarks
The exchange.GetTrades() function returns an array of Trade or an empty array.