Built-in Functions
Structures
Built-in Variables and Constants
Conventions
Exchanges
LOG_TYPE
Log type constants: the values of the orderType argument of exchange.Log, choosing a buy, sell or cancel log (it only writes a log; no order is placed).
| Constant | Value | Meaning |
|---|---|---|
LOG_TYPE_BUY | 0 | A buy order log |
LOG_TYPE_SELL | 1 | A sell order log |
LOG_TYPE_CANCEL | 2 | An order cancellation log |
In this sectionRead the whole section
| Name | Description |
| LOG_TYPE_BUY | A buy order log; the value is 0. |
| LOG_TYPE_SELL | A sell order log; the value is 1. |
| LOG_TYPE_CANCEL | An order cancellation log; the value is 2. |