Type/to search
Built-in Functions
Structures
Built-in Variables and Constants
EXCHANGE
ORDER_STATE
ORDER_TYPE
ORDER_CONDITION_TYPE
POSITION_DIRECTION
ORDER_OFFSET
PERIOD
LOG_TYPE
LOG_TYPE_BUY
LOG_TYPE_SELL
LOG_TYPE_CANCEL
Conventions
Exchanges

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).

ConstantValueMeaning
LOG_TYPE_BUY0A buy order log
LOG_TYPE_SELL1A sell order log
LOG_TYPE_CANCEL2An order cancellation log

In this sectionRead the whole section

NameDescription
LOG_TYPE_BUYA buy order log; the value is 0.
LOG_TYPE_SELLA sell order log; the value is 1.
LOG_TYPE_CANCELAn order cancellation log; the value is 2.