Enumerations

About 2 min

For the meaning of enumeration parameters and common field parameters, please refer to this section

Language

tigerapi/enums.h Language

NameLanguage
zh_CNSimplified Chinese
zh_TWTraditional Chinese
en_USEnglish

Market

tigerapi/enums.h Market

NameMarket
ALLAll markets
USUS market
HKHong kong market
CNA shares
SGSingapore market

Trading Session

tigerapi/enums.h TradingSession

NameTrading Session
PreMarketPre market hours
RegularRegular trading hours
AfterHoursAfter regular trading hours

Contract Security Type

tigerapi/enums.h SecType

NameContract Type
ALLAll Securities
STKStock
OPTOption
WARHong Kong stock warrant
IOPTHK Stock CBBCs
FUTFutures
FOPFutures Option
CASHCash

Account Segment Type

tigerapi/enums.h SegmentType

NameContract Type
ALLAll Segments
SECSecurity
FUTFutures

Currency

tigerapi/enums.h Currency

NameCurrency
ALLALL
USDU.S Dollar
HKDHong Kong Dollar
CNHChinese Yuan
SGDSingapore Dollar

Order Status

tigerapi/enums.h OrderStatus

NameDescription
PendingNewPending new
PendingSubmitPending submit
InitialInitial Order Status
SubmittedSubmitted
PartiallyFilledOrder partially filled
FilledOrder filled
CancelledOrder cancelled
PendingCancelPending cancellation
InactiveExpired
InvalidInvalid

Note: The status of partial transaction is special, may be HELD, CANCELLED, EXPIRED, REJECTED any kind of status, please see FAQ - transaction - how to determine the order is part of the status of the transaction See also the method of order status in sdk tigeropen.trade.domain.order.Order.status, that is, if the order status returned by the server is HELD(submitted). and there is a partial number of transactions, then the order status is PARTIALLY_FILLED

Response Type

NameValue
GET_ORDER_NO_END1
PREVIEW_ORDER_END2
PLACE_ORDER_END3
CANCEL_ORDER_END4
MODIFY_ORDER_END5
GET_ASSET_END6
GET_POSITION_END7
GET_ACCOUNT_END8
SUBSCRIBE_ORDER_STATUS9
SUBSCRIBE_POSITION10
SUBSCRIBE_ASSET11
SUBSCRIBE_TRADE_EXECUTION12
GET_MARKET_STATE_END101
GET_ALL_SYMBOLS_END102
GET_ALL_SYMBOL_NAMES_END103
GET_BRIEF_INFO_END104
GET_STOCK_DETAIL_END105
GET_TIME_LINE_END106
GET_HOUR_TRADING_TIME_LINE_END107
GET_KLINE_END108
GET_TRADING_TICK_END109
GET_QUOTE_CHANGE_END110
GET_SUB_SYMBOLS_END111
GET_SUBSCRIBE_END112
GET_CANCEL_SUBSCRIBE_END113
ERROR_END200

Bar Type

tigerapi/enums.h BarPeriod

NameValueDescription
DAYdayDay Bar
WEEKweekWeek Bar
MONTHmonthMonth Bar
YEARyearYear Bar
ONE_MINUTE1min1 minute Bar
THREE_MINUTES3min3 minute Bar
FIVE_MINUTES5min5 minute Bar
TEN_MINUTES10min10 minute Bar
FIFTEEN_MINUTES15min15 minute Bar
HALF_HOUR30min30 minute Bar
FORTY_FIVE_MINUTES45min45 minute Bar
ONE_HOUR60min60 minute Bar
TWO_HOURS2hour2 hour Bar
THREE_HOURS3hour3 hour Bar
FOUR_HOURS4hour4 hour Bar
SIX_HOURS6hour6 hour Bar

Capital Period

tigerapi/enums.h CapitalPeriod

NameValue
INTRADAYintraday
DAYday
WEEKweek
MONTHmonth
YEARyear
QUARTERquarter
HALFAYEAR6month

Order Sort By

tigerapi/enums.h OrderSortBy

NameValue
LATEST_CREATEDLATEST_CREATED
LATEST_STATUS_UPDATEDLATEST_STATUS_UPDATED

tigerapi/enums.h Right

NameValue
ALL""
PUT"PUT"
CALL"CALL"

Quote Right

tigerapi/enums.h QuoteRight

NameValue
nr"nr"
br"br"

Tick Size Type

tigerapi/enums.h TickSizeType

NameValue
OPEN"OPEN"
OPEN_CLOSED"OPEN_CLOSED"
CLOSED_OPEN"CLOSED_OPEN"
CLOSED"CLOSED"
Last update: