# Quotation Definitions
# Cumulative Filter Properties
- Python
- Proto
- C#
- Java
- C++
- JavaScript
StockField
NONEunknown
CHANGE_RATEYield
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-10.2, 20.4]
AMPLITUDEAmplitude
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [0.5, 20.6]
VOLUMEAverage daily trading volume
- 0 decimal place accuracy, the excess part is discarded.
- For example, a range of [2000, 70000]
TURNOVERAverage daily turnover
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1400, 890000]
TURNOVER_RATETurnover rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [2, 30]
AccumulateField
enum AccumulateField
{
AccumulateField_Unknown = 0; // unknown
AccumulateField_ChangeRate = 1; // Yield(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10.2, 20.4] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Amplitude = 2; // Amplitude(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20.6] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Volume = 3; // Average daily trading volume(0 decimal place accuracy, the excess part is discarded), for example, a range of [2000, 70000]
AccumulateField_Turnover = 4; // Average daily turnover(3 decimal place accuracy, the excess part is discarded), for example, a range of [1400, 890000]
AccumulateField_TurnoverRate = 5; // Turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [2, 30] (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
AccumulateField
enum AccumulateField
{
AccumulateField_Unknown = 0; // unknown
AccumulateField_ChangeRate = 1; // Yield(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10.2, 20.4] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Amplitude = 2; // Amplitude(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20.6] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Volume = 3; // Average daily trading volume(0 decimal place accuracy, the excess part is discarded), for example, a range of [2000, 70000]
AccumulateField_Turnover = 4; // Average daily turnover(3 decimal place accuracy, the excess part is discarded), for example, a range of [1400, 890000]
AccumulateField_TurnoverRate = 5; // Turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [2, 30] (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
AccumulateField
enum AccumulateField
{
AccumulateField_Unknown = 0; // unknown
AccumulateField_ChangeRate = 1; // Yield(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10.2, 20.4] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Amplitude = 2; // Amplitude(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20.6] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Volume = 3; // Average daily trading volume(0 decimal place accuracy, the excess part is discarded), for example, a range of [2000, 70000]
AccumulateField_Turnover = 4; // Average daily turnover(3 decimal place accuracy, the excess part is discarded), for example, a range of [1400, 890000]
AccumulateField_TurnoverRate = 5; // Turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [2, 30] (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
AccumulateField
enum AccumulateField
{
AccumulateField_Unknown = 0; // unknown
AccumulateField_ChangeRate = 1; // Yield(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10.2, 20.4] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Amplitude = 2; // Amplitude(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20.6] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Volume = 3; // Average daily trading volume(0 decimal place accuracy, the excess part is discarded), for example, a range of [2000, 70000]
AccumulateField_Turnover = 4; // Average daily turnover(3 decimal place accuracy, the excess part is discarded), for example, a range of [1400, 890000]
AccumulateField_TurnoverRate = 5; // Turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [2, 30] (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
AccumulateField
enum AccumulateField
{
AccumulateField_Unknown = 0; // unknown
AccumulateField_ChangeRate = 1; // Yield(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10.2, 20.4] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Amplitude = 2; // Amplitude(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20.6] (This field is in percentage form, so 20 is equivalent to 20%.)
AccumulateField_Volume = 3; // Average daily trading volume(0 decimal place accuracy, the excess part is discarded), for example, a range of [2000, 70000]
AccumulateField_Turnover = 4; // Average daily turnover(3 decimal place accuracy, the excess part is discarded), for example, a range of [1400, 890000]
AccumulateField_TurnoverRate = 5; // Turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [2, 30] (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
# Asset Types
- Python
- Proto
- C#
- Java
- C++
- JavaScript
AssetClass
UNKNOWUnknown
STOCKStocks
BONDBonds
COMMODITYCommodities
CURRENCY_MARKETCurrency markets
FUTUREFutures
SWAPSwaps
AssetClass
enum AssetClass
{
AssetClass_Unknow = 0; //Unknown
AssetClass_Stock = 1; //Stock
AssetClass_Bond = 2; //Bond
AssetClass_Commodity = 3; //Commodity
AssetClass_CurrencyMarket = 4; //Currency Market
AssetClass_Future = 5; //Futures
AssetClass_Swap = 6; //Swap
}
2
3
4
5
6
7
8
9
10
AssetClass
enum AssetClass
{
AssetClass_Unknow = 0; //Unknown
AssetClass_Stock = 1; //Stock
AssetClass_Bond = 2; //Bond
AssetClass_Commodity = 3; //Commodity
AssetClass_CurrencyMarket = 4; //Currency Market
AssetClass_Future = 5; //Futures
AssetClass_Swap = 6; //Swap
}
2
3
4
5
6
7
8
9
10
AssetClass
enum AssetClass
{
AssetClass_Unknow = 0; //Unknown
AssetClass_Stock = 1; //Stock
AssetClass_Bond = 2; //Bond
AssetClass_Commodity = 3; //Commodity
AssetClass_CurrencyMarket = 4; //Currency Market
AssetClass_Future = 5; //Futures
AssetClass_Swap = 6; //Swap
}
2
3
4
5
6
7
8
9
10
AssetClass
enum AssetClass
{
AssetClass_Unknow = 0; //Unknown
AssetClass_Stock = 1; //Stock
AssetClass_Bond = 2; //Bond
AssetClass_Commodity = 3; //Commodity
AssetClass_CurrencyMarket = 4; //Currency Market
AssetClass_Future = 5; //Futures
AssetClass_Swap = 6; //Swap
}
2
3
4
5
6
7
8
9
10
AssetClass
enum AssetClass
{
AssetClass_Unknow = 0; //Unknown
AssetClass_Stock = 1; //Stock
AssetClass_Bond = 2; //Bond
AssetClass_Commodity = 3; //Commodity
AssetClass_CurrencyMarket = 4; //Currency Market
AssetClass_Future = 5; //Futures
AssetClass_Swap = 6; //Swap
}
2
3
4
5
6
7
8
9
10
# Corporate Action
- Python
- Proto
- C#
- Java
- C++
- JavaScript
CompanyAct
enum CompanyAct
{
CompanyAct_None = 0; //None
CompanyAct_Split = 1; //Share split
CompanyAct_Join = 2; //Reverse stock split
CompanyAct_Bonus = 4; //Bonus shares
CompanyAct_Transfer = 8; //Transfer shares
CompanyAct_Allot = 16; //Allotment
CompanyAct_Add = 32; //Secondary Offering
CompanyAct_Dividend = 64; //Cash dividend
CompanyAct_SPDividend = 128; //Special dividend
}
2
3
4
5
6
7
8
9
10
11
12
CompanyAct
enum CompanyAct
{
CompanyAct_None = 0; //None
CompanyAct_Split = 1; //Share split
CompanyAct_Join = 2; //Reverse stock split
CompanyAct_Bonus = 4; //Bonus shares
CompanyAct_Transfer = 8; //Transfer shares
CompanyAct_Allot = 16; //Allotment
CompanyAct_Add = 32; //Secondary Offering
CompanyAct_Dividend = 64; //Cash dividend
CompanyAct_SPDividend = 128; //Special dividend
}
2
3
4
5
6
7
8
9
10
11
12
CompanyAct
enum CompanyAct
{
CompanyAct_None = 0; //None
CompanyAct_Split = 1; //Share split
CompanyAct_Join = 2; //Reverse stock split
CompanyAct_Bonus = 4; //Bonus shares
CompanyAct_Transfer = 8; //Transfer shares
CompanyAct_Allot = 16; //Allotment
CompanyAct_Add = 32; //Secondary Offering
CompanyAct_Dividend = 64; //Cash dividend
CompanyAct_SPDividend = 128; //Special dividend
}
2
3
4
5
6
7
8
9
10
11
12
CompanyAct
enum CompanyAct
{
CompanyAct_None = 0; //None
CompanyAct_Split = 1; //Share split
CompanyAct_Join = 2; //Reverse stock split
CompanyAct_Bonus = 4; //Bonus shares
CompanyAct_Transfer = 8; //Transfer shares
CompanyAct_Allot = 16; //Allotment
CompanyAct_Add = 32; //Secondary Offering
CompanyAct_Dividend = 64; //Cash dividend
CompanyAct_SPDividend = 128; //Special dividend
}
2
3
4
5
6
7
8
9
10
11
12
CompanyAct
enum CompanyAct
{
CompanyAct_None = 0; //None
CompanyAct_Split = 1; //Share split
CompanyAct_Join = 2; //Reverse stock split
CompanyAct_Bonus = 4; //Bonus shares
CompanyAct_Transfer = 8; //Transfer shares
CompanyAct_Allot = 16; //Allotment
CompanyAct_Add = 32; //Secondary Offering
CompanyAct_Dividend = 64; //Cash dividend
CompanyAct_SPDividend = 128; //Special dividend
}
2
3
4
5
6
7
8
9
10
11
12
# Dark Disk Status
- Python
- Proto
- C#
- Java
- C++
- JavaScript
DarkStatus
NONENo grey market trading
TRADINGOngoing grey market trading
ENDGrey market trading finished
DarkStatus
enum DarkStatus
{
DarkStatus_None = 0; //No grey market trading
DarkStatus_Trading = 1; //Ongoing grey market trading
DarkStatus_End = 2; //Grey market trading finished
}
2
3
4
5
6
DarkStatus
enum DarkStatus
{
DarkStatus_None = 0; //No grey market trading
DarkStatus_Trading = 1; //Ongoing grey market trading
DarkStatus_End = 2; //Grey market trading finished
}
2
3
4
5
6
DarkStatus
enum DarkStatus
{
DarkStatus_None = 0; //No grey market trading
DarkStatus_Trading = 1; //Ongoing grey market trading
DarkStatus_End = 2; //Grey market trading finished
}
2
3
4
5
6
DarkStatus
enum DarkStatus
{
DarkStatus_None = 0; //No grey market trading
DarkStatus_Trading = 1; //Ongoing grey market trading
DarkStatus_End = 2; //Grey market trading finished
}
2
3
4
5
6
DarkStatus
enum DarkStatus
{
DarkStatus_None = 0; //No grey market trading
DarkStatus_Trading = 1; //Ongoing grey market trading
DarkStatus_End = 2; //Grey market trading finished
}
2
3
4
5
6
# Financial Filter Properties
- Python
- Proto
- C#
- Java
- C++
- JavaScript
StockField
NONEunknown
NET_PROFITNet profit
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [100000000, 2500000000]
NET_PROFIX_GROWTHNet profit growth rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-10, 300]
SUM_OF_BUSINESSOperating income
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [100000000, 6400000000]
SUM_OF_BUSINESS_GROWTHYear-on-year growth rate of operating income
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-5, 200]
NET_PROFIT_RATENet profit rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 113]
GROSS_PROFIT_RATEGross profit margin
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [4, 65]
DEBT_ASSET_RATEAsset-liability ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [5, 470]
RETURN_ON_EQUITY_RATEReturn on equity
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [20, 230]
ROICReturn on invested capital
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
ROA_TTMReturn on assets TTM
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
EBIT_TTMEarnings before interest and tax TTM
- unit: yuan.
- Only applicable to annual reports.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
EBITDAEarnings before interest, tax, depreciation and amortization
- unit: yuan.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
OPERATING_MARGIN_TTMOperating profit margin TTM
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
EBIT_MARGINEBIT margin
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
EBITDA_MARGINEBITDA margin
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
FINANCIAL_COST_RATEFinancial cost rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
OPERATING_PROFIT_TTMOperating profit TTM
- unit: yuan.
- Only applicable to annual reports.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
SHAREHOLDER_NET_PROFIT_TTMNet profit attributable to the parent company
- unit: yuan.
- Only applicable to annual reports.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
NET_PROFIT_CASH_COVER_TTMThe proportion of cash income in profit
- This field is in percentage form, so 20 is equivalent to 20%.
- Only applicable to annual reports.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1.0, 60.0]
CURRENT_RATIOCurrent ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [100, 250]
QUICK_RATIOQuick ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [100, 250]
CURRENT_ASSET_RATIOLiquidity rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 100]
CURRENT_DEBT_RATIOCurrent debt ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 100]
EQUITY_MULTIPLIEREquity multiplier
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [100, 180]
PROPERTY_RATIOEquity ratio
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [50, 100]
CASH_AND_CASH_EQUIVALENTSCash and cash equivalent
- unit: yuan.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
TOTAL_ASSET_TURNOVERTotal asset turnover rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [50, 100]
FIXED_ASSET_TURNOVERFixed asset turnover rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [50, 100]
INVENTORY_TURNOVERInventory turnover rate
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [50, 100]
OPERATING_CASH_FLOW_TTMOperating cash flow TTM
- unit: yuan.
- Only applicable to annual reports.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
ACCOUNTS_RECEIVABLENet accounts receivable
- unit: yuan.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
EBIT_GROWTH_RATEYear-on-year growth rate of EBIT
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
OPERATING_PROFIT_GROWTH_RATEYear-on-year growth rate of operating profit
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
TOTAL_ASSETS_GROWTH_RATEYear-on-year growth rate of total assets
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
PROFIT_TO_SHAREHOLDERS_GROWTH_RATEYear-on-year growth rate of net profit attributed to parent company owner
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
PROFIT_BEFORE_TAX_GROWTH_RATEYear-on-year growth rate of total profit
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
EPS_GROWTH_RATEYear-on-year growth rate of EPS
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
ROE_GROWTH_RATEYear-on-year growth rate of ROE
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
ROIC_GROWTH_RATEYear-on-year growth rate of ROIC
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
NOCF_GROWTH_RATEYear-on-year growth rate of operating cash flow
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
NOCF_PER_SHARE_GROWTH_RATEYear-on-year growth rate of operating cash flow per share
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [1.0, 10.0]
OPERATING_REVENUE_CASH_COVEROperating cash cover ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 100]
OPERATING_PROFIT_TO_TOTAL_PROFITOperating profit ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 100]
BASIC_EPSBasic earnings per share
- 3 decimal place accuracy, the excess part is discarded.
- unit: yuan.
- For example, a range of [0.1, 10]
DILUTED_EPSDiluted earnings per share
- 3 decimal place accuracy, the excess part is discarded.
- unit: yuan.
- For example, a range of [0.1, 10]
NOCF_PER_SHARENet operating cash flow per share
- 3 decimal place accuracy, the excess part is discarded.
- unit: yuan.
- For example, a range of [0.1, 10]
FinancialField
enum FinancialField
{
// Basic financial attributes
FinancialField_Unknown = 0; // unknown
FinancialField_NetProfit = 1; // Net profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 2500000000]
FinancialField_NetProfitGrowth = 2; // Net profit growth rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 300] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_SumOfBusiness = 3; // Operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 6400000000]
FinancialField_SumOfBusinessGrowth = 4; // The year-on-year growth rate of operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 200] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NetProfitRate = 5; // Net profit rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 113] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_GrossProfitRate = 6; // Gross profit margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [4, 65] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_DebtAssetsRate = 7; // Asset-liability ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [5, 470] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ReturnOnEquityRate = 8; // Return on equity(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 230] (This field is in percentage form, so 20 is equivalent to 20%.)
// Profitability attributes
FinancialField_ROIC = 9; // Return on invested capital(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROATTM = 10; // Return on assets TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)actually corresponds to 20%. Only applicable to annual reports.)
FinancialField_EBITTTM = 11; // Earnings before interest and tax TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_EBITDA = 12; // Earnings before interest, tax, depreciation and amortization(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
FinancialField_OperatingMarginTTM = 13; // Operating profit margin TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITMargin = 14; // EBIT margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITDAMargin = 15; // EBITDA margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FinancialCostRate = 16; // Financial cost rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitTTM = 17; // Operating profit TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_ShareholderNetProfitTTM = 18; // Net profit attributable to the parent company(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_NetProfitCashCoverTTM = 19; // The proportion of cash income in profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 60.0] (This field is in percentage form, so 20 is equivalent to 20%.. Only applicable to annual reports.)
// solvency attribute
FinancialField_CurrentRatio = 20; // Current ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_QuickRatio = 21; // Quick ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
// Debt clearing ability attribute
FinancialField_CurrentAssetRatio = 22; // Liquidity rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CurrentDebtRatio = 23; // Current debt ratio(3 decimal place accuracy, the excess part is discarded), for example, fill in the [10, 100] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EquityMultiplier = 24; // Equity multiplier(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 180]
FinancialField_PropertyRatio = 25; // Equity ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CashAndCashEquivalents = 26; // Cash and cash equivalent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
// Operational capability attributes
FinancialField_TotalAssetTurnover = 27; //Total asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FixedAssetTurnover = 28; // Fixed asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_InventoryTurnover = 29; // Inventory turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingCashFlowTTM = 30; // Operating cash flow TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_AccountsReceivable = 31; // Net accounts receivable(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] For example, a range of [1000000000,1000000000] (unit: yuan)
// Growth ability attributes
FinancialField_EBITGrowthRate = 32; // Year-on-year growth rate of EBIT(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitGrowthRate = 33; // Year-on-year growth rate of operating profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_TotalAssetsGrowthRate = 34; // Year-on-year growth rate of total assets(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitToShareholdersGrowthRate = 35; // Year-on-year growth rate of net profit attributable to the parent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0,10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitBeforeTaxGrowthRate = 36; // Year-on-year growth rate of total profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EPSGrowthRate = 37; // Year-on-year growth rate of EPS(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROEGrowthRate = 38; // Year-on-year growth rate of ROE(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROICGrowthRate = 39; // Year-on-year growth rate of ROIC(3 decimal place accuracy, the excess part is discarded), for example, fill in the [1.0, 10.0] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFGrowthRate = 40; // Year-on-year growth rate of operating cash flow(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFPerShareGrowthRate = 41; // Year-on-year growth rate of operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
// Cash flow attributes
FinancialField_OperatingRevenueCashCover = 42; // Operating cash cover ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitToTotalProfit = 43; // Operating profit ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
// Market performance attributes
FinancialField_BasicEPS = 44; // Basic earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_DilutedEPS = 45; // Diluted earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_NOCFPerShare = 46; // Net operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FinancialField
enum FinancialField
{
// Basic financial attributes
FinancialField_Unknown = 0; // unknown
FinancialField_NetProfit = 1; // Net profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 2500000000]
FinancialField_NetProfitGrowth = 2; // Net profit growth rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 300] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_SumOfBusiness = 3; // Operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 6400000000]
FinancialField_SumOfBusinessGrowth = 4; // The year-on-year growth rate of operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 200] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NetProfitRate = 5; // Net profit rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 113] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_GrossProfitRate = 6; // Gross profit margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [4, 65] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_DebtAssetsRate = 7; // Asset-liability ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [5, 470] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ReturnOnEquityRate = 8; // Return on equity(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 230] (This field is in percentage form, so 20 is equivalent to 20%.)
// Profitability attributes
FinancialField_ROIC = 9; // Return on invested capital(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROATTM = 10; // Return on assets TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)actually corresponds to 20%. Only applicable to annual reports.)
FinancialField_EBITTTM = 11; // Earnings before interest and tax TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_EBITDA = 12; // Earnings before interest, tax, depreciation and amortization(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
FinancialField_OperatingMarginTTM = 13; // Operating profit margin TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITMargin = 14; // EBIT margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITDAMargin = 15; // EBITDA margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FinancialCostRate = 16; // Financial cost rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitTTM = 17; // Operating profit TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_ShareholderNetProfitTTM = 18; // Net profit attributable to the parent company(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_NetProfitCashCoverTTM = 19; // The proportion of cash income in profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 60.0] (This field is in percentage form, so 20 is equivalent to 20%.. Only applicable to annual reports.)
// solvency attribute
FinancialField_CurrentRatio = 20; // Current ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_QuickRatio = 21; // Quick ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
// Debt clearing ability attribute
FinancialField_CurrentAssetRatio = 22; // Liquidity rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CurrentDebtRatio = 23; // Current debt ratio(3 decimal place accuracy, the excess part is discarded), for example, fill in the [10, 100] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EquityMultiplier = 24; // Equity multiplier(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 180]
FinancialField_PropertyRatio = 25; // Equity ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CashAndCashEquivalents = 26; // Cash and cash equivalent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
// Operational capability attributes
FinancialField_TotalAssetTurnover = 27; //Total asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FixedAssetTurnover = 28; // Fixed asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_InventoryTurnover = 29; // Inventory turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingCashFlowTTM = 30; // Operating cash flow TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_AccountsReceivable = 31; // Net accounts receivable(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] For example, a range of [1000000000,1000000000] (unit: yuan)
// Growth ability attributes
FinancialField_EBITGrowthRate = 32; // Year-on-year growth rate of EBIT(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitGrowthRate = 33; // Year-on-year growth rate of operating profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_TotalAssetsGrowthRate = 34; // Year-on-year growth rate of total assets(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitToShareholdersGrowthRate = 35; // Year-on-year growth rate of net profit attributable to the parent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0,10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitBeforeTaxGrowthRate = 36; // Year-on-year growth rate of total profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EPSGrowthRate = 37; // Year-on-year growth rate of EPS(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROEGrowthRate = 38; // Year-on-year growth rate of ROE(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROICGrowthRate = 39; // Year-on-year growth rate of ROIC(3 decimal place accuracy, the excess part is discarded), for example, fill in the [1.0, 10.0] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFGrowthRate = 40; // Year-on-year growth rate of operating cash flow(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFPerShareGrowthRate = 41; // Year-on-year growth rate of operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
// Cash flow attributes
FinancialField_OperatingRevenueCashCover = 42; // Operating cash cover ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitToTotalProfit = 43; // Operating profit ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
// Market performance attributes
FinancialField_BasicEPS = 44; // Basic earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_DilutedEPS = 45; // Diluted earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_NOCFPerShare = 46; // Net operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FinancialField
enum FinancialField
{
// Basic financial attributes
FinancialField_Unknown = 0; // unknown
FinancialField_NetProfit = 1; // Net profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 2500000000]
FinancialField_NetProfitGrowth = 2; // Net profit growth rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 300] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_SumOfBusiness = 3; // Operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 6400000000]
FinancialField_SumOfBusinessGrowth = 4; // The year-on-year growth rate of operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 200] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NetProfitRate = 5; // Net profit rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 113] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_GrossProfitRate = 6; // Gross profit margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [4, 65] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_DebtAssetsRate = 7; // Asset-liability ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [5, 470] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ReturnOnEquityRate = 8; // Return on equity(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 230] (This field is in percentage form, so 20 is equivalent to 20%.)
// Profitability attributes
FinancialField_ROIC = 9; // Return on invested capital(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROATTM = 10; // Return on assets TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)actually corresponds to 20%. Only applicable to annual reports.)
FinancialField_EBITTTM = 11; // Earnings before interest and tax TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_EBITDA = 12; // Earnings before interest, tax, depreciation and amortization(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
FinancialField_OperatingMarginTTM = 13; // Operating profit margin TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITMargin = 14; // EBIT margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITDAMargin = 15; // EBITDA margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FinancialCostRate = 16; // Financial cost rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitTTM = 17; // Operating profit TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_ShareholderNetProfitTTM = 18; // Net profit attributable to the parent company(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_NetProfitCashCoverTTM = 19; // The proportion of cash income in profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 60.0] (This field is in percentage form, so 20 is equivalent to 20%.. Only applicable to annual reports.)
// solvency attribute
FinancialField_CurrentRatio = 20; // Current ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_QuickRatio = 21; // Quick ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
// Debt clearing ability attribute
FinancialField_CurrentAssetRatio = 22; // Liquidity rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CurrentDebtRatio = 23; // Current debt ratio(3 decimal place accuracy, the excess part is discarded), for example, fill in the [10, 100] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EquityMultiplier = 24; // Equity multiplier(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 180]
FinancialField_PropertyRatio = 25; // Equity ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CashAndCashEquivalents = 26; // Cash and cash equivalent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
// Operational capability attributes
FinancialField_TotalAssetTurnover = 27; //Total asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FixedAssetTurnover = 28; // Fixed asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_InventoryTurnover = 29; // Inventory turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingCashFlowTTM = 30; // Operating cash flow TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_AccountsReceivable = 31; // Net accounts receivable(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] For example, a range of [1000000000,1000000000] (unit: yuan)
// Growth ability attributes
FinancialField_EBITGrowthRate = 32; // Year-on-year growth rate of EBIT(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitGrowthRate = 33; // Year-on-year growth rate of operating profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_TotalAssetsGrowthRate = 34; // Year-on-year growth rate of total assets(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitToShareholdersGrowthRate = 35; // Year-on-year growth rate of net profit attributable to the parent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0,10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitBeforeTaxGrowthRate = 36; // Year-on-year growth rate of total profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EPSGrowthRate = 37; // Year-on-year growth rate of EPS(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROEGrowthRate = 38; // Year-on-year growth rate of ROE(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROICGrowthRate = 39; // Year-on-year growth rate of ROIC(3 decimal place accuracy, the excess part is discarded), for example, fill in the [1.0, 10.0] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFGrowthRate = 40; // Year-on-year growth rate of operating cash flow(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFPerShareGrowthRate = 41; // Year-on-year growth rate of operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
// Cash flow attributes
FinancialField_OperatingRevenueCashCover = 42; // Operating cash cover ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitToTotalProfit = 43; // Operating profit ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
// Market performance attributes
FinancialField_BasicEPS = 44; // Basic earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_DilutedEPS = 45; // Diluted earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_NOCFPerShare = 46; // Net operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FinancialField
enum FinancialField
{
// Basic financial attributes
FinancialField_Unknown = 0; // unknown
FinancialField_NetProfit = 1; // Net profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 2500000000]
FinancialField_NetProfitGrowth = 2; // Net profit growth rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 300] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_SumOfBusiness = 3; // Operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 6400000000]
FinancialField_SumOfBusinessGrowth = 4; // The year-on-year growth rate of operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 200] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NetProfitRate = 5; // Net profit rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 113] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_GrossProfitRate = 6; // Gross profit margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [4, 65] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_DebtAssetsRate = 7; // Asset-liability ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [5, 470] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ReturnOnEquityRate = 8; // Return on equity(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 230] (This field is in percentage form, so 20 is equivalent to 20%.)
// Profitability attributes
FinancialField_ROIC = 9; // Return on invested capital(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROATTM = 10; // Return on assets TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)actually corresponds to 20%. Only applicable to annual reports.)
FinancialField_EBITTTM = 11; // Earnings before interest and tax TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_EBITDA = 12; // Earnings before interest, tax, depreciation and amortization(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
FinancialField_OperatingMarginTTM = 13; // Operating profit margin TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITMargin = 14; // EBIT margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITDAMargin = 15; // EBITDA margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FinancialCostRate = 16; // Financial cost rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitTTM = 17; // Operating profit TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_ShareholderNetProfitTTM = 18; // Net profit attributable to the parent company(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_NetProfitCashCoverTTM = 19; // The proportion of cash income in profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 60.0] (This field is in percentage form, so 20 is equivalent to 20%.. Only applicable to annual reports.)
// solvency attribute
FinancialField_CurrentRatio = 20; // Current ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_QuickRatio = 21; // Quick ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
// Debt clearing ability attribute
FinancialField_CurrentAssetRatio = 22; // Liquidity rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CurrentDebtRatio = 23; // Current debt ratio(3 decimal place accuracy, the excess part is discarded), for example, fill in the [10, 100] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EquityMultiplier = 24; // Equity multiplier(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 180]
FinancialField_PropertyRatio = 25; // Equity ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CashAndCashEquivalents = 26; // Cash and cash equivalent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
// Operational capability attributes
FinancialField_TotalAssetTurnover = 27; //Total asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FixedAssetTurnover = 28; // Fixed asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_InventoryTurnover = 29; // Inventory turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingCashFlowTTM = 30; // Operating cash flow TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_AccountsReceivable = 31; // Net accounts receivable(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] For example, a range of [1000000000,1000000000] (unit: yuan)
// Growth ability attributes
FinancialField_EBITGrowthRate = 32; // Year-on-year growth rate of EBIT(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitGrowthRate = 33; // Year-on-year growth rate of operating profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_TotalAssetsGrowthRate = 34; // Year-on-year growth rate of total assets(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitToShareholdersGrowthRate = 35; // Year-on-year growth rate of net profit attributable to the parent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0,10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitBeforeTaxGrowthRate = 36; // Year-on-year growth rate of total profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EPSGrowthRate = 37; // Year-on-year growth rate of EPS(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROEGrowthRate = 38; // Year-on-year growth rate of ROE(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROICGrowthRate = 39; // Year-on-year growth rate of ROIC(3 decimal place accuracy, the excess part is discarded), for example, fill in the [1.0, 10.0] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFGrowthRate = 40; // Year-on-year growth rate of operating cash flow(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFPerShareGrowthRate = 41; // Year-on-year growth rate of operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
// Cash flow attributes
FinancialField_OperatingRevenueCashCover = 42; // Operating cash cover ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitToTotalProfit = 43; // Operating profit ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
// Market performance attributes
FinancialField_BasicEPS = 44; // Basic earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_DilutedEPS = 45; // Diluted earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_NOCFPerShare = 46; // Net operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FinancialField
enum FinancialField
{
// Basic financial attributes
FinancialField_Unknown = 0; // unknown
FinancialField_NetProfit = 1; // Net profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 2500000000]
FinancialField_NetProfitGrowth = 2; // Net profit growth rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 300] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_SumOfBusiness = 3; // Operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [100000000, 6400000000]
FinancialField_SumOfBusinessGrowth = 4; // The year-on-year growth rate of operating income(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 200] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NetProfitRate = 5; // Net profit rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 113] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_GrossProfitRate = 6; // Gross profit margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [4, 65] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_DebtAssetsRate = 7; // Asset-liability ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [5, 470] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ReturnOnEquityRate = 8; // Return on equity(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 230] (This field is in percentage form, so 20 is equivalent to 20%.)
// Profitability attributes
FinancialField_ROIC = 9; // Return on invested capital(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROATTM = 10; // Return on assets TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)actually corresponds to 20%. Only applicable to annual reports.)
FinancialField_EBITTTM = 11; // Earnings before interest and tax TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_EBITDA = 12; // Earnings before interest, tax, depreciation and amortization(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
FinancialField_OperatingMarginTTM = 13; // Operating profit margin TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITMargin = 14; // EBIT margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EBITDAMargin = 15; // EBITDA margin(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FinancialCostRate = 16; // Financial cost rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitTTM = 17; // Operating profit TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_ShareholderNetProfitTTM = 18; // Net profit attributable to the parent company(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (Unit: Yuan. Only applicable to annual reports.)
FinancialField_NetProfitCashCoverTTM = 19; // The proportion of cash income in profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 60.0] (This field is in percentage form, so 20 is equivalent to 20%.. Only applicable to annual reports.)
// solvency attribute
FinancialField_CurrentRatio = 20; // Current ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_QuickRatio = 21; // Quick ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 250] (This field is in percentage form, so 20 is equivalent to 20%.)
// Debt clearing ability attribute
FinancialField_CurrentAssetRatio = 22; // Liquidity rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CurrentDebtRatio = 23; // Current debt ratio(3 decimal place accuracy, the excess part is discarded), for example, fill in the [10, 100] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EquityMultiplier = 24; // Equity multiplier(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 180]
FinancialField_PropertyRatio = 25; // Equity ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_CashAndCashEquivalents = 26; // Cash and cash equivalent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
// Operational capability attributes
FinancialField_TotalAssetTurnover = 27; //Total asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_FixedAssetTurnover = 28; // Fixed asset turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_InventoryTurnover = 29; // Inventory turnover rate(3 decimal place accuracy, the excess part is discarded), for example, a range of [50, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingCashFlowTTM = 30; // Operating cash flow TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan. Only applicable to annual reports.)
FinancialField_AccountsReceivable = 31; // Net accounts receivable(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] For example, a range of [1000000000,1000000000] (unit: yuan)
// Growth ability attributes
FinancialField_EBITGrowthRate = 32; // Year-on-year growth rate of EBIT(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitGrowthRate = 33; // Year-on-year growth rate of operating profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_TotalAssetsGrowthRate = 34; // Year-on-year growth rate of total assets(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitToShareholdersGrowthRate = 35; // Year-on-year growth rate of net profit attributable to the parent(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0,10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ProfitBeforeTaxGrowthRate = 36; // Year-on-year growth rate of total profit(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_EPSGrowthRate = 37; // Year-on-year growth rate of EPS(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROEGrowthRate = 38; // Year-on-year growth rate of ROE(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_ROICGrowthRate = 39; // Year-on-year growth rate of ROIC(3 decimal place accuracy, the excess part is discarded), for example, fill in the [1.0, 10.0] value range (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFGrowthRate = 40; // Year-on-year growth rate of operating cash flow(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_NOCFPerShareGrowthRate = 41; // Year-on-year growth rate of operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [1.0, 10.0] (This field is in percentage form, so 20 is equivalent to 20%.)
// Cash flow attributes
FinancialField_OperatingRevenueCashCover = 42; // Operating cash cover ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
FinancialField_OperatingProfitToTotalProfit = 43; // Operating profit ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 100] (This field is in percentage form, so 20 is equivalent to 20%.)
// Market performance attributes
FinancialField_BasicEPS = 44; // Basic earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_DilutedEPS = 45; // Diluted earnings per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
FinancialField_NOCFPerShare = 46; // Net operating cash flow per share(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.1, 10] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Financial Filter Properties Period
- Python
- Proto
- C#
- Java
- C++
- JavaScript
FinancialQuarter
NONEunknown
ANNUALannual report
FIRST_QUARTERFirst quarter report
INTERIMInterim report
THIRD_QUARTERThird quarter report
MOST_RECENT_QUARTERLatest quarter report
FinancialQuarter
enum FinancialQuarter
{
FinancialQuarter_Unknown = 0; // unknown
FinancialQuarter_Annual = 1; // Annual report
FinancialQuarter_FirstQuarter = 2; // First quarter report
FinancialQuarter_Interim = 3; // Interim report
FinancialQuarter_ThirdQuarter = 4; // Third quarter report
FinancialQuarter_MostRecentQuarter = 5; // Last quarter report
}
2
3
4
5
6
7
8
9
FinancialQuarter
enum FinancialQuarter
{
FinancialQuarter_Unknown = 0; // unknown
FinancialQuarter_Annual = 1; // Annual report
FinancialQuarter_FirstQuarter = 2; // First quarter report
FinancialQuarter_Interim = 3; // Interim report
FinancialQuarter_ThirdQuarter = 4; // Third quarter report
FinancialQuarter_MostRecentQuarter = 5; // Last quarter report
}
2
3
4
5
6
7
8
9
FinancialQuarter
enum FinancialQuarter
{
FinancialQuarter_Unknown = 0; // unknown
FinancialQuarter_Annual = 1; // Annual report
FinancialQuarter_FirstQuarter = 2; // First quarter report
FinancialQuarter_Interim = 3; // Interim report
FinancialQuarter_ThirdQuarter = 4; // Third quarter report
FinancialQuarter_MostRecentQuarter = 5; // Last quarter report
}
2
3
4
5
6
7
8
9
FinancialQuarter
enum FinancialQuarter
{
FinancialQuarter_Unknown = 0; // unknown
FinancialQuarter_Annual = 1; // Annual report
FinancialQuarter_FirstQuarter = 2; // First quarter report
FinancialQuarter_Interim = 3; // Interim report
FinancialQuarter_ThirdQuarter = 4; // Third quarter report
FinancialQuarter_MostRecentQuarter = 5; // Last quarter report
}
2
3
4
5
6
7
8
9
FinancialQuarter
enum FinancialQuarter
{
FinancialQuarter_Unknown = 0; // unknown
FinancialQuarter_Annual = 1; // Annual report
FinancialQuarter_FirstQuarter = 2; // First quarter report
FinancialQuarter_Interim = 3; // Interim report
FinancialQuarter_ThirdQuarter = 4; // Third quarter report
FinancialQuarter_MostRecentQuarter = 5; // Last quarter report
}
2
3
4
5
6
7
8
9
# Custom indicator attributes
- Python
- Proto
- C#
- Java
- C++
- JavaScript
StockField
NONEUnknown
PRICElatest price
MA5Simple moving average
MA55-day simple moving average (Not recommended)
MA1010-day simple moving average (Not recommended)
MA2020-day simple moving average (Not recommended)
MA3030-day simple moving average (Not recommended)
MA6060-day simple moving average (Not recommended)
MA120120-day simple moving average (Not recommended)
MA250250-day simple moving average (Not recommended)
RSIRSI
The default value of the indicator parameter is [12].EMAExponential moving average
EMA55-day exponential moving average (Not recommended)
EMA1010-day exponential moving average (Not recommended)
EMA2020-day exponential moving average (Not recommended)
EMA3030-day exponential moving average (Not recommended)
EMA6060-day exponential moving average (Not recommended)
EMA120120-day exponential moving average (Not recommended)
EMA250250-day exponential moving average (Not recommended)
KDJ_KK value of KDJ indicator
Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].KDJ_DD value of KDJ indicator
Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].KDJ_JJ value of KDJ indicator
Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].MACD_DIFFDIFF value of MACD indicator
Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].MACD_DEADEA value of MACD indicator
Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].MACDMACD value of MACD indicator
Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].BOLL_UPPERUPPER value of BOLL indicator
Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].BOLL_MIDDLERMIDDLER value of BOLL indicator
Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].BOLL_LOWERLOWER value of BOLL indicator
Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].VALUECustom value (stock_field1 does not support this field)
CustomIndicatorField
enum CustomIndicatorField
{
CustomIndicatorField_Unknown = 0; // Unknown
CustomIndicatorField_Price = 1; // latest price
CustomIndicatorField_MA5 = 2; // 5-day simple moving average (Not recommended)
CustomIndicatorField_MA10 = 3; // 10-day simple moving average (Not recommended)
CustomIndicatorField_MA20 = 4; // 20-day simple moving average (Not recommended)
CustomIndicatorField_MA30 = 5; // 30-day simple moving average (Not recommended)
CustomIndicatorField_MA60 = 6; // 60-day simple moving average (Not recommended)
CustomIndicatorField_MA120 = 7; // 120-day simple moving average (Not recommended)
CustomIndicatorField_MA250 = 8; // 250-day simple moving average (Not recommended)
CustomIndicatorField_RSI = 9; // RSI. The default value of the indicator parameter is [12].
CustomIndicatorField_EMA5 = 10; // 5-day exponential moving average (Not recommended)
CustomIndicatorField_EMA10 = 11; // 10-day exponential moving average (Not recommended)
CustomIndicatorField_EMA20 = 12; // 20-day exponential moving average (Not recommended)
CustomIndicatorField_EMA30 = 13; // 30-day exponential moving average (Not recommended)
CustomIndicatorField_EMA60 = 14; // 60-day exponential moving average (Not recommended)
CustomIndicatorField_EMA120 = 15; // 120-day exponential moving average (Not recommended)
CustomIndicatorField_EMA250 = 16; // 250-day exponential moving average (Not recommended)
CustomIndicatorField_Value = 17; // Custom value (stock_field1 does not support this field)
CustomIndicatorField_MA = 30; // Simple moving average
CustomIndicatorField_EMA = 40; // Exponential moving average
CustomIndicatorField_KDJ_K = 50; // K value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_D = 51; // D value of KDJ indicator.Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_J = 52; // J value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_MACD_DIFF = 60; // DIFF value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD_DEA = 61; // DEA value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD = 62; // MACD value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_BOLL_UPPER = 70; // UPPER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_MIDDLER = 71; // MIDDLER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_LOWER = 72; // LOWER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
CustomIndicatorField
enum CustomIndicatorField
CustomIndicatorField
2
CustomIndicatorField
enum CustomIndicatorField
{
CustomIndicatorField_Unknown = 0; // Unknown
CustomIndicatorField_Price = 1; // latest price
CustomIndicatorField_MA5 = 2; // 5-day simple moving average (Not recommended)
CustomIndicatorField_MA10 = 3; // 10-day simple moving average (Not recommended)
CustomIndicatorField_MA20 = 4; // 20-day simple moving average (Not recommended)
CustomIndicatorField_MA30 = 5; // 30-day simple moving average (Not recommended)
CustomIndicatorField_MA60 = 6; // 60-day simple moving average (Not recommended)
CustomIndicatorField_MA120 = 7; // 120-day simple moving average (Not recommended)
CustomIndicatorField_MA250 = 8; // 250-day simple moving average (Not recommended)
CustomIndicatorField_RSI = 9; // RSI. The default value of the indicator parameter is [12].
CustomIndicatorField_EMA5 = 10; // 5-day exponential moving average (Not recommended)
CustomIndicatorField_EMA10 = 11; // 10-day exponential moving average (Not recommended)
CustomIndicatorField_EMA20 = 12; // 20-day exponential moving average (Not recommended)
CustomIndicatorField_EMA30 = 13; // 30-day exponential moving average (Not recommended)
CustomIndicatorField_EMA60 = 14; // 60-day exponential moving average (Not recommended)
CustomIndicatorField_EMA120 = 15; // 120-day exponential moving average (Not recommended)
CustomIndicatorField_EMA250 = 16; // 250-day exponential moving average (Not recommended)
CustomIndicatorField_Value = 17; // Custom value (stock_field1 does not support this field)
CustomIndicatorField_MA = 30; // Simple moving average
CustomIndicatorField_EMA = 40; // Exponential moving average
CustomIndicatorField_KDJ_K = 50; // K value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_D = 51; // D value of KDJ indicator.Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_J = 52; // J value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_MACD_DIFF = 60; // DIFF value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD_DEA = 61; // DEA value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD = 62; // MACD value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_BOLL_UPPER = 70; // UPPER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_MIDDLER = 71; // MIDDLER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_LOWER = 72; // LOWER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
CustomIndicatorField
enum CustomIndicatorField
{
CustomIndicatorField_Unknown = 0; // Unknown
CustomIndicatorField_Price = 1; // latest price
CustomIndicatorField_MA5 = 2; // 5-day simple moving average (Not recommended)
CustomIndicatorField_MA10 = 3; // 10-day simple moving average (Not recommended)
CustomIndicatorField_MA20 = 4; // 20-day simple moving average (Not recommended)
CustomIndicatorField_MA30 = 5; // 30-day simple moving average (Not recommended)
CustomIndicatorField_MA60 = 6; // 60-day simple moving average (Not recommended)
CustomIndicatorField_MA120 = 7; // 120-day simple moving average (Not recommended)
CustomIndicatorField_MA250 = 8; // 250-day simple moving average (Not recommended)
CustomIndicatorField_RSI = 9; // RSI. The default value of the indicator parameter is [12].
CustomIndicatorField_EMA5 = 10; // 5-day exponential moving average (Not recommended)
CustomIndicatorField_EMA10 = 11; // 10-day exponential moving average (Not recommended)
CustomIndicatorField_EMA20 = 12; // 20-day exponential moving average (Not recommended)
CustomIndicatorField_EMA30 = 13; // 30-day exponential moving average (Not recommended)
CustomIndicatorField_EMA60 = 14; // 60-day exponential moving average (Not recommended)
CustomIndicatorField_EMA120 = 15; // 120-day exponential moving average (Not recommended)
CustomIndicatorField_EMA250 = 16; // 250-day exponential moving average (Not recommended)
CustomIndicatorField_Value = 17; // Custom value (stock_field1 does not support this field)
CustomIndicatorField_MA = 30; // Simple moving average
CustomIndicatorField_EMA = 40; // Exponential moving average
CustomIndicatorField_KDJ_K = 50; // K value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_D = 51; // D value of KDJ indicator.Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_J = 52; // J value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_MACD_DIFF = 60; // DIFF value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD_DEA = 61; // DEA value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD = 62; // MACD value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_BOLL_UPPER = 70; // UPPER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_MIDDLER = 71; // MIDDLER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_LOWER = 72; // LOWER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
CustomIndicatorField
enum CustomIndicatorField
{
CustomIndicatorField_Unknown = 0; // Unknown
CustomIndicatorField_Price = 1; // latest price
CustomIndicatorField_MA5 = 2; // 5-day simple moving average (Not recommended)
CustomIndicatorField_MA10 = 3; // 10-day simple moving average (Not recommended)
CustomIndicatorField_MA20 = 4; // 20-day simple moving average (Not recommended)
CustomIndicatorField_MA30 = 5; // 30-day simple moving average (Not recommended)
CustomIndicatorField_MA60 = 6; // 60-day simple moving average (Not recommended)
CustomIndicatorField_MA120 = 7; // 120-day simple moving average (Not recommended)
CustomIndicatorField_MA250 = 8; // 250-day simple moving average (Not recommended)
CustomIndicatorField_RSI = 9; // RSI. The default value of the indicator parameter is [12].
CustomIndicatorField_EMA5 = 10; // 5-day exponential moving average (Not recommended)
CustomIndicatorField_EMA10 = 11; // 10-day exponential moving average (Not recommended)
CustomIndicatorField_EMA20 = 12; // 20-day exponential moving average (Not recommended)
CustomIndicatorField_EMA30 = 13; // 30-day exponential moving average (Not recommended)
CustomIndicatorField_EMA60 = 14; // 60-day exponential moving average (Not recommended)
CustomIndicatorField_EMA120 = 15; // 120-day exponential moving average (Not recommended)
CustomIndicatorField_EMA250 = 16; // 250-day exponential moving average (Not recommended)
CustomIndicatorField_Value = 17; // Custom value (stock_field1 does not support this field)
CustomIndicatorField_MA = 30; // Simple moving average
CustomIndicatorField_EMA = 40; // Exponential moving average
CustomIndicatorField_KDJ_K = 50; // K value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_D = 51; // D value of KDJ indicator.Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_KDJ_J = 52; // J value of KDJ indicator. Indicator parameters need to be passed according to KDJ. If not passed, the default value is [9,3,3].
CustomIndicatorField_MACD_DIFF = 60; // DIFF value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD_DEA = 61; // DEA value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_MACD = 62; // MACD value of MACD indicator. Indicator parameters need to be passed according to MACD. If not passed, the default value is [12,26,9].
CustomIndicatorField_BOLL_UPPER = 70; // UPPER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_MIDDLER = 71; // MIDDLER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
CustomIndicatorField_BOLL_LOWER = 72; // LOWER value of BOLL indicator. Indicator parameters need to be passed according to BOLL. If not passed, the default value is [20,2].
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Relative position
- Python
- Proto
- C#
- Java
- C++
- JavaScript
RelativePosition
NONEUnknown
MOREStock_field1 is greater than stock_field2
LESSStock_field1 is less than stock_field2
CROSS_UPStock_field1 cross over stock_field2
CROSS_DOWNStock_field1 cross below stock_field2
RelativePosition
enum RelativePosition
{
RelativePosition_Unknown = 0; // Unknown
RelativePosition_More = 1; // Stock_field1 is greater than stock_field2
RelativePosition_Less = 2; // Stock_field1 is less than stock_field2
RelativePosition_CrossUp = 3; // Stock_field1 cross over stock_field2
RelativePosition_CrossDown = 4; // Stock_field1 cross below stock_field2
}
2
3
4
5
6
7
8
RelativePosition
enum RelativePosition
{
RelativePosition_Unknown = 0; // Unknown
RelativePosition_More = 1; // Stock_field1 is greater than stock_field2
RelativePosition_Less = 2; // Stock_field1 is less than stock_field2
RelativePosition_CrossUp = 3; // Stock_field1 cross over stock_field2
RelativePosition_CrossDown = 4; // Stock_field1 cross below stock_field2
}
2
3
4
5
6
7
8
RelativePosition
enum RelativePosition
{
RelativePosition_Unknown = 0; // Unknown
RelativePosition_More = 1; // Stock_field1 is greater than stock_field2
RelativePosition_Less = 2; // Stock_field1 is less than stock_field2
RelativePosition_CrossUp = 3; // Stock_field1 cross over stock_field2
RelativePosition_CrossDown = 4; // Stock_field1 cross below stock_field2
}
2
3
4
5
6
7
8
RelativePosition
enum RelativePosition
{
RelativePosition_Unknown = 0; // Unknown
RelativePosition_More = 1; // Stock_field1 is greater than stock_field2
RelativePosition_Less = 2; // Stock_field1 is less than stock_field2
RelativePosition_CrossUp = 3; // Stock_field1 cross over stock_field2
RelativePosition_CrossDown = 4; // Stock_field1 cross below stock_field2
}
2
3
4
5
6
7
8
RelativePosition
enum RelativePosition
{
RelativePosition_Unknown = 0; // Unknown
RelativePosition_More = 1; // Stock_field1 is greater than stock_field2
RelativePosition_Less = 2; // Stock_field1 is less than stock_field2
RelativePosition_CrossUp = 3; // Stock_field1 cross over stock_field2
RelativePosition_CrossDown = 4; // Stock_field1 cross below stock_field2
}
2
3
4
5
6
7
8
# Pattern attributes
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PatternField
NONE未知
MA_ALIGNMENT_LONGMA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
MA_ALIGNMENT_SHORTMA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
EMA_ALIGNMENT_LONGEMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
EMA_ALIGNMENT_SHORTEMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
RSI_GOLD_CROSS_LOWRSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
RSI_DEATH_CROSS_HIGHRSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
RSI_TOP_DIVERGENCERSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
RSI_BOTTOM_DIVERGENCERSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
KDJ_GOLD_CROSS_LOWKDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
KDJ_DEATH_CROSS_HIGHKDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
KDJ_TOP_DIVERGENCEKDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
KDJ_BOTTOM_DIVERGENCEKDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
MACD_GOLD_CROSS_LOWMACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
MACD_DEATH_CROSS_HIGHMACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
MACD_TOP_DIVERGENCEMACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
MACD_BOTTOM_DIVERGENCEMACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
BOLL_BREAK_UPPERBreak up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
BOLL_BREAK_LOWERBreak up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
BOLL_CROSS_MIDDLE_UPCross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
BOLL_CROSS_MIDDLE_DOWNCross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
PatternField
enum PatternField
{
PatternField_Unknown = 0 ; // Unknown
PatternField_MAAlignmentLong = 1; // MA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_MAAlignmentShort = 2; // MA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_EMAAlignmentLong = 3; // EMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_EMAAlignmentShort = 4; // EMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_RSIGoldCrossLow = 5; // RSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
PatternField_RSIDeathCrossHigh = 6; // RSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
PatternField_RSITopDivergence = 7; // RSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
PatternField_RSIBottomDivergence = 8; // RSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
PatternField_KDJGoldCrossLow = 9; // KDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
PatternField_KDJDeathCrossHigh = 10; // KDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
PatternField_KDJTopDivergence = 11; // KDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
PatternField_KDJBottomDivergence = 12; // KDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
PatternField_MACDGoldCrossLow = 13; // MACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
PatternField_MACDDeathCrossHigh = 14; // MACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
PatternField_MACDTopDivergence = 15; // MACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
PatternField_MACDBottomDivergence = 16; // MACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
PatternField_BOLLBreakUpper = 17; // Break up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
PatternField_BOLLLower = 18; // Break up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
PatternField_BOLLCrossMiddleUp = 19; // Cross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
PatternField_BOLLCrossMiddleDown = 20; // Cross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PatternField
enum PatternField
{
PatternField_Unknown = 0 ; // Unknown
PatternField_MAAlignmentLong = 1; // MA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_MAAlignmentShort = 2; // MA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_EMAAlignmentLong = 3; // EMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_EMAAlignmentShort = 4; // EMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_RSIGoldCrossLow = 5; // RSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
PatternField_RSIDeathCrossHigh = 6; // RSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
PatternField_RSITopDivergence = 7; // RSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
PatternField_RSIBottomDivergence = 8; // RSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
PatternField_KDJGoldCrossLow = 9; // KDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
PatternField_KDJDeathCrossHigh = 10; // KDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
PatternField_KDJTopDivergence = 11; // KDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
PatternField_KDJBottomDivergence = 12; // KDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
PatternField_MACDGoldCrossLow = 13; // MACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
PatternField_MACDDeathCrossHigh = 14; // MACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
PatternField_MACDTopDivergence = 15; // MACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
PatternField_MACDBottomDivergence = 16; // MACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
PatternField_BOLLBreakUpper = 17; // Break up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
PatternField_BOLLLower = 18; // Break up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
PatternField_BOLLCrossMiddleUp = 19; // Cross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
PatternField_BOLLCrossMiddleDown = 20; // Cross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PatternField
enum PatternField
{
PatternField_Unknown = 0 ; // Unknown
PatternField_MAAlignmentLong = 1; // MA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_MAAlignmentShort = 2; // MA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_EMAAlignmentLong = 3; // EMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_EMAAlignmentShort = 4; // EMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_RSIGoldCrossLow = 5; // RSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
PatternField_RSIDeathCrossHigh = 6; // RSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
PatternField_RSITopDivergence = 7; // RSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
PatternField_RSIBottomDivergence = 8; // RSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
PatternField_KDJGoldCrossLow = 9; // KDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
PatternField_KDJDeathCrossHigh = 10; // KDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
PatternField_KDJTopDivergence = 11; // KDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
PatternField_KDJBottomDivergence = 12; // KDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
PatternField_MACDGoldCrossLow = 13; // MACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
PatternField_MACDDeathCrossHigh = 14; // MACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
PatternField_MACDTopDivergence = 15; // MACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
PatternField_MACDBottomDivergence = 16; // MACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
PatternField_BOLLBreakUpper = 17; // Break up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
PatternField_BOLLLower = 18; // Break up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
PatternField_BOLLCrossMiddleUp = 19; // Cross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
PatternField_BOLLCrossMiddleDown = 20; // Cross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PatternField
enum PatternField
{
PatternField_Unknown = 0 ; // Unknown
PatternField_MAAlignmentLong = 1; // MA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_MAAlignmentShort = 2; // MA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_EMAAlignmentLong = 3; // EMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_EMAAlignmentShort = 4; // EMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_RSIGoldCrossLow = 5; // RSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
PatternField_RSIDeathCrossHigh = 6; // RSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
PatternField_RSITopDivergence = 7; // RSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
PatternField_RSIBottomDivergence = 8; // RSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
PatternField_KDJGoldCrossLow = 9; // KDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
PatternField_KDJDeathCrossHigh = 10; // KDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
PatternField_KDJTopDivergence = 11; // KDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
PatternField_KDJBottomDivergence = 12; // KDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
PatternField_MACDGoldCrossLow = 13; // MACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
PatternField_MACDDeathCrossHigh = 14; // MACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
PatternField_MACDTopDivergence = 15; // MACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
PatternField_MACDBottomDivergence = 16; // MACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
PatternField_BOLLBreakUpper = 17; // Break up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
PatternField_BOLLLower = 18; // Break up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
PatternField_BOLLCrossMiddleUp = 19; // Cross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
PatternField_BOLLCrossMiddleDown = 20; // Cross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PatternField
enum PatternField
{
PatternField_Unknown = 0 ; // Unknown
PatternField_MAAlignmentLong = 1; // MA bullish alignment (MA5 > MA10 > MA20 > MA30 > MA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_MAAlignmentShort = 2; // MA bearish alignment (MA5 < MA10 < MA20 < MA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_EMAAlignmentLong = 3; // EMA bullish alignment (EMA5 > EMA10 > EMA20 > EMA30 > EMA60 for two consecutive days, and the closing price of the day is greater than the closing price of the previous day)
PatternField_EMAAlignmentShort = 4; // EMA bearish alignment (EMA5 < EMA10 < EMA20 < EMA30 < MA60 for two consecutive days, and the closing price of the day is less than the closing price of the previous day)
PatternField_RSIGoldCrossLow = 5; // RSI low golden cross (short-term RSI crosses over long-term RSI below 50 (short-term RSI of the previous day is less than long-term RSI, short-term RSI of the current day is greater than long-term RSI))
PatternField_RSIDeathCrossHigh = 6; // RSI high dead cross (short-term RSI crosses below long-term RSI above 50 (short-term RSI of the previous day is greater than long-term RSI, short-term RSI of the current day is less than long-term RSI))
PatternField_RSITopDivergence = 7; // RSI top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the RSI12 value of the later peak < the RSI12 value of the earlier peak)
PatternField_RSIBottomDivergence = 8; // RSI bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the RSI12 value of the later trough > the RSI12 value of the earlier trough)
PatternField_KDJGoldCrossLow = 9; // KDJ low golden cross (D value is less than or equal to 30, and the K value of the previous day is less than the D value, and the K value of the day is greater than the D value)
PatternField_KDJDeathCrossHigh = 10; // KDJ high death cross (D value is greater than or equal to 70, and the K value of the previous day is greater than the D value, and the K value of the day is less than the D value)
PatternField_KDJTopDivergence = 11; // KDJ top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the J value of the later peak < the J value of the earlier peak)
PatternField_KDJBottomDivergence = 12; // KDJ bottom divergence (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the J value of the later trough > the J value of the earlier trough)
PatternField_MACDGoldCrossLow = 13; // MACD golden cross (DIFF crosses over DEA (DIFF is less than DEA of the previous day, and DIFF is greater than DEA of the current day))
PatternField_MACDDeathCrossHigh = 14; // MACD dead cross (DIFF crosses below DEA (DIFF is greater than DEA of the previous day, and DIFF is less than DEA of the current day))
PatternField_MACDTopDivergence = 15; // MACD top divergence (two adjacent candlestick peaks, the CLOSE of the later peak > the CLOSE of the earlier peak, the MACD value of the later peak < the MACD value of the earlier peak)
PatternField_MACDBottomDivergence = 16; // MACD bottom deviation (two adjacent candlestick troughs, the CLOSE of the later trough < the CLOSE of the earlier trough, the MACD value of the later trough > the MACD value of the earlier trough)
PatternField_BOLLBreakUpper = 17; // Break up bollinger upper bound (the stock price of the previous day was lower than the upper bound, and the stock price of the current day is greater than the upper bound)
PatternField_BOLLLower = 18; // Break up bollinger lower bound (the stock price of the previous day was greater than the lower bound, and the stock price of the current day is less than the lower bound)
PatternField_BOLLCrossMiddleUp = 19; // Cross over bollinger mid line (the stock price of the previous day was lower than the mid line, and the stock price of the current day is greater than the mid line)
PatternField_BOLLCrossMiddleDown = 20; // Cross below bollinger mid line (the stock price of the previous day was greater than the mid line, and the stock price of the current day is less than the mid line)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Watchlist Group Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
UserSecurityGroupType
NONEunknown
CUSTOMCustom groups
SYSTEMSystem groups
ALLAll groups
GroupType
enum GroupType
{
GroupType_Unknown = 0; // unknown
GroupType_Custom = 1; // Custom groups
GroupType_System = 2; // System groups
GroupType_All = 3; // All groupss
}
2
3
4
5
6
7
GroupType
enum GroupType
{
GroupType_Unknown = 0; // unknown
GroupType_Custom = 1; // Custom groups
GroupType_System = 2; // System groups
GroupType_All = 3; // All groupss
}
2
3
4
5
6
7
GroupType
enum GroupType
{
GroupType_Unknown = 0; // unknown
GroupType_Custom = 1; // Custom groups
GroupType_System = 2; // System groups
GroupType_All = 3; // All groupss
}
2
3
4
5
6
7
GroupType
enum GroupType
{
GroupType_Unknown = 0; // unknown
GroupType_Custom = 1; // Custom groups
GroupType_System = 2; // System groups
GroupType_All = 3; // All groupss
}
2
3
4
5
6
7
GroupType
enum GroupType
{
GroupType_Unknown = 0; // unknown
GroupType_Custom = 1; // Custom groups
GroupType_System = 2; // System groups
GroupType_All = 3; // All groupss
}
2
3
4
5
6
7
# Index Option Category
- Python
- Proto
- C#
- Java
- C++
- JavaScript
IndexOptionType
NONEunknown
NORMALOrdinary index option
SMALLSmall Index Options
IndexOptionType
enum IndexOptionType
{
IndexOptionType_Unknown = 0; //Unknown
IndexOptionType_Normal = 1; //Normal index option
IndexOptionType_Small = 2; //Small index options
}
2
3
4
5
6
IndexOptionType
enum IndexOptionType
{
IndexOptionType_Unknown = 0; //Unknown
IndexOptionType_Normal = 1; //Normal index option
IndexOptionType_Small = 2; //Small index options
}
2
3
4
5
6
IndexOptionType
enum IndexOptionType
{
IndexOptionType_Unknown = 0; //Unknown
IndexOptionType_Normal = 1; //Normal index option
IndexOptionType_Small = 2; //Small index options
}
2
3
4
5
6
IndexOptionType
enum IndexOptionType
{
IndexOptionType_Unknown = 0; //Unknown
IndexOptionType_Normal = 1; //Normal index option
IndexOptionType_Small = 2; //Small index options
}
2
3
4
5
6
IndexOptionType
enum IndexOptionType
{
IndexOptionType_Unknown = 0; //Unknown
IndexOptionType_Normal = 1; //Normal index option
IndexOptionType_Small = 2; //Small index options
}
2
3
4
5
6
# Listing Time
- Python
- Proto
- C#
- Java
- C++
- JavaScript
IpoPeriod
NONEunknown
TODAYListed today
TOMORROWTo be listed tomorrow
NEXTWEEKTo be listed next week
LASTWEEKHas been listed last week
LASTMONTHHas been listed last month
IpoPeriod
enum IpoPeriod
{
IpoPeriod_Unknow = 0; //Unknown
IpoPeriod_Today = 1; //Listed today
IpoPeriod_Tomorrow = 2; //To be listed tomorrow
IpoPeriod_Nextweek = 3; //To be listed next week
IpoPeriod_Lastweek = 4; //Has been listed last week
IpoPeriod_Lastmonth = 5; //Has been listed last month
}
2
3
4
5
6
7
8
9
IpoPeriod
enum IpoPeriod
{
IpoPeriod_Unknow = 0; //Unknown
IpoPeriod_Today = 1; //Listed today
IpoPeriod_Tomorrow = 2; //To be listed tomorrow
IpoPeriod_Nextweek = 3; //To be listed next week
IpoPeriod_Lastweek = 4; //Has been listed last week
IpoPeriod_Lastmonth = 5; //Has been listed last month
}
2
3
4
5
6
7
8
9
IpoPeriod
enum IpoPeriod
{
IpoPeriod_Unknow = 0; //Unknown
IpoPeriod_Today = 1; //Listed today
IpoPeriod_Tomorrow = 2; //To be listed tomorrow
IpoPeriod_Nextweek = 3; //To be listed next week
IpoPeriod_Lastweek = 4; //Has been listed last week
IpoPeriod_Lastmonth = 5; //Has been listed last month
}
2
3
4
5
6
7
8
9
IpoPeriod
enum IpoPeriod
{
IpoPeriod_Unknow = 0; //Unknown
IpoPeriod_Today = 1; //Listed today
IpoPeriod_Tomorrow = 2; //To be listed tomorrow
IpoPeriod_Nextweek = 3; //To be listed next week
IpoPeriod_Lastweek = 4; //Has been listed last week
IpoPeriod_Lastmonth = 5; //Has been listed last month
}
2
3
4
5
6
7
8
9
IpoPeriod
enum IpoPeriod
{
IpoPeriod_Unknow = 0; //Unknown
IpoPeriod_Today = 1; //Listed today
IpoPeriod_Tomorrow = 2; //To be listed tomorrow
IpoPeriod_Nextweek = 3; //To be listed next week
IpoPeriod_Lastweek = 4; //Has been listed last week
IpoPeriod_Lastmonth = 5; //Has been listed last month
}
2
3
4
5
6
7
8
9
# Warrant Issuer
- Python
- Proto
- C#
- Java
- C++
- JavaScript
Issuer
UNKNOWunknown
SGSociete Generale
BPBNP Paribas
CSCredit Suisse
CTCiti Bank
EAThe Bank of East Aisa
GSGoldman Sachs
HSHSBC
JPJPMorgan Chase
MBMacquarie Bank
SCStandard Chartered Bank
UBUnion Bank of Switzerland
BIBank of China
DBDeutsche Bank
DCDaiwa Bank
MLMerrill Lynch
NMNomura Bank
RBRabobank
RSThe Royal Bank of Scotland
BCBarclays
HTHaitong Bank
VTBank Vontobel
KCKBC Bank
MSMorgan Stanley
GJGuotai Junan
XZDBS Bank
HUHuatai
KSKorea Investment
CICITIC Securities
Issuer
enum Issuer
{
Issuer_Unknow = 0; //Unknown
Issuer_SG = 1; //Societe Generale
Issuer_BP = 2; //BNP Paribas
Issuer_CS = 3; //Credit Suisse
Issuer_CT = 4; //Citi Bank
Issuer_EA = 5; //The Bank of East Aisa
Issuer_GS = 6; //Goldman Sachs
Issuer_HS = 7; //HSBC
Issuer_JP = 8; //JPMorgan Chase
Issuer_MB = 9; //Macquarie Bank
Issuer_SC = 10; //Standard Chartered Bank
Issuer_UB = 11; //Union Bank of Switzerland
Issuer_BI = 12; //Bank of China
Issuer_DB = 13; //Deutsche Bank
Issuer_DC = 14; //Daiwa Bank
Issuer_ML = 15; //Merrill Lynch
Issuer_NM = 16; //Nomura Bank
Issuer_RB = 17; //Rabobank
Issuer_RS = 18; //The Royal Bank of Scotland
Issuer_BC = 19; //Barclays
Issuer_HT = 20; //Haitong Bank
Issuer_VT = 21; //Bank Vontobel
Issuer_KC = 22; //KBC Bank
Issuer_MS = 23; //Morgan Stanley
Issuer_GJ = 24; //Guotai Junan
Issuer_XZ = 25; //DBS Bank
Issuer_HU = 26; //Huatai
Issuer_KS = 27; //Korea Investment
Issuer_CI = 28; //CITIC Securities
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Issuer
enum Issuer
{
Issuer_Unknow = 0; //Unknown
Issuer_SG = 1; //Societe Generale
Issuer_BP = 2; //BNP Paribas
Issuer_CS = 3; //Credit Suisse
Issuer_CT = 4; //Citi Bank
Issuer_EA = 5; //The Bank of East Aisa
Issuer_GS = 6; //Goldman Sachs
Issuer_HS = 7; //HSBC
Issuer_JP = 8; //JPMorgan Chase
Issuer_MB = 9; //Macquarie Bank
Issuer_SC = 10; //Standard Chartered Bank
Issuer_UB = 11; //Union Bank of Switzerland
Issuer_BI = 12; //Bank of China
Issuer_DB = 13; //Deutsche Bank
Issuer_DC = 14; //Daiwa Bank
Issuer_ML = 15; //Merrill Lynch
Issuer_NM = 16; //Nomura Bank
Issuer_RB = 17; //Rabobank
Issuer_RS = 18; //The Royal Bank of Scotland
Issuer_BC = 19; //Barclays
Issuer_HT = 20; //Haitong Bank
Issuer_VT = 21; //Bank Vontobel
Issuer_KC = 22; //KBC Bank
Issuer_MS = 23; //Morgan Stanley
Issuer_GJ = 24; //Guotai Junan
Issuer_XZ = 25; //DBS Bank
Issuer_HU = 26; //Huatai
Issuer_KS = 27; //Korea Investment
Issuer_CI = 28; //CITIC Securities
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Issuer
enum Issuer
{
Issuer_Unknow = 0; //Unknown
Issuer_SG = 1; //Societe Generale
Issuer_BP = 2; //BNP Paribas
Issuer_CS = 3; //Credit Suisse
Issuer_CT = 4; //Citi Bank
Issuer_EA = 5; //The Bank of East Aisa
Issuer_GS = 6; //Goldman Sachs
Issuer_HS = 7; //HSBC
Issuer_JP = 8; //JPMorgan Chase
Issuer_MB = 9; //Macquarie Bank
Issuer_SC = 10; //Standard Chartered Bank
Issuer_UB = 11; //Union Bank of Switzerland
Issuer_BI = 12; //Bank of China
Issuer_DB = 13; //Deutsche Bank
Issuer_DC = 14; //Daiwa Bank
Issuer_ML = 15; //Merrill Lynch
Issuer_NM = 16; //Nomura Bank
Issuer_RB = 17; //Rabobank
Issuer_RS = 18; //The Royal Bank of Scotland
Issuer_BC = 19; //Barclays
Issuer_HT = 20; //Haitong Bank
Issuer_VT = 21; //Bank Vontobel
Issuer_KC = 22; //KBC Bank
Issuer_MS = 23; //Morgan Stanley
Issuer_GJ = 24; //Guotai Junan
Issuer_XZ = 25; //DBS Bank
Issuer_HU = 26; //Huatai
Issuer_KS = 27; //Korea Investment
Issuer_CI = 28; //CITIC Securities
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Issuer
enum Issuer
{
Issuer_Unknow = 0; //Unknown
Issuer_SG = 1; //Societe Generale
Issuer_BP = 2; //BNP Paribas
Issuer_CS = 3; //Credit Suisse
Issuer_CT = 4; //Citi Bank
Issuer_EA = 5; //The Bank of East Aisa
Issuer_GS = 6; //Goldman Sachs
Issuer_HS = 7; //HSBC
Issuer_JP = 8; //JPMorgan Chase
Issuer_MB = 9; //Macquarie Bank
Issuer_SC = 10; //Standard Chartered Bank
Issuer_UB = 11; //Union Bank of Switzerland
Issuer_BI = 12; //Bank of China
Issuer_DB = 13; //Deutsche Bank
Issuer_DC = 14; //Daiwa Bank
Issuer_ML = 15; //Merrill Lynch
Issuer_NM = 16; //Nomura Bank
Issuer_RB = 17; //Rabobank
Issuer_RS = 18; //The Royal Bank of Scotland
Issuer_BC = 19; //Barclays
Issuer_HT = 20; //Haitong Bank
Issuer_VT = 21; //Bank Vontobel
Issuer_KC = 22; //KBC Bank
Issuer_MS = 23; //Morgan Stanley
Issuer_GJ = 24; //Guotai Junan
Issuer_XZ = 25; //DBS Bank
Issuer_HU = 26; //Huatai
Issuer_KS = 27; //Korea Investment
Issuer_CI = 28; //CITIC Securities
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Issuer
enum Issuer
{
Issuer_Unknow = 0; //Unknown
Issuer_SG = 1; //Societe Generale
Issuer_BP = 2; //BNP Paribas
Issuer_CS = 3; //Credit Suisse
Issuer_CT = 4; //Citi Bank
Issuer_EA = 5; //The Bank of East Aisa
Issuer_GS = 6; //Goldman Sachs
Issuer_HS = 7; //HSBC
Issuer_JP = 8; //JPMorgan Chase
Issuer_MB = 9; //Macquarie Bank
Issuer_SC = 10; //Standard Chartered Bank
Issuer_UB = 11; //Union Bank of Switzerland
Issuer_BI = 12; //Bank of China
Issuer_DB = 13; //Deutsche Bank
Issuer_DC = 14; //Daiwa Bank
Issuer_ML = 15; //Merrill Lynch
Issuer_NM = 16; //Nomura Bank
Issuer_RB = 17; //Rabobank
Issuer_RS = 18; //The Royal Bank of Scotland
Issuer_BC = 19; //Barclays
Issuer_HT = 20; //Haitong Bank
Issuer_VT = 21; //Bank Vontobel
Issuer_KC = 22; //KBC Bank
Issuer_MS = 23; //Morgan Stanley
Issuer_GJ = 24; //Guotai Junan
Issuer_XZ = 25; //DBS Bank
Issuer_HU = 26; //Huatai
Issuer_KS = 27; //Korea Investment
Issuer_CI = 28; //CITIC Securities
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Candlestick Field
- Python
- Proto
- C#
- Java
- C++
- JavaScript
KL_FIELD
ALLAll
DATE_TIMETime
HIGHHigh
OPENOpen
LOWLow
CLOSEClose
LAST_CLOSEClose yesterday
TRADE_VOLVolume
TRADE_VALTurnover
TURNOVER_RATETurnover rate
PE_RATIOP/E ratio
CHANGE_RATEYield
KLFields
enum KLFields
{
KLFields_None = 0; //
KLFields_High = 1; //High
KLFields_Open = 2; //Open
KLFields_Low = 4; //Low
KLFields_Close = 8; //Close
KLFields_LastClose = 16; //Close yesterday
KLFields_Volume = 32; //Volume
KLFields_Turnover = 64; //Turnover
KLFields_TurnoverRate = 128; //Turnover rate
KLFields_PE = 256; //P/E ratio
KLFields_ChangeRate = 512; //Yield
}
2
3
4
5
6
7
8
9
10
11
12
13
14
KLFields
enum KLFields
{
KLFields_None = 0; //
KLFields_High = 1; //High
KLFields_Open = 2; //Open
KLFields_Low = 4; //Low
KLFields_Close = 8; //Close
KLFields_LastClose = 16; //Close yesterday
KLFields_Volume = 32; //Volume
KLFields_Turnover = 64; //Turnover
KLFields_TurnoverRate = 128; //Turnover rate
KLFields_PE = 256; //P/E ratio
KLFields_ChangeRate = 512; //Yield
}
2
3
4
5
6
7
8
9
10
11
12
13
14
KLFields
enum KLFields
{
KLFields_None = 0; //
KLFields_High = 1; //High
KLFields_Open = 2; //Open
KLFields_Low = 4; //Low
KLFields_Close = 8; //Close
KLFields_LastClose = 16; //Close yesterday
KLFields_Volume = 32; //Volume
KLFields_Turnover = 64; //Turnover
KLFields_TurnoverRate = 128; //Turnover rate
KLFields_PE = 256; //P/E ratio
KLFields_ChangeRate = 512; //Yield
}
2
3
4
5
6
7
8
9
10
11
12
13
14
KLFields
enum KLFields
{
KLFields_None = 0; //
KLFields_High = 1; //High
KLFields_Open = 2; //Open
KLFields_Low = 4; //Low
KLFields_Close = 8; //Close
KLFields_LastClose = 16; //Close yesterday
KLFields_Volume = 32; //Volume
KLFields_Turnover = 64; //Turnover
KLFields_TurnoverRate = 128; //Turnover rate
KLFields_PE = 256; //P/E ratio
KLFields_ChangeRate = 512; //Yield
}
2
3
4
5
6
7
8
9
10
11
12
13
14
KLFields
enum KLFields
{
KLFields_None = 0; //
KLFields_High = 1; //High
KLFields_Open = 2; //Open
KLFields_Low = 4; //Low
KLFields_Close = 8; //Close
KLFields_LastClose = 16; //Close yesterday
KLFields_Volume = 32; //Volume
KLFields_Turnover = 64; //Turnover
KLFields_TurnoverRate = 128; //Turnover rate
KLFields_PE = 256; //P/E ratio
KLFields_ChangeRate = 512; //Yield
}
2
3
4
5
6
7
8
9
10
11
12
13
14
# Candlestick Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
KLType
NONEunknown
K_1M1 minute candlestick
K_DAY1 day candlestick
K_WEEK1 week candlestick
Option is not supportedK_MON1 month candlestick
Option is not supportedK_YEAR1 year candlestick
Option is not supportedK_5M5 minutes candlestick
K_15M15 minutes candlestick
K_30M30 minutes candlestick
Option is not supportedK_60M60 minutes candlestick
K_3M3 minutes candlestick
Option is not supportedK_QUARTER1 quarter candlestick
Option is not supported
KLType
enum KLType
{
KLType_Unknown = 0; //Unknown
KLType_1Min = 1; //1 minute candlestick
KLType_Day = 2; //1 day candlestick
KLType_Week = 3; //1 week candlestick (Option is not supported)
KLType_Month = 4; //1 month candlestick (Option is not supported)
KLType_Year = 5; //1 year candlestick (Option is not supported)
KLType_5Min = 6; //5 minutes candlestick
KLType_15Min = 7; //15 minutes candlestick
KLType_30Min = 8; //30 minutes candlestick (Option is not supported)
KLType_60Min = 9; //60 minutes candlestick
KLType_3Min = 10; //3 minutes candlestick (Option is not supported)
KLType_Quarter = 11; //1 quarter candlestick (Option is not supported)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
KLType
enum KLType
{
KLType_Unknown = 0; //Unknown
KLType_1Min = 1; //1 minute candlestick
KLType_Day = 2; //1 day candlestick
KLType_Week = 3; //1 week candlestick (Option is not supported)
KLType_Month = 4; //1 month candlestick (Option is not supported)
KLType_Year = 5; //1 year candlestick (Option is not supported)
KLType_5Min = 6; //5 minutes candlestick
KLType_15Min = 7; //15 minutes candlestick
KLType_30Min = 8; //30 minutes candlestick (Option is not supported)
KLType_60Min = 9; //60 minutes candlestick
KLType_3Min = 10; //3 minutes candlestick (Option is not supported)
KLType_Quarter = 11; //1 quarter candlestick (Option is not supported)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
KLType
enum KLType
{
KLType_Unknown = 0; //Unknown
KLType_1Min = 1; //1 minute candlestick
KLType_Day = 2; //1 day candlestick
KLType_Week = 3; //1 week candlestick (Option is not supported)
KLType_Month = 4; //1 month candlestick (Option is not supported)
KLType_Year = 5; //1 year candlestick (Option is not supported)
KLType_5Min = 6; //5 minutes candlestick
KLType_15Min = 7; //15 minutes candlestick
KLType_30Min = 8; //30 minutes candlestick (Option is not supported)
KLType_60Min = 9; //60 minutes candlestick
KLType_3Min = 10; //3 minutes candlestick (Option is not supported)
KLType_Quarter = 11; //1 quarter candlestick (Option is not supported)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
KLType
enum KLType
{
KLType_Unknown = 0; //Unknown
KLType_1Min = 1; //1 minute candlestick
KLType_Day = 2; //1 day candlestick
KLType_Week = 3; //1 week candlestick (Option is not supported)
KLType_Month = 4; //1 month candlestick (Option is not supported)
KLType_Year = 5; //1 year candlestick (Option is not supported)
KLType_5Min = 6; //5 minutes candlestick
KLType_15Min = 7; //15 minutes candlestick
KLType_30Min = 8; //30 minutes candlestick (Option is not supported)
KLType_60Min = 9; //60 minutes candlestick
KLType_3Min = 10; //3 minutes candlestick (Option is not supported)
KLType_Quarter = 11; //1 quarter candlestick (Option is not supported)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
KLType
enum KLType
{
KLType_Unknown = 0; //Unknown
KLType_1Min = 1; //1 minute candlestick
KLType_Day = 2; //1 day candlestick
KLType_Week = 3; //1 week candlestick (Option is not supported)
KLType_Month = 4; //1 month candlestick (Option is not supported)
KLType_Year = 5; //1 year candlestick (Option is not supported)
KLType_5Min = 6; //5 minutes candlestick
KLType_15Min = 7; //15 minutes candlestick
KLType_30Min = 8; //30 minutes candlestick (Option is not supported)
KLType_60Min = 9; //60 minutes candlestick
KLType_3Min = 10; //3 minutes candlestick (Option is not supported)
KLType_Quarter = 11; //1 quarter candlestick (Option is not supported)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Period Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PeriodType
INTRADAYIntraday
DAYDay
WEEKWeek
MONTHMonth
PeriodType
enum PeriodType
{
PeriodType_INTRADAY = 0; //Intraday
PeriodType_DAY = 1; //DAY
PeriodType_WEEK = 2; //Week
PeriodType_MONTH = 3; //Month
}
2
3
4
5
6
7
PeriodType
enum PeriodType
{
PeriodType_INTRADAY = 0; //Intraday
PeriodType_DAY = 1; //DAY
PeriodType_WEEK = 2; //Week
PeriodType_MONTH = 3; //Month
}
2
3
4
5
6
7
PeriodType
enum PeriodType
{
PeriodType_INTRADAY = 0; //Intraday
PeriodType_DAY = 1; //DAY
PeriodType_WEEK = 2; //Week
PeriodType_MONTH = 3; //Month
}
2
3
4
5
6
7
PeriodType
enum PeriodType
{
PeriodType_INTRADAY = 0; //Intraday
PeriodType_DAY = 1; //DAY
PeriodType_WEEK = 2; //Week
PeriodType_MONTH = 3; //Month
}
2
3
4
5
6
7
PeriodType
enum PeriodType
{
PeriodType_INTRADAY = 0; //Intraday
PeriodType_DAY = 1; //DAY
PeriodType_WEEK = 2; //Week
PeriodType_MONTH = 3; //Month
}
2
3
4
5
6
7
# Price Reminder Market Status
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PriceReminderMarketStatus
UNKNOWunknown
OPENMarket opens
US_PREPre-market of US stocks
US_AFTERAfter-hours of US stocks
US_OVERNIGHTOvernight trading session of US stocks
MarketStatus
enum MarketStatus
{
MarketStatus_Unknow = 0;
MarketStatus_Open = 1; //Market opens
MarketStatus_USPre = 2; //Pre-market
MarketStatus_USAfter = 3; //After-hours
}
2
3
4
5
6
7
MarketStatus
enum MarketStatus
{
MarketStatus_Unknow = 0;
MarketStatus_Open = 1; //Market opens
MarketStatus_USPre = 2; //Pre-market
MarketStatus_USAfter = 3; //After-hours
}
2
3
4
5
6
7
MarketStatus
enum MarketStatus
{
MarketStatus_Unknow = 0;
MarketStatus_Open = 1; //Market opens
MarketStatus_USPre = 2; //Pre-market
MarketStatus_USAfter = 3; //After-hours
}
2
3
4
5
6
7
MarketStatus
enum MarketStatus
{
MarketStatus_Unknow = 0;
MarketStatus_Open = 1; //Market opens
MarketStatus_USPre = 2; //Pre-market
MarketStatus_USAfter = 3; //After-hours
}
2
3
4
5
6
7
MarketStatus
enum MarketStatus
{
MarketStatus_Unknow = 0;
MarketStatus_Open = 1; //Market opens
MarketStatus_USPre = 2; //Pre-market
MarketStatus_USAfter = 3; //After-hours
}
2
3
4
5
6
7
# Watchlist Operation
- Python
- Proto
- C#
- Java
- C++
- JavaScript
ModifyUserSecurityOp
NONEUnknown
ADDAdd
DELDelete
MOVE_OUTRemove from group
ModifyUserSecurityOp
enum ModifyUserSecurityOp
{
ModifyUserSecurityOp_Unknown = 0; //Unknown
ModifyUserSecurityOp_Add = 1; //Add
ModifyUserSecurityOp_Del = 2; //Delete
ModifyUserSecurityOp_MoveOut = 3; //Remove from group
}
2
3
4
5
6
7
ModifyUserSecurityOp
enum ModifyUserSecurityOp
{
ModifyUserSecurityOp_Unknown = 0; //Unknown
ModifyUserSecurityOp_Add = 1; //Add
ModifyUserSecurityOp_Del = 2; //Delete
ModifyUserSecurityOp_MoveOut = 3; //Remove from group
}
2
3
4
5
6
7
ModifyUserSecurityOp
enum ModifyUserSecurityOp
{
ModifyUserSecurityOp_Unknown = 0; //Unknown
ModifyUserSecurityOp_Add = 1; //Add
ModifyUserSecurityOp_Del = 2; //Delete
ModifyUserSecurityOp_MoveOut = 3; //Remove from group
}
2
3
4
5
6
7
ModifyUserSecurityOp
enum ModifyUserSecurityOp
{
ModifyUserSecurityOp_Unknown = 0; //Unknown
ModifyUserSecurityOp_Add = 1; //Add
ModifyUserSecurityOp_Del = 2; //Delete
ModifyUserSecurityOp_MoveOut = 3; //Remove from group
}
2
3
4
5
6
7
ModifyUserSecurityOp
enum ModifyUserSecurityOp
{
ModifyUserSecurityOp_Unknown = 0; //Unknown
ModifyUserSecurityOp_Add = 1; //Add
ModifyUserSecurityOp_Del = 2; //Delete
ModifyUserSecurityOp_MoveOut = 3; //Remove from group
}
2
3
4
5
6
7
# Option Type (by Exercise Time)
- Python
- Proto
- C#
- Java
- C++
- JavaScript
OptionAreaType
NONEunknown
AMERICANAmerican Option
EUROPEANEuropean Option
BERMUDABermuda Option
OptionAreaType
enum OptionAreaType
{
OptionAreaType_Unknown = 0; //Unknown
OptionAreaType_American = 1; //American Option
OptionAreaType_European = 2; //European Option
OptionAreaType_Bermuda = 3; //Bermuda Option
}
2
3
4
5
6
7
OptionAreaType
enum OptionAreaType
{
OptionAreaType_Unknown = 0; //Unknown
OptionAreaType_American = 1; //American Option
OptionAreaType_European = 2; //European Option
OptionAreaType_Bermuda = 3; //Bermuda Option
}
2
3
4
5
6
7
OptionAreaType
enum OptionAreaType
{
OptionAreaType_Unknown = 0; //Unknown
OptionAreaType_American = 1; //American Option
OptionAreaType_European = 2; //European Option
OptionAreaType_Bermuda = 3; //Bermuda Option
}
2
3
4
5
6
7
OptionAreaType
enum OptionAreaType
{
OptionAreaType_Unknown = 0; //Unknown
OptionAreaType_American = 1; //American Option
OptionAreaType_European = 2; //European Option
OptionAreaType_Bermuda = 3; //Bermuda Option
}
2
3
4
5
6
7
OptionAreaType
enum OptionAreaType
{
OptionAreaType_Unknown = 0; //Unknown
OptionAreaType_American = 1; //American Option
OptionAreaType_European = 2; //European Option
OptionAreaType_Bermuda = 3; //Bermuda Option
}
2
3
4
5
6
7
# Option in/out of The Money
- Python
- Proto
- C#
- Java
- C++
- JavaScript
OptionCondType
ALLAll
WITHINIn the money
OUTSIDEOut of the money
OptionCondType
enum OptionCondType
{
OptionCondType_Unknow = 0; //All
OptionCondType_WithIn = 1; //In the money
OptionCondType_Outside = 2; //Out of the money
}
2
3
4
5
6
OptionCondType
enum OptionCondType
{
OptionCondType_Unknow = 0; //All
OptionCondType_WithIn = 1; //In the money
OptionCondType_Outside = 2; //Out of the money
}
2
3
4
5
6
OptionCondType
enum OptionCondType
{
OptionCondType_Unknow = 0; //All
OptionCondType_WithIn = 1; //In the money
OptionCondType_Outside = 2; //Out of the money
}
2
3
4
5
6
OptionCondType
enum OptionCondType
{
OptionCondType_Unknow = 0; //All
OptionCondType_WithIn = 1; //In the money
OptionCondType_Outside = 2; //Out of the money
}
2
3
4
5
6
OptionCondType
enum OptionCondType
{
OptionCondType_Unknow = 0; //All
OptionCondType_WithIn = 1; //In the money
OptionCondType_Outside = 2; //Out of the money
}
2
3
4
5
6
# Option Type (by Direction)
- Python
- Proto
- C#
- Java
- C++
- JavaScript
OptionType
ALLall
CALLCall option
PUTPut option
OptionType
enum OptionType
{
OptionType_Unknown = 0; //Unknown
OptionType_Call = 1; //Call option
OptionType_Put = 2; //Put option
};
2
3
4
5
6
OptionType
enum OptionType
{
OptionType_Unknown = 0; //Unknown
OptionType_Call = 1; //Call option
OptionType_Put = 2; //Put option
};
2
3
4
5
6
OptionType
enum OptionType
{
OptionType_Unknown = 0; //Unknown
OptionType_Call = 1; //Call option
OptionType_Put = 2; //Put option
};
2
3
4
5
6
OptionType
enum OptionType
{
OptionType_Unknown = 0; //Unknown
OptionType_Call = 1; //Call option
OptionType_Put = 2; //Put option
};
2
3
4
5
6
OptionType
enum OptionType
{
OptionType_Unknown = 0; //Unknown
OptionType_Call = 1; //Call option
OptionType_Put = 2; //Put option
};
2
3
4
5
6
# Plate Set Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
Plate
ALLAll plates
INDUSTRYIndustry plate
REGIONRegional plate
The regional plate of the Hong Kong and US stock markets are temporarily empty.CONCEPTConcept plate
OTHEROther plates
Only used for the return of the Get plates of stocks interface and cannot be used as a request parameter of other interfaces.
PlateSetType
enum PlateSetType
{
PlateSetType_All = 0; //All plate
PlateSetType_Industry = 1; //Industry plate
PlateSetType_Region = 2; //Regional plate (the regional plate of the Hong Kong and US stock markets are temporarily empty)
PlateSetType_Concept = 3; //Concept plate
PlateSetType_Other = 4; //Other plates, only used for 3207 (acquiring the plate to which the stock belongs) protocol return, and cannot be used as a request parameter of other protocols
}
2
3
4
5
6
7
8
PlateSetType
enum PlateSetType
{
PlateSetType_All = 0; //All plate
PlateSetType_Industry = 1; //Industry plate
PlateSetType_Region = 2; //Regional plate (the regional plate of the Hong Kong and US stock markets are temporarily empty)
PlateSetType_Concept = 3; //Concept plate
PlateSetType_Other = 4; //Other plates, only used for 3207 (acquiring the plate to which the stock belongs) protocol return, and cannot be used as a request parameter of other protocols
}
2
3
4
5
6
7
8
PlateSetType
enum PlateSetType
{
PlateSetType_All = 0; //All plate
PlateSetType_Industry = 1; //Industry plate
PlateSetType_Region = 2; //Regional plate (the regional plate of the Hong Kong and US stock markets are temporarily empty)
PlateSetType_Concept = 3; //Concept plate
PlateSetType_Other = 4; //Other plates, only used for 3207 (acquiring the plate to which the stock belongs) protocol return, and cannot be used as a request parameter of other protocols
}
2
3
4
5
6
7
8
PlateSetType
enum PlateSetType
{
PlateSetType_All = 0; //All plate
PlateSetType_Industry = 1; //Industry plate
PlateSetType_Region = 2; //Regional plate (the regional plate of the Hong Kong and US stock markets are temporarily empty)
PlateSetType_Concept = 3; //Concept plate
PlateSetType_Other = 4; //Other plates, only used for 3207 (acquiring the plate to which the stock belongs) protocol return, and cannot be used as a request parameter of other protocols
}
2
3
4
5
6
7
8
PlateSetType
enum PlateSetType
{
PlateSetType_All = 0; //All plate
PlateSetType_Industry = 1; //Industry plate
PlateSetType_Region = 2; //Regional plate (the regional plate of the Hong Kong and US stock markets are temporarily empty)
PlateSetType_Concept = 3; //Concept plate
PlateSetType_Other = 4; //Other plates, only used for 3207 (acquiring the plate to which the stock belongs) protocol return, and cannot be used as a request parameter of other protocols
}
2
3
4
5
6
7
8
# Price Reminder Frequency
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PriceReminderFreq
NONEUnknown
ALWAYSKeep reminding
ONCE_A_DAYOnce a day
ONCEOnly remind once
PriceReminderFreq
enum PriceReminderFreq
{
PriceReminderFreq_Unknown = 0; //Unknown
PriceReminderFreq_Always = 1; //Keep reminding
PriceReminderFreq_OnceADay = 2; //Once a day
PriceReminderFreq_OnlyOnce = 3; //Only remind once
}
2
3
4
5
6
7
PriceReminderFreq
enum PriceReminderFreq
{
PriceReminderFreq_Unknown = 0; //Unknown
PriceReminderFreq_Always = 1; //Keep reminding
PriceReminderFreq_OnceADay = 2; //Once a day
PriceReminderFreq_OnlyOnce = 3; //Only remind once
}
2
3
4
5
6
7
PriceReminderFreq
enum PriceReminderFreq
{
PriceReminderFreq_Unknown = 0; //Unknown
PriceReminderFreq_Always = 1; //Keep reminding
PriceReminderFreq_OnceADay = 2; //Once a day
PriceReminderFreq_OnlyOnce = 3; //Only remind once
}
2
3
4
5
6
7
PriceReminderFreq
enum PriceReminderFreq
{
PriceReminderFreq_Unknown = 0; //Unknown
PriceReminderFreq_Always = 1; //Keep reminding
PriceReminderFreq_OnceADay = 2; //Once a day
PriceReminderFreq_OnlyOnce = 3; //Only remind once
}
2
3
4
5
6
7
PriceReminderFreq
enum PriceReminderFreq
{
PriceReminderFreq_Unknown = 0; //Unknown
PriceReminderFreq_Always = 1; //Keep reminding
PriceReminderFreq_OnceADay = 2; //Once a day
PriceReminderFreq_OnlyOnce = 3; //Only remind once
}
2
3
4
5
6
7
# Price Reminder Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PriceReminderType
NONEUnknown
PRICE_UPPrice rise to
PRICE_DOWNPrice fall to
CHANGE_RATE_UPDaily increase rate exceeds
This field is in percentage form, so 20 is equivalent to 20%.CHANGE_RATE_DOWNDaily decline rate exceeds
This field is in percentage form, so 20 is equivalent to 20%.FIVE_MIN_CHANGE_RATE_UPIncreate rate in 5 minutes exceeds
This field is in percentage form, so 20 is equivalent to 20%.FIVE_MIN_CHANGE_RATE_DOWNDecline rate in 5 minutes exceeds
This field is in percentage form, so 20 is equivalent to 20%.VOLUME_UPVolume exceeds
TURNOVER_UPTurnover exceeds
TURNOVER_RATE_UPTurnover rate exceeds
This field is in percentage form, so 20 is equivalent to 20%.BID_PRICE_UPBid price higher than
ASK_PRICE_DOWNAsk price lower than
BID_VOL_UPBid volume higher than
ASK_VOL_UPAsk volume higher than
THREE_MIN_CHANGE_RATE_UPIncreate rate in 3 minutes exceeds
This field is in percentage form, so 20 is equivalent to 20%.THREE_MIN_CHANGE_RATE_DOWNDecline rate in 3 minutes exceeds
This field is in percentage form, so 20 is equivalent to 20%.
PriceReminderType
enum PriceReminderType
{
PriceReminderType_Unknown = 0; //Unknown
PriceReminderType_PriceUp = 1; //Price rise to
PriceReminderType_PriceDown = 2; //Price fall to
PriceReminderType_ChangeRateUp = 3; //Daily increase rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_ChangeRateDown = 4; //Daily decline rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateUp = 5; //Increate rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateDown = 6; //Decline rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_VolumeUp = 7; //Volume exceeds
PriceReminderType_TurnoverUp = 8; //Turnover exceeds
PriceReminderType_TurnoverRateUp = 9; //Turnover rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_BidPriceUp = 10; //Bid price higher than
PriceReminderType_AskPriceDown = 11; //Ask price lower than
PriceReminderType_BidVolUp = 12; //Bid volume higher than
PriceReminderType_AskVolUp = 13; //Ask volume higher than
PriceReminderType_3MinChangeRateUp = 14; //Increate rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_3MinChangeRateDown = 15; //Decline rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PriceReminderType
enum PriceReminderType
{
PriceReminderType_Unknown = 0; //Unknown
PriceReminderType_PriceUp = 1; //Price rise to
PriceReminderType_PriceDown = 2; //Price fall to
PriceReminderType_ChangeRateUp = 3; //Daily increase rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_ChangeRateDown = 4; //Daily decline rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateUp = 5; //Increate rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateDown = 6; //Decline rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_VolumeUp = 7; //Volume exceeds
PriceReminderType_TurnoverUp = 8; //Turnover exceeds
PriceReminderType_TurnoverRateUp = 9; //Turnover rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_BidPriceUp = 10; //Bid price higher than
PriceReminderType_AskPriceDown = 11; //Ask price lower than
PriceReminderType_BidVolUp = 12; //Bid volume higher than
PriceReminderType_AskVolUp = 13; //Ask volume higher than
PriceReminderType_3MinChangeRateUp = 14; //Increate rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_3MinChangeRateDown = 15; //Decline rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PriceReminderType
enum PriceReminderType
{
PriceReminderType_Unknown = 0; //Unknown
PriceReminderType_PriceUp = 1; //Price rise to
PriceReminderType_PriceDown = 2; //Price fall to
PriceReminderType_ChangeRateUp = 3; //Daily increase rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_ChangeRateDown = 4; //Daily decline rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateUp = 5; //Increate rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateDown = 6; //Decline rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_VolumeUp = 7; //Volume exceeds
PriceReminderType_TurnoverUp = 8; //Turnover exceeds
PriceReminderType_TurnoverRateUp = 9; //Turnover rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_BidPriceUp = 10; //Bid price higher than
PriceReminderType_AskPriceDown = 11; //Ask price lower than
PriceReminderType_BidVolUp = 12; //Bid volume higher than
PriceReminderType_AskVolUp = 13; //Ask volume higher than
PriceReminderType_3MinChangeRateUp = 14; //Increate rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_3MinChangeRateDown = 15; //Decline rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PriceReminderType
enum PriceReminderType
{
PriceReminderType_Unknown = 0; //Unknown
PriceReminderType_PriceUp = 1; //Price rise to
PriceReminderType_PriceDown = 2; //Price fall to
PriceReminderType_ChangeRateUp = 3; //Daily increase rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_ChangeRateDown = 4; //Daily decline rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateUp = 5; //Increate rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateDown = 6; //Decline rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_VolumeUp = 7; //Volume exceeds
PriceReminderType_TurnoverUp = 8; //Turnover exceeds
PriceReminderType_TurnoverRateUp = 9; //Turnover rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_BidPriceUp = 10; //Bid price higher than
PriceReminderType_AskPriceDown = 11; //Ask price lower than
PriceReminderType_BidVolUp = 12; //Bid volume higher than
PriceReminderType_AskVolUp = 13; //Ask volume higher than
PriceReminderType_3MinChangeRateUp = 14; //Increate rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_3MinChangeRateDown = 15; //Decline rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PriceReminderType
enum PriceReminderType
{
PriceReminderType_Unknown = 0; //Unknown
PriceReminderType_PriceUp = 1; //Price rise to
PriceReminderType_PriceDown = 2; //Price fall to
PriceReminderType_ChangeRateUp = 3; //Daily increase rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_ChangeRateDown = 4; //Daily decline rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateUp = 5; //Increate rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_5MinChangeRateDown = 6; //Decline rate in 5 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_VolumeUp = 7; //Volume exceeds
PriceReminderType_TurnoverUp = 8; //Turnover exceeds
PriceReminderType_TurnoverRateUp = 9; //Turnover rate exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_BidPriceUp = 10; //Bid price higher than
PriceReminderType_AskPriceDown = 11; //Ask price lower than
PriceReminderType_BidVolUp = 12; //Bid volume higher than
PriceReminderType_AskVolUp = 13; //Ask volume higher than
PriceReminderType_3MinChangeRateUp = 14; //Increate rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
PriceReminderType_3MinChangeRateDown = 15; //Decline rate in 3 minutes exceeds (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Warrant in/out of the Money
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PriceType
UNKNOWUnknown
OUTSIDEOut of the money
WITH_INIn the money
PriceType
enum PriceType
{
PriceType_Unknow = 0; //Unknown
PriceType_Outside = 1; //Out of the money
PriceType_WithIn = 2; //In the money
}
2
3
4
5
6
PriceType
enum PriceType
{
PriceType_Unknow = 0; //Unknown
PriceType_Outside = 1; //Out of the money
PriceType_WithIn = 2; //In the money
}
2
3
4
5
6
PriceType
enum PriceType
{
PriceType_Unknow = 0; //Unknown
PriceType_Outside = 1; //Out of the money
PriceType_WithIn = 2; //In the money
}
2
3
4
5
6
PriceType
enum PriceType
{
PriceType_Unknow = 0; //Unknown
PriceType_Outside = 1; //Out of the money
PriceType_WithIn = 2; //In the money
}
2
3
4
5
6
PriceType
enum PriceType
{
PriceType_Unknow = 0; //Unknown
PriceType_Outside = 1; //Out of the money
PriceType_WithIn = 2; //In the money
}
2
3
4
5
6
# Quote Push Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
PushDataType
UNKNOWUnknown
REALTIMEReal-time data
BYDISCONNPull supplementary data (up to 50) during disconnection from Futu server
CACHENon-real-time non-supplementary data
PushDataType
enum PushDataType
{
PushDataType_Unknow = 0; //Unknown
PushDataType_Real-time = 1; //Real-time data
PushDataType_ByDisConn = 2; //Pull supplementary data during the disconnection of the background market (up to 50)
PushDataType_Cache = 3; //Non-real-time non-supplementary data
}
2
3
4
5
6
7
PushDataType
enum PushDataType
{
PushDataType_Unknow = 0; //Unknown
PushDataType_Real-time = 1; //Real-time data
PushDataType_ByDisConn = 2; //Pull supplementary data during the disconnection of the background market (up to 50)
PushDataType_Cache = 3; //Non-real-time non-supplementary data
}
2
3
4
5
6
7
PushDataType
enum PushDataType
{
PushDataType_Unknow = 0; //Unknown
PushDataType_Real-time = 1; //Real-time data
PushDataType_ByDisConn = 2; //Pull supplementary data during the disconnection of the background market (up to 50)
PushDataType_Cache = 3; //Non-real-time non-supplementary data
}
2
3
4
5
6
7
PushDataType
enum PushDataType
{
PushDataType_Unknow = 0; //Unknown
PushDataType_Real-time = 1; //Real-time data
PushDataType_ByDisConn = 2; //Pull supplementary data during the disconnection of the background market (up to 50)
PushDataType_Cache = 3; //Non-real-time non-supplementary data
}
2
3
4
5
6
7
PushDataType
enum PushDataType
{
PushDataType_Unknow = 0; //Unknown
PushDataType_Real-time = 1; //Real-time data
PushDataType_ByDisConn = 2; //Pull supplementary data during the disconnection of the background market (up to 50)
PushDataType_Cache = 3; //Non-real-time non-supplementary data
}
2
3
4
5
6
7
# Quote Market
- Python
- Proto
- C#
- Java
- C++
- JavaScript
Market
NONEUnknown market
HKHK market
USUS market
SHShanghai market
SZShenzhen market
SGSingapore market
JPJapanese market
AUAustralian market
MYMalaysian market
CACanadian market
FXForex market
QotMarket
enum QotMarket
{
QotMarket_Unknown = 0; //Unknown market
QotMarket_HK_Security = 1; //HK market
QotMarket_HK_Future = 2; //Hong Kong futures market (deprecated, just use QotMarket_HK_Security)
QotMarket_US_Security = 11; //US market
QotMarket_CNSH_Security = 21; //Shanghai market
QotMarket_CNSZ_Security = 22; //Shenzhen market
QotMarket_SG_Security = 31; //Singapore market
QotMarket_JP_Security = 41; //Japanese market
QotMarket_AU_Security = 51; //Australian market
QotMarket_MY_Security = 61; //Malaysian market
QotMarket_CA_Security = 71; //Canadian market
QotMarket_FX_Security = 81; //Forex market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
QotMarket
enum QotMarket
{
QotMarket_Unknown = 0; //Unknown market
QotMarket_HK_Security = 1; //Hong Kong stock market
QotMarket_HK_Future = 2; //Hong Kong futures market (deprecated, just use QotMarket_HK_Security)
QotMarket_US_Security = 11; //US stock market
QotMarket_CNSH_Security = 21; //Shanghai stock market
QotMarket_CNSZ_Security = 22; //Shenzhen stock market
QotMarket_SG_Security = 31; //Singapore market
QotMarket_JP_Security = 41; //Japanese market
QotMarket_AU_Security = 51; //Australian market
QotMarket_MY_Security = 61; //Malaysian market
QotMarket_CA_Security = 71; //Canadian market
QotMarket_FX_Security = 81; //Forex market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
QotMarket
enum QotMarket
{
QotMarket_Unknown = 0; //Unknown market
QotMarket_HK_Security = 1; //Hong Kong stock market
QotMarket_HK_Future = 2; //Hong Kong futures market (deprecated, just use QotMarket_HK_Security)
QotMarket_US_Security = 11; //US stock market
QotMarket_CNSH_Security = 21; //Shanghai stock market
QotMarket_CNSZ_Security = 22; //Shenzhen stock market
QotMarket_SG_Security = 31; //Singapore market
QotMarket_JP_Security = 41; //Japanese market
QotMarket_AU_Security = 51; //Australian market
QotMarket_MY_Security = 61; //Malaysian market
QotMarket_CA_Security = 71; //Canadian market
QotMarket_FX_Security = 81; //Forex market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
QotMarket
enum QotMarket
{
QotMarket_Unknown = 0; //Unknown market
QotMarket_HK_Security = 1; //Hong Kong stock market
QotMarket_HK_Future = 2; //Hong Kong futures market (deprecated, just use QotMarket_HK_Security)
QotMarket_US_Security = 11; //US stock market
QotMarket_CNSH_Security = 21; //Shanghai stock market
QotMarket_CNSZ_Security = 22; //Shenzhen stock market
QotMarket_SG_Security = 31; //Singapore market
QotMarket_JP_Security = 41; //Japanese market
QotMarket_AU_Security = 51; //Australian market
QotMarket_MY_Security = 61; //Malaysian market
QotMarket_CA_Security = 71; //Canadian market
QotMarket_FX_Security = 81; //Forex market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
QotMarket
enum QotMarket
{
QotMarket_Unknown = 0; //Unknown market
QotMarket_HK_Security = 1; //Hong Kong stock market
QotMarket_HK_Future = 2; //Hong Kong futures market (deprecated, just use QotMarket_HK_Security)
QotMarket_US_Security = 11; //US stock market
QotMarket_CNSH_Security = 21; //Shanghai stock market
QotMarket_CNSZ_Security = 22; //Shenzhen stock market
QotMarket_SG_Security = 31; //Singapore market
QotMarket_JP_Security = 41; //Japanese market
QotMarket_AU_Security = 51; //Australian market
QotMarket_MY_Security = 61; //Malaysian market
QotMarket_CA_Security = 71; //Canadian market
QotMarket_FX_Security = 81; //Forex market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Market State
- Python
- Proto
- C#
- Java
- C++
- JavaScript
MarketState
Corresponding time period of each market state, click here to learn more
NONENo trading
AUCTIONPre-market trading
WAITING_OPENWaiting for opening
MORNINGMorning session
RESTLunch break
AFTERNOONAfternoon session / Regular trading hours for U.S stock market
CLOSEDMarket closed
PRE_MARKET_BEGINPre-market trading of U.S stock market
PRE_MARKET_ENDPre-market ending of U.S stock market
AFTER_HOURS_BEGINAfter-hours trading of U.S stock market
AFTER_HOURS_ENDMarket closed of U.S. stock market
OVERNIGHTOvernight trading of U.S. stock market
NIGHT_OPENNight market trading hours
NIGHT_ENDNight market closed
NIGHTNight market trading hours for U.S. index options
TRADE_AT_LASTLate trading hours for U.S. index options
FUTURE_DAY_OPENDay market trading hours
FUTURE_DAY_BREAKDay market break
FUTURE_DAY_CLOSEDay market closed
FUTURE_DAY_WAIT_OPENFutures market wait for opening
HK_CASAfter-hours bidding for HK stocks
FUTURE_NIGHT_WAITFutures night market wait for opening (Obsolete)
FUTURE_AFTERNOONFutures afternoon (Obsolete)
FUTURE_SWITCH_DATEWaiting for U.S. futures opening
FUTURE_OPENTrading hours of U.S. futures
FUTURE_BREAKBreak of U.S. futures
FUTURE_BREAK_OVERTrading hours of U.S. futures after break
FUTURE_CLOSEMarket closed of U.S. futures
STIB_AFTER_HOURS_WAITAfter-hours matching period on the Sci-tech innovation plate (Obsolete)
STIB_AFTER_HOURS_BEGINAfter-hours trading on the Sci-tech innovation plate begins (Obsolete)
STIB_AFTER_HOURS_ENDAfter-hours trading on the Sci-tech innovation plate ends (Obsolete)
QotMarketState
Corresponding time period of each market state, click here to learn more
enum QotMarketState
{
QotMarketState_None = 0; //No trading
QotMarketState_Auction = 1; //Pre-market trading
QotMarketState_WaitingOpen = 2; //Waiting for opening
QotMarketState_Morning = 3; //Morning session
QotMarketState_Rest = 4; //Lunch break
QotMarketState_Afternoon = 5; //Afternoon session / Regular trading hours for U.S stock market
QotMarketState_Closed = 6; //Market closed
QotMarketState_PreMarketBegin = 8; //Pre-market trading of U.S stock market
QotMarketState_PreMarketEnd = 9; //Pre-market ending of U.S stock market
QotMarketState_AfterHoursBegin = 10; //After-hours trading of U.S stock market
QotMarketState_AfterHoursEnd = 11; //Market closed of U.S. stock market
QotMarketState_NightOpen = 13; //Night market trading hours
QotMarketState_NightEnd = 14; //Night market closed
QotMarketState_FutureDayOpen = 15; //Day market trading hours
QotMarketState_FutureDayBreak = 16; //Day market break
QotMarketState_FutureDayClose = 17; //Day market closed
QotMarketState_FutureDayWaitForOpen = 18; //Futures market wait for opening
QotMarketState_HkCas = 19; //After-hours bidding
QotMarketState_FutureNightWait = 20; //Futures night market wait for opening (Obsolete)
QotMarketState_FutureAfternoon = 21; //Futures afternoon (Obsolete)
//New status of US futures
QotMarketState_FutureSwitchDate = 22; //Waiting for U.S. futures opening
QotMarketState_FutureOpen = 23; //Trading hours of U.S. futures
QotMarketState_FutureBreak = 24; //Break of U.S. futures
QotMarketState_FutureBreakOver = 25; //Trading hours of U.S. futures after break
QotMarketState_FutureClose = 26; //Market closed of U.S. futures
//New status of Sci-tech Innovation Board
QotMarketState_StibAfterHoursWait = 27; //After-hours matching period on the Sci-tech innovation plate(Obsolete)
QotMarketState_StibAfterHoursBegin = 28; //After-hours trading on the Sci-tech innovation plate begins(Obsolete)
QotMarketState_StibAfterHoursEnd = 29; //After-hours trading on the Sci-tech innovation plate ends(Obsolete)
//New status for US index options
QotMarketState_NIGHT = 32; //Night trading hours of U.S. index options
QotMarketState_TRADE_AT_LAST = 35; //Late trading hours of U.S. index options
QotMarketState_OVERNIGHT = 37; //Overnight trading hours for U.S stock market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
QotMarketState
Corresponding time period of each market state, click here to learn more
enum QotMarketState
{
QotMarketState_None = 0; //No trading
QotMarketState_Auction = 1; //Pre-market trading
QotMarketState_WaitingOpen = 2; //Waiting for opening
QotMarketState_Morning = 3; //Morning session
QotMarketState_Rest = 4; //Lunch break
QotMarketState_Afternoon = 5; //Afternoon session / Regular trading hours for U.S stock market
QotMarketState_Closed = 6; //Market closed
QotMarketState_PreMarketBegin = 8; //Pre-market trading of U.S stock market
QotMarketState_PreMarketEnd = 9; //Pre-market ending of U.S stock market
QotMarketState_AfterHoursBegin = 10; //After-hours trading of U.S stock market
QotMarketState_AfterHoursEnd = 11; //Market closed of U.S. stock market
QotMarketState_NightOpen = 13; //Night market trading hours
QotMarketState_NightEnd = 14; //Night market closed
QotMarketState_FutureDayOpen = 15; //Day market trading hours
QotMarketState_FutureDayBreak = 16; //Day market break
QotMarketState_FutureDayClose = 17; //Day market closed
QotMarketState_FutureDayWaitForOpen = 18; //Futures market wait for opening
QotMarketState_HkCas = 19; //After-hours bidding
QotMarketState_FutureNightWait = 20; //Futures night market wait for opening (Obsolete)
QotMarketState_FutureAfternoon = 21; //Futures afternoon (Obsolete)
//New status of US futures
QotMarketState_FutureSwitchDate = 22; //Waiting for U.S. futures opening
QotMarketState_FutureOpen = 23; //Trading hours of U.S. futures
QotMarketState_FutureBreak = 24; //Break of U.S. futures
QotMarketState_FutureBreakOver = 25; //Trading hours of U.S. futures after break
QotMarketState_FutureClose = 26; //Market closed of U.S. futures
//New status of Sci-tech Innovation Board
QotMarketState_StibAfterHoursWait = 27; //After-hours matching period on the Sci-tech innovation plate(Obsolete)
QotMarketState_StibAfterHoursBegin = 28; //After-hours trading on the Sci-tech innovation plate begins(Obsolete)
QotMarketState_StibAfterHoursEnd = 29; //After-hours trading on the Sci-tech innovation plate ends(Obsolete)
//New status for US index options
QotMarketState_NIGHT = 32; //Night trading hours of U.S. index options
QotMarketState_TRADE_AT_LAST = 35; //Late trading hours of U.S. index options
QotMarketState_OVERNIGHT = 37; //Overnight trading hours for U.S stock market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
QotMarketState
Corresponding time period of each market state, click here to learn more
enum QotMarketState
{
QotMarketState_None = 0; //No trading
QotMarketState_Auction = 1; //Pre-market trading
QotMarketState_WaitingOpen = 2; //Waiting for opening
QotMarketState_Morning = 3; //Morning session
QotMarketState_Rest = 4; //Lunch break
QotMarketState_Afternoon = 5; //Afternoon session / Regular trading hours for U.S stock market
QotMarketState_Closed = 6; //Market closed
QotMarketState_PreMarketBegin = 8; //Pre-market trading of U.S stock market
QotMarketState_PreMarketEnd = 9; //Pre-market ending of U.S stock market
QotMarketState_AfterHoursBegin = 10; //After-hours trading of U.S stock market
QotMarketState_AfterHoursEnd = 11; //Market closed of U.S. stock market
QotMarketState_NightOpen = 13; //Night market trading hours
QotMarketState_NightEnd = 14; //Night market closed
QotMarketState_FutureDayOpen = 15; //Day market trading hours
QotMarketState_FutureDayBreak = 16; //Day market break
QotMarketState_FutureDayClose = 17; //Day market closed
QotMarketState_FutureDayWaitForOpen = 18; //Futures market wait for opening
QotMarketState_HkCas = 19; //After-hours bidding
QotMarketState_FutureNightWait = 20; //Futures night market wait for opening (Obsolete)
QotMarketState_FutureAfternoon = 21; //Futures afternoon (Obsolete)
//New status of US futures
QotMarketState_FutureSwitchDate = 22; //Waiting for U.S. futures opening
QotMarketState_FutureOpen = 23; //Trading hours of U.S. futures
QotMarketState_FutureBreak = 24; //Break of U.S. futures
QotMarketState_FutureBreakOver = 25; //Trading hours of U.S. futures after break
QotMarketState_FutureClose = 26; //Market closed of U.S. futures
//New status of Sci-tech Innovation Board
QotMarketState_StibAfterHoursWait = 27; //After-hours matching period on the Sci-tech innovation plate(Obsolete)
QotMarketState_StibAfterHoursBegin = 28; //After-hours trading on the Sci-tech innovation plate begins(Obsolete)
QotMarketState_StibAfterHoursEnd = 29; //After-hours trading on the Sci-tech innovation plate ends(Obsolete)
//New status for US index options
QotMarketState_NIGHT = 32; //Night trading hours of U.S. index options
QotMarketState_TRADE_AT_LAST = 35; //Late trading hours of U.S. index options
QotMarketState_OVERNIGHT = 37; //Overnight trading hours for U.S stock market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
QotMarketState
Corresponding time period of each market state, click here to learn more
enum QotMarketState
{
QotMarketState_None = 0; //No trading
QotMarketState_Auction = 1; //Pre-market trading
QotMarketState_WaitingOpen = 2; //Waiting for opening
QotMarketState_Morning = 3; //Morning session
QotMarketState_Rest = 4; //Lunch break
QotMarketState_Afternoon = 5; //Afternoon session / Regular trading hours for U.S stock market
QotMarketState_Closed = 6; //Market closed
QotMarketState_PreMarketBegin = 8; //Pre-market trading of U.S stock market
QotMarketState_PreMarketEnd = 9; //Pre-market ending of U.S stock market
QotMarketState_AfterHoursBegin = 10; //After-hours trading of U.S stock market
QotMarketState_AfterHoursEnd = 11; //Market closed of U.S. stock market
QotMarketState_NightOpen = 13; //Night market trading hours
QotMarketState_NightEnd = 14; //Night market closed
QotMarketState_FutureDayOpen = 15; //Day market trading hours
QotMarketState_FutureDayBreak = 16; //Day market break
QotMarketState_FutureDayClose = 17; //Day market closed
QotMarketState_FutureDayWaitForOpen = 18; //Futures market wait for opening
QotMarketState_HkCas = 19; //After-hours bidding
QotMarketState_FutureNightWait = 20; //Futures night market wait for opening (Obsolete)
QotMarketState_FutureAfternoon = 21; //Futures afternoon (Obsolete)
//New status of US futures
QotMarketState_FutureSwitchDate = 22; //Waiting for U.S. futures opening
QotMarketState_FutureOpen = 23; //Trading hours of U.S. futures
QotMarketState_FutureBreak = 24; //Break of U.S. futures
QotMarketState_FutureBreakOver = 25; //Trading hours of U.S. futures after break
QotMarketState_FutureClose = 26; //Market closed of U.S. futures
//New status of Sci-tech Innovation Board
QotMarketState_StibAfterHoursWait = 27; //After-hours matching period on the Sci-tech innovation plate(Obsolete)
QotMarketState_StibAfterHoursBegin = 28; //After-hours trading on the Sci-tech innovation plate begins(Obsolete)
QotMarketState_StibAfterHoursEnd = 29; //After-hours trading on the Sci-tech innovation plate ends(Obsolete)
//New status for US index options
QotMarketState_NIGHT = 32; //Night trading hours of U.S. index options
QotMarketState_TRADE_AT_LAST = 35; //Late trading hours of U.S. index options
QotMarketState_OVERNIGHT = 37; //Overnight trading hours for U.S stock market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
QotMarketState
Corresponding time period of each market state, click here to learn more
enum QotMarketState
{
QotMarketState_None = 0; //No trading
QotMarketState_Auction = 1; //Pre-market trading
QotMarketState_WaitingOpen = 2; //Waiting for opening
QotMarketState_Morning = 3; //Morning session
QotMarketState_Rest = 4; //Lunch break
QotMarketState_Afternoon = 5; //Afternoon session / Regular trading hours for U.S stock market
QotMarketState_Closed = 6; //Market closed
QotMarketState_PreMarketBegin = 8; //Pre-market trading of U.S stock market
QotMarketState_PreMarketEnd = 9; //Pre-market ending of U.S stock market
QotMarketState_AfterHoursBegin = 10; //After-hours trading of U.S stock market
QotMarketState_AfterHoursEnd = 11; //Market closed of U.S. stock market
QotMarketState_NightOpen = 13; //Night market trading hours
QotMarketState_NightEnd = 14; //Night market closed
QotMarketState_FutureDayOpen = 15; //Day market trading hours
QotMarketState_FutureDayBreak = 16; //Day market break
QotMarketState_FutureDayClose = 17; //Day market closed
QotMarketState_FutureDayWaitForOpen = 18; //Futures market wait for opening
QotMarketState_HkCas = 19; //After-hours bidding
QotMarketState_FutureNightWait = 20; //Futures night market wait for opening (Obsolete)
QotMarketState_FutureAfternoon = 21; //Futures afternoon (Obsolete)
//New status of US futures
QotMarketState_FutureSwitchDate = 22; //Waiting for U.S. futures opening
QotMarketState_FutureOpen = 23; //Trading hours of U.S. futures
QotMarketState_FutureBreak = 24; //Break of U.S. futures
QotMarketState_FutureBreakOver = 25; //Trading hours of U.S. futures after break
QotMarketState_FutureClose = 26; //Market closed of U.S. futures
//New status of Sci-tech Innovation Board
QotMarketState_StibAfterHoursWait = 27; //After-hours matching period on the Sci-tech innovation plate(Obsolete)
QotMarketState_StibAfterHoursBegin = 28; //After-hours trading on the Sci-tech innovation plate begins(Obsolete)
QotMarketState_StibAfterHoursEnd = 29; //After-hours trading on the Sci-tech innovation plate ends(Obsolete)
//New status for US index options
QotMarketState_NIGHT = 32; //Night trading hours of U.S. index options
QotMarketState_TRADE_AT_LAST = 35; //Late trading hours of U.S. index options
QotMarketState_OVERNIGHT = 37; //Overnight trading hours for U.S stock market
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# US Stock Session
- Python
- Proto
- C#
- Java
- C++
- JavaScript
Session
NONEUnknown
RTHUS Stocks Regular trading hours
ETHUS Stocks Pre/Post + regular trading hours
OVERNIGHTUS Stocks Overnight trading hours (only applied to Trade API)
ALLUS Stocks 24H trading hours (applied to Quote API & Trade API)
Session
enum Session
{
Session_NONE = 0; // Unknown
Session_RTH = 1; // Regular Trading Hours
Session_ETH = 2; // RTH + Pre/Post-Mkt
Session_ALL = 3; // 24 Hour Trading
Session_OVERNIGHT = 4; // Overnight Trading
}
2
3
4
5
6
7
8
Session
enum Session
{
Session_NONE = 0; // Unknown
Session_RTH = 1; // Regular Trading Hours
Session_ETH = 2; // RTH + Pre/Post-Mkt
Session_ALL = 3; // 24 Hour Trading
Session_OVERNIGHT = 4; // Overnight Trading
}
2
3
4
5
6
7
8
Session
enum Session
{
Session_NONE = 0; // Unknown
Session_RTH = 1; // Regular Trading Hours
Session_ETH = 2; // RTH + Pre/Post-Mkt
Session_ALL = 3; // 24 Hour Trading
Session_OVERNIGHT = 4; // Overnight Trading
}
2
3
4
5
6
7
8
Session
enum Session
{
Session_NONE = 0; // Unknown
Session_RTH = 1; // Regular Trading Hours
Session_ETH = 2; // RTH + Pre/Post-Mkt
Session_ALL = 3; // 24 Hour Trading
Session_OVERNIGHT = 4; // Overnight Trading
}
2
3
4
5
6
7
8
Session
enum Session
{
Session_NONE = 0; // Unknown
Session_RTH = 1; // Regular Trading Hours
Session_ETH = 2; // RTH + Pre/Post-Mkt
Session_ALL = 3; // 24 Hour Trading
Session_OVERNIGHT = 4; // Overnight Trading
}
2
3
4
5
6
7
8
# Quote Authorities
- Python
- Proto
- C#
- Java
- C++
- JavaScript
QotRight
UNKNOWUnknown
BMPBMP (subscription is not supported for this permission)
LEVEL1Level1
LEVEL2Level2
SFHK Securities FullTick Quotes
NONo permission
QotRight
enum QotRight
{
QotRight_Unknow = 0; //Unknown
QotRight_Bmp = 1; //BMP (subscription is not supported for this permission)
QotRight_Level1 = 2; //Level1
QotRight_Level2 = 3; //Level2
QotRight_SF = 4; //SF advanced market
QotRight_No = 5; //No permission
}
2
3
4
5
6
7
8
9
QotRight
enum QotRight
{
QotRight_Unknow = 0; //Unknown
QotRight_Bmp = 1; //BMP (subscription is not supported for this permission)
QotRight_Level1 = 2; //Level1
QotRight_Level2 = 3; //Level2
QotRight_SF = 4; //SF advanced market
QotRight_No = 5; //No permission
}
2
3
4
5
6
7
8
9
QotRight
enum QotRight
{
QotRight_Unknow = 0; //Unknown
QotRight_Bmp = 1; //BMP (subscription is not supported for this permission)
QotRight_Level1 = 2; //Level1
QotRight_Level2 = 3; //Level2
QotRight_SF = 4; //SF advanced market
QotRight_No = 5; //No permission
}
2
3
4
5
6
7
8
9
QotRight
enum QotRight
{
QotRight_Unknow = 0; //Unknown
QotRight_Bmp = 1; //BMP (subscription is not supported for this permission)
QotRight_Level1 = 2; //Level1
QotRight_Level2 = 3; //Level2
QotRight_SF = 4; //SF advanced market
QotRight_No = 5; //No permission
}
2
3
4
5
6
7
8
9
QotRight
enum QotRight
{
QotRight_Unknow = 0; //Unknown
QotRight_Bmp = 1; //BMP (subscription is not supported for this permission)
QotRight_Level1 = 2; //Level1
QotRight_Level2 = 3; //Level2
QotRight_SF = 4; //SF advanced market
QotRight_No = 5; //No permission
}
2
3
4
5
6
7
8
9
# Associated * Data Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SecurityReferenceType
UNKNOWUnknown
WARRANTWarrants for stocks
FUTUREContracts related to futures main
ReferenceType
enum ReferenceType
{
ReferenceType_Unknow = 0; //Unknown
ReferenceType_Warrant = 1; //Warrants for stocks
ReferenceType_Future = 2; //Contracts related to futures main
}
2
3
4
5
6
ReferenceType
enum ReferenceType
{
ReferenceType_Unknow = 0; //Unknown
ReferenceType_Warrant = 1; //Warrants for stocks
ReferenceType_Future = 2; //Contracts related to futures main
}
2
3
4
5
6
ReferenceType
enum ReferenceType
{
ReferenceType_Unknow = 0; //Unknown
ReferenceType_Warrant = 1; //Warrants for stocks
ReferenceType_Future = 2; //Contracts related to futures main
}
2
3
4
5
6
ReferenceType
enum ReferenceType
{
ReferenceType_Unknow = 0; //Unknown
ReferenceType_Warrant = 1; //Warrants for stocks
ReferenceType_Future = 2; //Contracts related to futures main
}
2
3
4
5
6
ReferenceType
enum ReferenceType
{
ReferenceType_Unknow = 0; //Unknown
ReferenceType_Warrant = 1; //Warrants for stocks
ReferenceType_Future = 2; //Contracts related to futures main
}
2
3
4
5
6
# Candlestick Adjustment Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
AuType
NONEActual
QFQAdjust forward
HFQAdjust backward
RehabType
enum RehabType
{
RehabType_None = 0; //Actual
RehabType_Forward = 1; //Adjust forward
RehabType_Backward = 2; //Adjust backward
}
2
3
4
5
6
RehabType
enum RehabType
{
RehabType_None = 0; //Actual
RehabType_Forward = 1; //Adjust forward
RehabType_Backward = 2; //Adjust backward
}
2
3
4
5
6
RehabType
enum RehabType
{
RehabType_None = 0; //Actual
RehabType_Forward = 1; //Adjust forward
RehabType_Backward = 2; //Adjust backward
}
2
3
4
5
6
RehabType
enum RehabType
{
RehabType_None = 0; //Actual
RehabType_Forward = 1; //Adjust forward
RehabType_Backward = 2; //Adjust backward
}
2
3
4
5
6
RehabType
enum RehabType
{
RehabType_None = 0; //Actual
RehabType_Forward = 1; //Adjust forward
RehabType_Backward = 2; //Adjust backward
}
2
3
4
5
6
# Stock Status
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SecurityStatus
NONEUnknown
NORMALNormal status
LISTINGTo be listed
PURCHASINGPurchasing
SUBSCRIBINGSubscribing
BEFORE_DRAK_TRADE_OPENINGBefore the grey market trading opens
DRAK_TRADINGOngoing grey market trading
DRAK_TRADE_ENDGrey market trading closed
TO_BE_OPENTo be open
SUSPENDEDSuspended
CALLEDCalled
EXPIRED_LAST_TRADING_DATEExpired latest trading date
EXPIREDExpired
DELISTEDDelisted
CHANGE_TO_TEMPORARY_CODEDuring the company action, the trading was closed and transferred to the temporary code trading
TEMPORARY_CODE_TRADE_ENDTemporary trading ends
CHANGED_PLATE_TRADE_ENDPlate changed, the old code is not available for trading
CHANGED_CODE_TRADE_ENDThe code has been changed, the old code is not available for trading
RECOVERABLE_CIRCUIT_BREAKERRecoverable circuit breaker
UN_RECOVERABLE_CIRCUIT_BREAKERUnrecoverable circuit breaker
AFTER_COMBINATIONAfter-hours matchmaking
AFTER_TRANSATIONAfter-hours trading
SecurityStatus
enum SecurityStatus
{
SecurityStatus_Unknown = 0; //Unknown
SecurityStatus_Normal = 1; //Normal status
SecurityStatus_Listing = 2; //To be listed
SecurityStatus_Purchasing = 3; //Purchasing
SecurityStatus_Subscribing = 4; //Subscribing
SecurityStatus_BeforeDrakTradeOpening = 5; //Before the grey market trading opens
SecurityStatus_DrakTrading = 6; //Ongoing grey market trading
SecurityStatus_DrakTradeEnd = 7; //Grey market trading closed
SecurityStatus_ToBeOpen = 8; //To be open
SecurityStatus_Suspended = 9; //Suspended
SecurityStatus_Called = 10; //Called
SecurityStatus_ExpiredLastTradingDate = 11; //Expired latest trading date
SecurityStatus_Expired = 12; //Expired
SecurityStatus_Delisted = 13; //Delisted
SecurityStatus_ChangeToTemporaryCode = 14; //During the company action, the trading was closed and transferred to the temporary code trading
SecurityStatus_TemporaryCodeTradeEnd = 15; //Temporary trading ends
SecurityStatus_ChangedPlateTradeEnd = 16; //Plate changed, the old trading code is not available
SecurityStatus_ChangedCodeTradeEnd = 17; //The code has been changed, the old code is not available
SecurityStatus_RecoverableCircuitBreaker = 18; //Recoverable circuit breaker
SecurityStatus_UnRecoverableCircuitBreaker = 19; //Unrecoverable circuit breaker
SecurityStatus_AfterCombination = 20; //After-hours matchmaking
SecurityStatus_AfterTransation = 21; //After-hours trading
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SecurityStatus
enum SecurityStatus
{
SecurityStatus_Unknown = 0; //Unknown
SecurityStatus_Normal = 1; //Normal status
SecurityStatus_Listing = 2; //To be listed
SecurityStatus_Purchasing = 3; //Purchasing
SecurityStatus_Subscribing = 4; //Subscribing
SecurityStatus_BeforeDrakTradeOpening = 5; //Before the grey market trading opens
SecurityStatus_DrakTrading = 6; //Ongoing grey market trading
SecurityStatus_DrakTradeEnd = 7; //Grey market trading closed
SecurityStatus_ToBeOpen = 8; //To be open
SecurityStatus_Suspended = 9; //Suspended
SecurityStatus_Called = 10; //Called
SecurityStatus_ExpiredLastTradingDate = 11; //Expired latest trading date
SecurityStatus_Expired = 12; //Expired
SecurityStatus_Delisted = 13; //Delisted
SecurityStatus_ChangeToTemporaryCode = 14; //During the company action, the trading was closed and transferred to the temporary code trading
SecurityStatus_TemporaryCodeTradeEnd = 15; //Temporary trading ends
SecurityStatus_ChangedPlateTradeEnd = 16; //Plate changed, the old trading code is not available
SecurityStatus_ChangedCodeTradeEnd = 17; //The code has been changed, the old code is not available
SecurityStatus_RecoverableCircuitBreaker = 18; //Recoverable circuit breaker
SecurityStatus_UnRecoverableCircuitBreaker = 19; //Unrecoverable circuit breaker
SecurityStatus_AfterCombination = 20; //After-hours matchmaking
SecurityStatus_AfterTransation = 21; //After-hours trading
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SecurityStatus
enum SecurityStatus
{
SecurityStatus_Unknown = 0; //Unknown
SecurityStatus_Normal = 1; //Normal status
SecurityStatus_Listing = 2; //To be listed
SecurityStatus_Purchasing = 3; //Purchasing
SecurityStatus_Subscribing = 4; //Subscribing
SecurityStatus_BeforeDrakTradeOpening = 5; //Before the grey market trading opens
SecurityStatus_DrakTrading = 6; //Ongoing grey market trading
SecurityStatus_DrakTradeEnd = 7; //Grey market trading closed
SecurityStatus_ToBeOpen = 8; //To be open
SecurityStatus_Suspended = 9; //Suspended
SecurityStatus_Called = 10; //Called
SecurityStatus_ExpiredLastTradingDate = 11; //Expired latest trading date
SecurityStatus_Expired = 12; //Expired
SecurityStatus_Delisted = 13; //Delisted
SecurityStatus_ChangeToTemporaryCode = 14; //During the company action, the trading was closed and transferred to the temporary code trading
SecurityStatus_TemporaryCodeTradeEnd = 15; //Temporary trading ends
SecurityStatus_ChangedPlateTradeEnd = 16; //Plate changed, the old trading code is not available
SecurityStatus_ChangedCodeTradeEnd = 17; //The code has been changed, the old code is not available
SecurityStatus_RecoverableCircuitBreaker = 18; //Recoverable circuit breaker
SecurityStatus_UnRecoverableCircuitBreaker = 19; //Unrecoverable circuit breaker
SecurityStatus_AfterCombination = 20; //After-hours matchmaking
SecurityStatus_AfterTransation = 21; //After-hours trading
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SecurityStatus
enum SecurityStatus
{
SecurityStatus_Unknown = 0; //Unknown
SecurityStatus_Normal = 1; //Normal status
SecurityStatus_Listing = 2; //To be listed
SecurityStatus_Purchasing = 3; //Purchasing
SecurityStatus_Subscribing = 4; //Subscribing
SecurityStatus_BeforeDrakTradeOpening = 5; //Before the grey market trading opens
SecurityStatus_DrakTrading = 6; //Ongoing grey market trading
SecurityStatus_DrakTradeEnd = 7; //Grey market trading closed
SecurityStatus_ToBeOpen = 8; //To be open
SecurityStatus_Suspended = 9; //Suspended
SecurityStatus_Called = 10; //Called
SecurityStatus_ExpiredLastTradingDate = 11; //Expired latest trading date
SecurityStatus_Expired = 12; //Expired
SecurityStatus_Delisted = 13; //Delisted
SecurityStatus_ChangeToTemporaryCode = 14; //During the company action, the trading was closed and transferred to the temporary code trading
SecurityStatus_TemporaryCodeTradeEnd = 15; //Temporary trading ends
SecurityStatus_ChangedPlateTradeEnd = 16; //Plate changed, the old trading code is not available
SecurityStatus_ChangedCodeTradeEnd = 17; //The code has been changed, the old code is not available
SecurityStatus_RecoverableCircuitBreaker = 18; //Recoverable circuit breaker
SecurityStatus_UnRecoverableCircuitBreaker = 19; //Unrecoverable circuit breaker
SecurityStatus_AfterCombination = 20; //After-hours matchmaking
SecurityStatus_AfterTransation = 21; //After-hours trading
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SecurityStatus
enum SecurityStatus
{
SecurityStatus_Unknown = 0; //Unknown
SecurityStatus_Normal = 1; //Normal status
SecurityStatus_Listing = 2; //To be listed
SecurityStatus_Purchasing = 3; //Purchasing
SecurityStatus_Subscribing = 4; //Subscribing
SecurityStatus_BeforeDrakTradeOpening = 5; //Before the grey market trading opens
SecurityStatus_DrakTrading = 6; //Ongoing grey market trading
SecurityStatus_DrakTradeEnd = 7; //Grey market trading closed
SecurityStatus_ToBeOpen = 8; //To be open
SecurityStatus_Suspended = 9; //Suspended
SecurityStatus_Called = 10; //Called
SecurityStatus_ExpiredLastTradingDate = 11; //Expired latest trading date
SecurityStatus_Expired = 12; //Expired
SecurityStatus_Delisted = 13; //Delisted
SecurityStatus_ChangeToTemporaryCode = 14; //During the company action, the trading was closed and transferred to the temporary code trading
SecurityStatus_TemporaryCodeTradeEnd = 15; //Temporary trading ends
SecurityStatus_ChangedPlateTradeEnd = 16; //Plate changed, the old trading code is not available
SecurityStatus_ChangedCodeTradeEnd = 17; //The code has been changed, the old code is not available
SecurityStatus_RecoverableCircuitBreaker = 18; //Recoverable circuit breaker
SecurityStatus_UnRecoverableCircuitBreaker = 19; //Unrecoverable circuit breaker
SecurityStatus_AfterCombination = 20; //After-hours matchmaking
SecurityStatus_AfterTransation = 21; //After-hours trading
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Stock Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SecurityType
NONEUnknown
BONDBonds
BWRTBlanket warrants
STOCKStocks
ETFETFs
WARRANTWarrants
IDXIndexs
PLATEPlates
DRVTOptions
PLATESETPlate sets
FUTUREFutures
SecurityType
enum SecurityType
{
SecurityType_Unknown = 0; //Unknown
SecurityType_Bond = 1; //Bonds
SecurityType_Bwrt = 2; //Blanket warrants
SecurityType_Eqty = 3; //Stocks
SecurityType_Trust = 4; //ETFs
SecurityType_Warrant = 5; //Warrants
SecurityType_Index = 6; //Indexs
SecurityType_Plate = 7; //Plates
SecurityType_Drvt = 8; //Options
SecurityType_PlateSet = 9; //Plate Sets
SecurityType_Future = 10; //Futures
}
2
3
4
5
6
7
8
9
10
11
12
13
14
SecurityType
enum SecurityType
{
SecurityType_Unknown = 0; //Unknown
SecurityType_Bond = 1; //Bonds
SecurityType_Bwrt = 2; //Blanket warrants
SecurityType_Eqty = 3; //Stocks
SecurityType_Trust = 4; //ETFs
SecurityType_Warrant = 5; //Warrants
SecurityType_Index = 6; //Indexs
SecurityType_Plate = 7; //Plates
SecurityType_Drvt = 8; //Options
SecurityType_PlateSet = 9; //Plate Sets
SecurityType_Future = 10; //Futures
}
2
3
4
5
6
7
8
9
10
11
12
13
14
SecurityType
enum SecurityType
{
SecurityType_Unknown = 0; //Unknown
SecurityType_Bond = 1; //Bonds
SecurityType_Bwrt = 2; //Blanket warrants
SecurityType_Eqty = 3; //Stocks
SecurityType_Trust = 4; //ETFs
SecurityType_Warrant = 5; //Warrants
SecurityType_Index = 6; //Indexs
SecurityType_Plate = 7; //Plates
SecurityType_Drvt = 8; //Options
SecurityType_PlateSet = 9; //Plate Sets
SecurityType_Future = 10; //Futures
}
2
3
4
5
6
7
8
9
10
11
12
13
14
SecurityType
enum SecurityType
{
SecurityType_Unknown = 0; //Unknown
SecurityType_Bond = 1; //Bonds
SecurityType_Bwrt = 2; //Blanket warrants
SecurityType_Eqty = 3; //Stocks
SecurityType_Trust = 4; //ETFs
SecurityType_Warrant = 5; //Warrants
SecurityType_Index = 6; //Indexs
SecurityType_Plate = 7; //Plates
SecurityType_Drvt = 8; //Options
SecurityType_PlateSet = 9; //Plate Sets
SecurityType_Future = 10; //Futures
}
2
3
4
5
6
7
8
9
10
11
12
13
14
SecurityType
enum SecurityType
{
SecurityType_Unknown = 0; //Unknown
SecurityType_Bond = 1; //Bonds
SecurityType_Bwrt = 2; //Blanket warrants
SecurityType_Eqty = 3; //Stocks
SecurityType_Trust = 4; //ETFs
SecurityType_Warrant = 5; //Warrants
SecurityType_Index = 6; //Indexs
SecurityType_Plate = 7; //Plates
SecurityType_Drvt = 8; //Options
SecurityType_PlateSet = 9; //Plate Sets
SecurityType_Future = 10; //Futures
}
2
3
4
5
6
7
8
9
10
11
12
13
14
# Set Price Reminder Operation Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SetPriceReminderOp
NONEUnknown
ADDAdd
DELDelete
ENABLEEnable
DISABLEDisable
MODIFYModify
DEL_ALLDelete all (delete all price alerts under the specified stock)
SetPriceReminderOp
enum SetPriceReminderOp
{
SetPriceReminderOp_Unknown = 0;
SetPriceReminderOp_Add = 1; //Add
SetPriceReminderOp_Del = 2; //Delete
SetPriceReminderOp_Enable = 3; //Enable
SetPriceReminderOp_Disable = 4; //Disable
SetPriceReminderOp_Modify = 5; //Modify
SetPriceReminderOp_DelAll = 6; //Delete all (delete all price reminders under the specified stock)
}
2
3
4
5
6
7
8
9
10
SetPriceReminderOp
enum SetPriceReminderOp
{
SetPriceReminderOp_Unknown = 0;
SetPriceReminderOp_Add = 1; //Add
SetPriceReminderOp_Del = 2; //Delete
SetPriceReminderOp_Enable = 3; //Enable
SetPriceReminderOp_Disable = 4; //Disable
SetPriceReminderOp_Modify = 5; //Modify
SetPriceReminderOp_DelAll = 6; //Delete all (delete all price reminders under the specified stock)
}
2
3
4
5
6
7
8
9
10
SetPriceReminderOp
enum SetPriceReminderOp
{
SetPriceReminderOp_Unknown = 0;
SetPriceReminderOp_Add = 1; //Add
SetPriceReminderOp_Del = 2; //Delete
SetPriceReminderOp_Enable = 3; //Enable
SetPriceReminderOp_Disable = 4; //Disable
SetPriceReminderOp_Modify = 5; //Modify
SetPriceReminderOp_DelAll = 6; //Delete all (delete all price reminders under the specified stock)
}
2
3
4
5
6
7
8
9
10
SetPriceReminderOp
enum SetPriceReminderOp
{
SetPriceReminderOp_Unknown = 0;
SetPriceReminderOp_Add = 1; //Add
SetPriceReminderOp_Del = 2; //Delete
SetPriceReminderOp_Enable = 3; //Enable
SetPriceReminderOp_Disable = 4; //Disable
SetPriceReminderOp_Modify = 5; //Modify
SetPriceReminderOp_DelAll = 6; //Delete all (delete all price reminders under the specified stock)
}
2
3
4
5
6
7
8
9
10
SetPriceReminderOp
enum SetPriceReminderOp
{
SetPriceReminderOp_Unknown = 0;
SetPriceReminderOp_Add = 1; //Add
SetPriceReminderOp_Del = 2; //Delete
SetPriceReminderOp_Enable = 3; //Enable
SetPriceReminderOp_Disable = 4; //Disable
SetPriceReminderOp_Modify = 5; //Modify
SetPriceReminderOp_DelAll = 6; //Delete all (delete all price reminders under the specified stock)
}
2
3
4
5
6
7
8
9
10
# Sort Direction
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SortDir
NONENot sorted
ASCENDAscending
DESCENDDescending
SortDir
enum SortDir
{
SortDir_No = 0; //Do not sort
SortDir_Ascend = 1; //Ascending order
SortDir_Descend = 2; //Descending order
}
2
3
4
5
6
SortDir
enum SortDir
{
SortDir_No = 0; //Do not sort
SortDir_Ascend = 1; //Ascending order
SortDir_Descend = 2; //Descending order
}
2
3
4
5
6
SortDir
enum SortDir
{
SortDir_No = 0; //Do not sort
SortDir_Ascend = 1; //Ascending order
SortDir_Descend = 2; //Descending order
}
2
3
4
5
6
SortDir
enum SortDir
{
SortDir_No = 0; //Do not sort
SortDir_Ascend = 1; //Ascending order
SortDir_Descend = 2; //Descending order
}
2
3
4
5
6
SortDir
enum SortDir
{
SortDir_No = 0; //Do not sort
SortDir_Ascend = 1; //Ascending order
SortDir_Descend = 2; //Descending order
}
2
3
4
5
6
# Sort Field
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SortField
NONEUnknown
CODECode
CUR_PRICELatest price
PRICE_CHANGE_VALPrice changed
CHANGE_RATEYield
STATUSStatus
BID_PRICEBid price
ASK_PRICEAsk price
BID_VOLBid volume
ASK_VOLAsk volume
VOLUMEVolume
TURNOVERTurnover
AMPLITUDEAmplitude
SCOREComprehensive score
PREMIUMPremium
EFFECTIVE_LEVERAGEEffective leverage
DELTAHedging value
For puts and calls onlyIMPLIED_VOLATILITYImplied volatility
For puts and calls onlyTYPEType
STRIKE_PRICEStrike price
BREAK_EVEN_POINTBreak even point
MATURITY_TIMEMaturity date
LIST_TIMEListing date
LAST_TRADE_TIMELastest trading day
LEVERAGELeverage ratio
IN_OUT_MONEYIn/out of the money %
RECOVERY_PRICERecovery price
For CBBCs onlyCHANGE_PRICEChange price
CHANGEChange ratio
STREET_RATEOutstanding percentage (the propotioin of retail investors)
STREET_VOLOutstanding quantity (the volume held by retail investors)
WARRANT_NAMEWarrant name
ISSUERIssuer
LOT_SIZELot size
ISSUE_SIZEIssue size
UPPER_STRIKE_PRICEUpper bound
Only for Inline WarrantsLOWER_STRIKE_PRICELower bound
Only for Inline WarrantsINLINE_PRICE_STATUSIn/out of bounds
Only for Inline WarrantsPRE_CUR_PRICELatest price of pre-market
AFTER_CUR_PRICELatest price of after-hours
PRE_PRICE_CHANGE_VALPre-market changes
AFTER_PRICE_CHANGE_VALAfter-hours changes
PRE_CHANGE_RATEPre-market change rate %
AFTER_CHANGE_RATEAfter-hours change rate %
PRE_AMPLITUDEPre-market amplitude %
AFTER_AMPLITUDEAfter-hours amplitude %
PRE_TURNOVERPre-market turnover
AFTER_TURNOVERAfter-hours turnover
LAST_SETTLE_PRICELast settle price
POSITIONPosition
POSITION_CHANGEDaily increase of position
SortField
enum SortField
{
SortField_Unknow = 0; //Unknown
SortField_Code = 1; //Code
SortField_CurPrice = 2; //Latest price
SortField_PriceChangeVal = 3; //Price changed
SortField_ChangeRate = 4; //Yield
SortField_Status = 5; //Status
SortField_BidPrice = 6; //Bid price
SortField_AskPrice = 7; //Ask price
SortField_BidVol = 8; //Bid volume
SortField_AskVol = 9; //Ask volume
SortField_Volume = 10; //Volume
SortField_Turnover = 11; //Turnover
SortField_Amplitude = 30; //Amplitude
//The following sort fields are only supported for Qot_GetWarrant protocol
SortField_Score = 12; //Comprehensive score
SortField_Premium = 13; //Premium
SortField_EffectiveLeverage = 14; //Effective leverage
SortField_Delta = 15; //Hedging value, for puts and calls only
SortField_ImpliedVolatility = 16; //Implied volatility, for puts and calls only
SortField_Type = 17; //Type
SortField_StrikePrice = 18; //Strike price
SortField_BreakEvenPoint = 19; //Break even point
SortField_MaturityTime = 20; //Maturity date
SortField_ListTime = 21; //Listing date
SortField_LastTradeTime = 22; //Lastest trading day
SortField_Leverage = 23; //Leverage ratio
SortField_InOutMoney = 24; //In/out of the money %
SortField_RecoveryPrice = 25; //Recovery price, for CBBCs only
SortField_ChangePrice = 26; //Change price
SortField_Change = 27; //Change ratio
SortField_StreetRate = 28; //Outstanding percentage (the propotioin of retail investors)
SortField_StreetVol = 29; //Outstanding quantity (the volume held by retail investors)
SortField_WarrantName = 31; //Warrant name
SortField_Issuer = 32; //Issuer
SortField_LotSize = 33; //Lot size
SortField_IssueSize = 34; //Issue size
SortField_UpperStrikePrice = 45; //Upper bound, only for Inline Warrants
SortField_LowerStrikePrice = 46; //Lower bound, only for Inline Warrants
SortField_InLinePriceStatus = 47; //In/out of bounds, only for Inline Warrants
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only support US stocks
SortField_PreCurPrice = 35; //Latest price of pre-market
SortField_AfterCurPrice = 36; //Latest price of after-hours
SortField_PrePriceChangeVal = 37; //Pre-market changes
SortField_AfterPriceChangeVal = 38; //After-hours changes
SortField_PreChangeRate = 39; //Pre-market change rate %
SortField_AfterChangeRate = 40; //After-hours change rate %
SortField_PreAmplitude = 41; //Pre-market amplitude %
SortField_AfterAmplitude = 42; //After-hours amplitude %
SortField_PreTurnover = 43; //Pre-market turnover
SortField_AfterTurnover = 44; //After-hours turnover
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only futures
SortField_LastSettlePrice = 48; //Last settle price
SortField_Position = 49; //Position
SortField_PositionChange = 50; //Daily increase of position
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SortField
enum SortField
{
SortField_Unknow = 0; //Unknown
SortField_Code = 1; //Code
SortField_CurPrice = 2; //Latest price
SortField_PriceChangeVal = 3; //Price changed
SortField_ChangeRate = 4; //Yield
SortField_Status = 5; //Status
SortField_BidPrice = 6; //Bid price
SortField_AskPrice = 7; //Ask price
SortField_BidVol = 8; //Bid volume
SortField_AskVol = 9; //Ask volume
SortField_Volume = 10; //Volume
SortField_Turnover = 11; //Turnover
SortField_Amplitude = 30; //Amplitude
//The following sort fields are only supported for Qot_GetWarrant protocol
SortField_Score = 12; //Comprehensive score
SortField_Premium = 13; //Premium
SortField_EffectiveLeverage = 14; //Effective leverage
SortField_Delta = 15; //Hedging value, for puts and calls only
SortField_ImpliedVolatility = 16; //Implied volatility, for puts and calls only
SortField_Type = 17; //Type
SortField_StrikePrice = 18; //Strike price
SortField_BreakEvenPoint = 19; //Break even point
SortField_MaturityTime = 20; //Maturity date
SortField_ListTime = 21; //Listing date
SortField_LastTradeTime = 22; //Lastest trading day
SortField_Leverage = 23; //Leverage ratio
SortField_InOutMoney = 24; //In/out of the money %
SortField_RecoveryPrice = 25; //Recovery price, for CBBCs only
SortField_ChangePrice = 26; //Change price
SortField_Change = 27; //Change ratio
SortField_StreetRate = 28; //Outstanding percentage (the propotioin of retail investors)
SortField_StreetVol = 29; //Outstanding quantity (the volume held by retail investors)
SortField_WarrantName = 31; //Warrant name
SortField_Issuer = 32; //Issuer
SortField_LotSize = 33; //Lot size
SortField_IssueSize = 34; //Issue size
SortField_UpperStrikePrice = 45; //Upper bound, only for Inline Warrants
SortField_LowerStrikePrice = 46; //Lower bound, only for Inline Warrants
SortField_InLinePriceStatus = 47; //In/out of bounds, only for Inline Warrants
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only support US stocks
SortField_PreCurPrice = 35; //Latest price of pre-market
SortField_AfterCurPrice = 36; //Latest price of after-hours
SortField_PrePriceChangeVal = 37; //Pre-market changes
SortField_AfterPriceChangeVal = 38; //After-hours changes
SortField_PreChangeRate = 39; //Pre-market change rate %
SortField_AfterChangeRate = 40; //After-hours change rate %
SortField_PreAmplitude = 41; //Pre-market amplitude %
SortField_AfterAmplitude = 42; //After-hours amplitude %
SortField_PreTurnover = 43; //Pre-market turnover
SortField_AfterTurnover = 44; //After-hours turnover
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only futures
SortField_LastSettlePrice = 48; //Last settle price
SortField_Position = 49; //Position
SortField_PositionChange = 50; //Daily increase of position
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SortField
enum SortField
{
SortField_Unknow = 0; //Unknown
SortField_Code = 1; //Code
SortField_CurPrice = 2; //Latest price
SortField_PriceChangeVal = 3; //Price changed
SortField_ChangeRate = 4; //Yield
SortField_Status = 5; //Status
SortField_BidPrice = 6; //Bid price
SortField_AskPrice = 7; //Ask price
SortField_BidVol = 8; //Bid volume
SortField_AskVol = 9; //Ask volume
SortField_Volume = 10; //Volume
SortField_Turnover = 11; //Turnover
SortField_Amplitude = 30; //Amplitude
//The following sort fields are only supported for Qot_GetWarrant protocol
SortField_Score = 12; //Comprehensive score
SortField_Premium = 13; //Premium
SortField_EffectiveLeverage = 14; //Effective leverage
SortField_Delta = 15; //Hedging value, for puts and calls only
SortField_ImpliedVolatility = 16; //Implied volatility, for puts and calls only
SortField_Type = 17; //Type
SortField_StrikePrice = 18; //Strike price
SortField_BreakEvenPoint = 19; //Break even point
SortField_MaturityTime = 20; //Maturity date
SortField_ListTime = 21; //Listing date
SortField_LastTradeTime = 22; //Lastest trading day
SortField_Leverage = 23; //Leverage ratio
SortField_InOutMoney = 24; //In/out of the money %
SortField_RecoveryPrice = 25; //Recovery price, for CBBCs only
SortField_ChangePrice = 26; //Change price
SortField_Change = 27; //Change ratio
SortField_StreetRate = 28; //Outstanding percentage (the propotioin of retail investors)
SortField_StreetVol = 29; //Outstanding quantity (the volume held by retail investors)
SortField_WarrantName = 31; //Warrant name
SortField_Issuer = 32; //Issuer
SortField_LotSize = 33; //Lot size
SortField_IssueSize = 34; //Issue size
SortField_UpperStrikePrice = 45; //Upper bound, only for Inline Warrants
SortField_LowerStrikePrice = 46; //Lower bound, only for Inline Warrants
SortField_InLinePriceStatus = 47; //In/out of bounds, only for Inline Warrants
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only support US stocks
SortField_PreCurPrice = 35; //Latest price of pre-market
SortField_AfterCurPrice = 36; //Latest price of after-hours
SortField_PrePriceChangeVal = 37; //Pre-market changes
SortField_AfterPriceChangeVal = 38; //After-hours changes
SortField_PreChangeRate = 39; //Pre-market change rate %
SortField_AfterChangeRate = 40; //After-hours change rate %
SortField_PreAmplitude = 41; //Pre-market amplitude %
SortField_AfterAmplitude = 42; //After-hours amplitude %
SortField_PreTurnover = 43; //Pre-market turnover
SortField_AfterTurnover = 44; //After-hours turnover
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only futures
SortField_LastSettlePrice = 48; //Last settle price
SortField_Position = 49; //Position
SortField_PositionChange = 50; //Daily increase of position
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SortField
enum SortField
{
SortField_Unknow = 0; //Unknown
SortField_Code = 1; //Code
SortField_CurPrice = 2; //Latest price
SortField_PriceChangeVal = 3; //Price changed
SortField_ChangeRate = 4; //Yield
SortField_Status = 5; //Status
SortField_BidPrice = 6; //Bid price
SortField_AskPrice = 7; //Ask price
SortField_BidVol = 8; //Bid volume
SortField_AskVol = 9; //Ask volume
SortField_Volume = 10; //Volume
SortField_Turnover = 11; //Turnover
SortField_Amplitude = 30; //Amplitude
//The following sort fields are only supported for Qot_GetWarrant protocol
SortField_Score = 12; //Comprehensive score
SortField_Premium = 13; //Premium
SortField_EffectiveLeverage = 14; //Effective leverage
SortField_Delta = 15; //Hedging value, for puts and calls only
SortField_ImpliedVolatility = 16; //Implied volatility, for puts and calls only
SortField_Type = 17; //Type
SortField_StrikePrice = 18; //Strike price
SortField_BreakEvenPoint = 19; //Break even point
SortField_MaturityTime = 20; //Maturity date
SortField_ListTime = 21; //Listing date
SortField_LastTradeTime = 22; //Lastest trading day
SortField_Leverage = 23; //Leverage ratio
SortField_InOutMoney = 24; //In/out of the money %
SortField_RecoveryPrice = 25; //Recovery price, for CBBCs only
SortField_ChangePrice = 26; //Change price
SortField_Change = 27; //Change ratio
SortField_StreetRate = 28; //Outstanding percentage (the propotioin of retail investors)
SortField_StreetVol = 29; //Outstanding quantity (the volume held by retail investors)
SortField_WarrantName = 31; //Warrant name
SortField_Issuer = 32; //Issuer
SortField_LotSize = 33; //Lot size
SortField_IssueSize = 34; //Issue size
SortField_UpperStrikePrice = 45; //Upper bound, only for Inline Warrants
SortField_LowerStrikePrice = 46; //Lower bound, only for Inline Warrants
SortField_InLinePriceStatus = 47; //In/out of bounds, only for Inline Warrants
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only support US stocks
SortField_PreCurPrice = 35; //Latest price of pre-market
SortField_AfterCurPrice = 36; //Latest price of after-hours
SortField_PrePriceChangeVal = 37; //Pre-market changes
SortField_AfterPriceChangeVal = 38; //After-hours changes
SortField_PreChangeRate = 39; //Pre-market change rate %
SortField_AfterChangeRate = 40; //After-hours change rate %
SortField_PreAmplitude = 41; //Pre-market amplitude %
SortField_AfterAmplitude = 42; //After-hours amplitude %
SortField_PreTurnover = 43; //Pre-market turnover
SortField_AfterTurnover = 44; //After-hours turnover
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only futures
SortField_LastSettlePrice = 48; //Last settle price
SortField_Position = 49; //Position
SortField_PositionChange = 50; //Daily increase of position
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SortField
enum SortField
{
SortField_Unknow = 0; //Unknown
SortField_Code = 1; //Code
SortField_CurPrice = 2; //Latest price
SortField_PriceChangeVal = 3; //Price changed
SortField_ChangeRate = 4; //Yield
SortField_Status = 5; //Status
SortField_BidPrice = 6; //Bid price
SortField_AskPrice = 7; //Ask price
SortField_BidVol = 8; //Bid volume
SortField_AskVol = 9; //Ask volume
SortField_Volume = 10; //Volume
SortField_Turnover = 11; //Turnover
SortField_Amplitude = 30; //Amplitude
//The following sort fields are only supported for Qot_GetWarrant protocol
SortField_Score = 12; //Comprehensive score
SortField_Premium = 13; //Premium
SortField_EffectiveLeverage = 14; //Effective leverage
SortField_Delta = 15; //Hedging value, for puts and calls only
SortField_ImpliedVolatility = 16; //Implied volatility, for puts and calls only
SortField_Type = 17; //Type
SortField_StrikePrice = 18; //Strike price
SortField_BreakEvenPoint = 19; //Break even point
SortField_MaturityTime = 20; //Maturity date
SortField_ListTime = 21; //Listing date
SortField_LastTradeTime = 22; //Lastest trading day
SortField_Leverage = 23; //Leverage ratio
SortField_InOutMoney = 24; //In/out of the money %
SortField_RecoveryPrice = 25; //Recovery price, for CBBCs only
SortField_ChangePrice = 26; //Change price
SortField_Change = 27; //Change ratio
SortField_StreetRate = 28; //Outstanding percentage (the propotioin of retail investors)
SortField_StreetVol = 29; //Outstanding quantity (the volume held by retail investors)
SortField_WarrantName = 31; //Warrant name
SortField_Issuer = 32; //Issuer
SortField_LotSize = 33; //Lot size
SortField_IssueSize = 34; //Issue size
SortField_UpperStrikePrice = 45; //Upper bound, only for Inline Warrants
SortField_LowerStrikePrice = 46; //Lower bound, only for Inline Warrants
SortField_InLinePriceStatus = 47; //In/out of bounds, only for Inline Warrants
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only support US stocks
SortField_PreCurPrice = 35; //Latest price of pre-market
SortField_AfterCurPrice = 36; //Latest price of after-hours
SortField_PrePriceChangeVal = 37; //Pre-market changes
SortField_AfterPriceChangeVal = 38; //After-hours changes
SortField_PreChangeRate = 39; //Pre-market change rate %
SortField_AfterChangeRate = 40; //After-hours change rate %
SortField_PreAmplitude = 41; //Pre-market amplitude %
SortField_AfterAmplitude = 42; //After-hours amplitude %
SortField_PreTurnover = 43; //Pre-market turnover
SortField_AfterTurnover = 44; //After-hours turnover
//The following sort fields are only supported for the Qot_GetPlateSecurity protocol, and only futures
SortField_LastSettlePrice = 48; //Last settle price
SortField_Position = 49; //Position
SortField_PositionChange = 50; //Daily increase of position
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Simple Filter Properties
- Python
- Proto
- C#
- Java
- C++
- JavaScript
StockField
NONEunknown
STOCK_CODEStock code, does not accept list inputs as an interval
STOCK_NAMEStock name, does not accept list inputs as an interval
CUR_PRICEThe latest price
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [10, 20]
CUR_PRICE_TO_HIGHEST52_WEEKS_RATIO(CP - WH52) / WH52
CP: Current price
WH52: 52-week high
Corresponding to the “percentage from 52-week high” on the PC terminal- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-30, -10]
CUR_PRICE_TO_LOWEST52_WEEKS_RATIO(CP - WL52) / WL52
CP: Current price
WL52: 52-week low
Corresponding to the “percentage from 52-week low” on the PC terminal- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [20, 40]
HIGH_PRICE_TO_HIGHEST52_WEEKS_RATIO(TH - WH52) / WH52
TH: Today's high
WH52: 52-week high
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-3, -1]
LOW_PRICE_TO_LOWEST52_WEEKS_RATIO(TL - WL52) / WL52
TL: Today's low
WL52: 52-week low
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [10, 70]
VOLUME_RATIOVolume ratio
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [0.5, 30]
BID_ASK_RATIOBid-ask ratio
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-20, 80.5]
LOT_PRICEPrice per lot
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [40, 100]
MARKET_VALMarket value
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [50000000, 3000000000]
PE_ANNUALTrailing P/E
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [-8, 65.3]
PE_TTMP/E TTM
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [-10, 20.5]
PB_RATEP/B ratio
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [0.5, 20]
CHANGE_RATE_5MINChange rate in 5 minutes
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-5, 6.3]
CHANGE_RATE_BEGIN_YEARPrice change rate from this year
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [-50.1, 400.7]
PS_TTMP/S TTM
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [100, 500]
PCF_TTMPCF TTM
- 3 decimal place accuracy, the excess part is discarded.
- This field is in percentage form, so 20 is equivalent to 20%.
- For example, a range of [100, 1000]
TOTAL_SHARETotal number of shares
- unit: share.
- 0 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
FLOAT_SHAREShares outstanding
- unit: share.
- 0 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
FLOAT_MARKET_VALMarket value outstanding
- unit: yuan.
- 3 decimal place accuracy, the excess part is discarded.
- For example, a range of [1000000000, 1000000000]
StockField
enum StockField
{
StockField_Unknown = 0; //Unknown
StockField_StockCode = 1; //Stock code, does not accept list inputs as an interval
StockField_StockName = 2; //Stock name, does not accept list inputs as an interval
StockField_CurPrice = 3; //The latest price(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 20]
StockField_CurPriceToHighest52WeeksRatio = 4; //(Current price - 52-week high) / 52-week high, corresponding to the “percentage from 52-week high” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [-30, -10] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_CurPriceToLowest52WeeksRatio = 5; //(Current price - 52-week minimum) / 52-week minimum, corresponding to the “percentage from 52-week low” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 40] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_HighPriceToHighest52WeeksRatio = 6; //(Today's high - 52 weeks' highest) / 52 weeks' highest(3 decimal place accuracy, the excess part is discarded), for example, a range of [-3, -1] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LowPriceToLowest52WeeksRatio = 7; //(Today's low-52 weeks' lowest) / 52 weeks' lowest(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 70] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_VolumeRatio = 8; //Volume ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 30]
StockField_BidAskRatio = 9; //Bid-ask ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [-20, 80.5] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LotPrice = 10; //Price per lot(3 decimal place accuracy, the excess part is discarded), for example, a range of [40, 100]
StockField_MarketVal = 11; //Market value(3 decimal place accuracy, the excess part is discarded), for example, a range of [50000000, 3000000000]
StockField_PeAnnual = 12; //Trailing P/E(3 decimal place accuracy, the excess part is discarded), for example, a range of [-8, 65.3]
StockField_PeTTM = 13; //P/E TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 20.5]
StockField_PbRate = 14; //P/B ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20]
StockField_ChangeRate5min = 15; //Change rate in 5 minutes(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 6.3] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_ChangeRateBeginYear = 16; //Price change rate from this year(3 decimal place accuracy, the excess part is discarded), for example, a range of [-50.1, 400.7] (This field is in percentage form, so 20 is equivalent to 20%.)
// Basic volume and price attributes
StockField_PSTTM = 17; //P/S TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 500] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_PCFTTM = 18; //PCF TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 1000] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_TotalShare = 19; //Total number of shares(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatShare = 20; //Shares outstanding(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatMarketVal = 21; //Market value outstanding(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
StockField
enum StockField
{
StockField_Unknown = 0; //Unknown
StockField_StockCode = 1; //Stock code, does not accept list inputs as an interval
StockField_StockName = 2; //Stock name, does not accept list inputs as an interval
StockField_CurPrice = 3; //The latest price(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 20]
StockField_CurPriceToHighest52WeeksRatio = 4; //(Current price - 52-week high) / 52-week high, corresponding to the “percentage from 52-week high” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [-30, -10] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_CurPriceToLowest52WeeksRatio = 5; //(Current price - 52-week minimum) / 52-week minimum, corresponding to the “percentage from 52-week low” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 40] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_HighPriceToHighest52WeeksRatio = 6; //(Today's high - 52 weeks' highest) / 52 weeks' highest(3 decimal place accuracy, the excess part is discarded), for example, a range of [-3, -1] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LowPriceToLowest52WeeksRatio = 7; //(Today's low-52 weeks' lowest) / 52 weeks' lowest(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 70] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_VolumeRatio = 8; //Volume ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 30]
StockField_BidAskRatio = 9; //Bid-ask ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [-20, 80.5] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LotPrice = 10; //Price per lot(3 decimal place accuracy, the excess part is discarded), for example, a range of [40, 100]
StockField_MarketVal = 11; //Market value(3 decimal place accuracy, the excess part is discarded), for example, a range of [50000000, 3000000000]
StockField_PeAnnual = 12; //Trailing P/E(3 decimal place accuracy, the excess part is discarded), for example, a range of [-8, 65.3]
StockField_PeTTM = 13; //P/E TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 20.5]
StockField_PbRate = 14; //P/B ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20]
StockField_ChangeRate5min = 15; //Change rate in 5 minutes(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 6.3] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_ChangeRateBeginYear = 16; //Price change rate from this year(3 decimal place accuracy, the excess part is discarded), for example, a range of [-50.1, 400.7] (This field is in percentage form, so 20 is equivalent to 20%.)
// Basic volume and price attributes
StockField_PSTTM = 17; //P/S TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 500] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_PCFTTM = 18; //PCF TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 1000] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_TotalShare = 19; //Total number of shares(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatShare = 20; //Shares outstanding(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatMarketVal = 21; //Market value outstanding(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
StockField
enum StockField
{
StockField_Unknown = 0; //Unknown
StockField_StockCode = 1; //Stock code, does not accept list inputs as an interval
StockField_StockName = 2; //Stock name, does not accept list inputs as an interval
StockField_CurPrice = 3; //The latest price(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 20]
StockField_CurPriceToHighest52WeeksRatio = 4; //(Current price - 52-week high) / 52-week high, corresponding to the “percentage from 52-week high” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [-30, -10] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_CurPriceToLowest52WeeksRatio = 5; //(Current price - 52-week minimum) / 52-week minimum, corresponding to the “percentage from 52-week low” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 40] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_HighPriceToHighest52WeeksRatio = 6; //(Today's high - 52 weeks' highest) / 52 weeks' highest(3 decimal place accuracy, the excess part is discarded), for example, a range of [-3, -1] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LowPriceToLowest52WeeksRatio = 7; //(Today's low-52 weeks' lowest) / 52 weeks' lowest(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 70] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_VolumeRatio = 8; //Volume ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 30]
StockField_BidAskRatio = 9; //Bid-ask ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [-20, 80.5] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LotPrice = 10; //Price per lot(3 decimal place accuracy, the excess part is discarded), for example, a range of [40, 100]
StockField_MarketVal = 11; //Market value(3 decimal place accuracy, the excess part is discarded), for example, a range of [50000000, 3000000000]
StockField_PeAnnual = 12; //Trailing P/E(3 decimal place accuracy, the excess part is discarded), for example, a range of [-8, 65.3]
StockField_PeTTM = 13; //P/E TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 20.5]
StockField_PbRate = 14; //P/B ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20]
StockField_ChangeRate5min = 15; //Change rate in 5 minutes(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 6.3] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_ChangeRateBeginYear = 16; //Price change rate from this year(3 decimal place accuracy, the excess part is discarded), for example, a range of [-50.1, 400.7] (This field is in percentage form, so 20 is equivalent to 20%.)
// Basic volume and price attributes
StockField_PSTTM = 17; //P/S TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 500] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_PCFTTM = 18; //PCF TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 1000] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_TotalShare = 19; //Total number of shares(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatShare = 20; //Shares outstanding(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatMarketVal = 21; //Market value outstanding(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
StockField
enum StockField
{
StockField_Unknown = 0; //Unknown
StockField_StockCode = 1; //Stock code, does not accept list inputs as an interval
StockField_StockName = 2; //Stock name, does not accept list inputs as an interval
StockField_CurPrice = 3; //The latest price(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 20]
StockField_CurPriceToHighest52WeeksRatio = 4; //(Current price - 52-week high) / 52-week high, corresponding to the “percentage from 52-week high” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [-30, -10] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_CurPriceToLowest52WeeksRatio = 5; //(Current price - 52-week minimum) / 52-week minimum, corresponding to the “percentage from 52-week low” on the PC terminal (3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 40] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_HighPriceToHighest52WeeksRatio = 6; //(Today's high - 52 weeks' highest) / 52 weeks' highest(3 decimal place accuracy, the excess part is discarded), for example, a range of [-3, -1] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LowPriceToLowest52WeeksRatio = 7; //(Today's low-52 weeks' lowest) / 52 weeks' lowest(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 70] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_VolumeRatio = 8; //Volume ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 30]
StockField_BidAskRatio = 9; //Bid-ask ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [-20, 80.5] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LotPrice = 10; //Price per lot(3 decimal place accuracy, the excess part is discarded), for example, a range of [40, 100]
StockField_MarketVal = 11; //Market value(3 decimal place accuracy, the excess part is discarded), for example, a range of [50000000, 3000000000]
StockField_PeAnnual = 12; //Trailing P/E(3 decimal place accuracy, the excess part is discarded), for example, a range of [-8, 65.3]
StockField_PeTTM = 13; //P/E TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 20.5]
StockField_PbRate = 14; //P/B ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20]
StockField_ChangeRate5min = 15; //Change rate in 5 minutes(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 6.3] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_ChangeRateBeginYear = 16; //Price change rate from this year(3 decimal place accuracy, the excess part is discarded), for example, a range of [-50.1, 400.7] (This field is in percentage form, so 20 is equivalent to 20%.)
// Basic volume and price attributes
StockField_PSTTM = 17; //P/S TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 500] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_PCFTTM = 18; //PCF TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 1000] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_TotalShare = 19; //Total number of shares(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatShare = 20; //Shares outstanding(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatMarketVal = 21; //Market value outstanding(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
StockField
enum StockField
{
StockField_Unknown = 0; //Unknown
StockField_StockCode = 1; //Stock code, does not accept list inputs as an interval
StockField_StockName = 2; //Stock name, does not accept list inputs as an interval
StockField_CurPrice = 3; //The latest price(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 20]
StockField_CurPriceToHighest52WeeksRatio = 4; //(Current price - 52-week high) / 52-week high, corresponding to the “percentage from 52-week high” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [-30, -10] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_CurPriceToLowest52WeeksRatio = 5; //(Current price - 52-week minimum) / 52-week minimum, corresponding to the “percentage from 52-week low” on the PC terminal(3 decimal place accuracy, the excess part is discarded), for example, a range of [20, 40] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_HighPriceToHighest52WeeksRatio = 6; //(Today's high - 52 weeks' highest) / 52 weeks' highest(3 decimal place accuracy, the excess part is discarded), for example, a range of [-3, -1] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LowPriceToLowest52WeeksRatio = 7; //(Today's low-52 weeks' lowest) / 52 weeks' lowest(3 decimal place accuracy, the excess part is discarded), for example, a range of [10, 70] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_VolumeRatio = 8; //Volume ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 30]
StockField_BidAskRatio = 9; //Bid-ask ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [-20, 80.5] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_LotPrice = 10; //Price per lot(3 decimal place accuracy, the excess part is discarded), for example, a range of [40, 100]
StockField_MarketVal = 11; //Market value(3 decimal place accuracy, the excess part is discarded), for example, a range of [50000000, 3000000000]
StockField_PeAnnual = 12; //Trailing P/E(3 decimal place accuracy, the excess part is discarded), for example, a range of [-8, 65.3]
StockField_PeTTM = 13; //P/E TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [-10, 20.5]
StockField_PbRate = 14; //P/B ratio(3 decimal place accuracy, the excess part is discarded), for example, a range of [0.5, 20]
StockField_ChangeRate5min = 15; //Change rate in 5 minutes(3 decimal place accuracy, the excess part is discarded), for example, a range of [-5, 6.3] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_ChangeRateBeginYear = 16; //Price change rate from this year(3 decimal place accuracy, the excess part is discarded), for example, a range of [-50.1, 400.7] (This field is in percentage form, so 20 is equivalent to 20%.)
// Basic volume and price attributes
StockField_PSTTM = 17; //P/S TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 500] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_PCFTTM = 18; //PCF TTM(3 decimal place accuracy, the excess part is discarded), for example, a range of [100, 1000] (This field is in percentage form, so 20 is equivalent to 20%.)
StockField_TotalShare = 19; //Total number of shares(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatShare = 20; //Shares outstanding(0 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: share)
StockField_FloatMarketVal = 21; //Market value outstanding(3 decimal place accuracy, the excess part is discarded), for example, a range of [1000000000, 1000000000] (unit: yuan)
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Subscription Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
SubType
NONEUnknown
QUOTEBasic quote
ORDER_BOOKOrder book
TICKERTick-by-tick
RT_DATATime Frame
K_DAYDaily candlesticks
K_5M5 minutes candlesticks
K_15M15 minutes candlesticks
K_30M30 minutes candlesticks
K_60M60 minutes candlesticks
K_1M1 minute candlesticks
K_WEEKWeekly candlesticks
K_MONMonthly candlesticks
BROKERBroker's queue
K_QURATERSeasonal candlesticks
K_YEARAnnual candlesticks
K_3M3 minutes candlesticks
SubType
enum SubType
{
SubType_None = 0; //Unknown
SubType_Basic = 1; //Basic quote
SubType_OrderBook = 2; //Order book
SubType_Ticker = 4; //Tick-by-tick
SubType_RT = 5; //Time Frame
SubType_KL_Day = 6; //Daily candlesticks
SubType_KL_5Min = 7; //5 minutes candlesticks
SubType_KL_15Min = 8; //15 minutes candlesticks
SubType_KL_30Min = 9; //30 minutes candlesticks
SubType_KL_60Min = 10; //60 minutes candlesticks
SubType_KL_1Min = 11; //1 minute candlesticks
SubType_KL_Week = 12; //Weekly candlesticks
SubType_KL_Month = 13; //Monthly candlesticks
SubType_Broker = 14; //Broker's queue
SubType_KL_Qurater = 15; //Seasonal candlesticks
SubType_KL_Year = 16; //Annual candlesticks
SubType_KL_3Min = 17; //3 minutes candlesticks
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SubType
enum SubType
{
SubType_None = 0; //Unknown
SubType_Basic = 1; //Basic quote
SubType_OrderBook = 2; //Order book
SubType_Ticker = 4; //Tick-by-tick
SubType_RT = 5; //Time Frame
SubType_KL_Day = 6; //Daily candlesticks
SubType_KL_5Min = 7; //5 minutes candlesticks
SubType_KL_15Min = 8; //15 minutes candlesticks
SubType_KL_30Min = 9; //30 minutes candlesticks
SubType_KL_60Min = 10; //60 minutes candlesticks
SubType_KL_1Min = 11; //1 minute candlesticks
SubType_KL_Week = 12; //Weekly candlesticks
SubType_KL_Month = 13; //Monthly candlesticks
SubType_Broker = 14; //Broker's queue
SubType_KL_Qurater = 15; //Seasonal candlesticks
SubType_KL_Year = 16; //Annual candlesticks
SubType_KL_3Min = 17; //3 minutes candlesticks
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SubType
enum SubType
{
SubType_None = 0; //Unknown
SubType_Basic = 1; //Basic quote
SubType_OrderBook = 2; //Order book
SubType_Ticker = 4; //Tick-by-tick
SubType_RT = 5; //Time Frame
SubType_KL_Day = 6; //Daily candlesticks
SubType_KL_5Min = 7; //5 minutes candlesticks
SubType_KL_15Min = 8; //15 minutes candlesticks
SubType_KL_30Min = 9; //30 minutes candlesticks
SubType_KL_60Min = 10; //60 minutes candlesticks
SubType_KL_1Min = 11; //1 minute candlesticks
SubType_KL_Week = 12; //Weekly candlesticks
SubType_KL_Month = 13; //Monthly candlesticks
SubType_Broker = 14; //Broker's queue
SubType_KL_Qurater = 15; //Seasonal candlesticks
SubType_KL_Year = 16; //Annual candlesticks
SubType_KL_3Min = 17; //3 minutes candlesticks
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SubType
enum SubType
{
SubType_None = 0; //Unknown
SubType_Basic = 1; //Basic quote
SubType_OrderBook = 2; //Order book
SubType_Ticker = 4; //Tick-by-tick
SubType_RT = 5; //Time Frame
SubType_KL_Day = 6; //Daily candlesticks
SubType_KL_5Min = 7; //5 minutes candlesticks
SubType_KL_15Min = 8; //15 minutes candlesticks
SubType_KL_30Min = 9; //30 minutes candlesticks
SubType_KL_60Min = 10; //60 minutes candlesticks
SubType_KL_1Min = 11; //1 minute candlesticks
SubType_KL_Week = 12; //Weekly candlesticks
SubType_KL_Month = 13; //Monthly candlesticks
SubType_Broker = 14; //Broker's queue
SubType_KL_Qurater = 15; //Seasonal candlesticks
SubType_KL_Year = 16; //Annual candlesticks
SubType_KL_3Min = 17; //3 minutes candlesticks
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SubType
enum SubType
{
SubType_None = 0; //Unknown
SubType_Basic = 1; //Basic quote
SubType_OrderBook = 2; //Order book
SubType_Ticker = 4; //Tick-by-tick
SubType_RT = 5; //Time Frame
SubType_KL_Day = 6; //Daily candlesticks
SubType_KL_5Min = 7; //5 minutes candlesticks
SubType_KL_15Min = 8; //15 minutes candlesticks
SubType_KL_30Min = 9; //30 minutes candlesticks
SubType_KL_60Min = 10; //60 minutes candlesticks
SubType_KL_1Min = 11; //1 minute candlesticks
SubType_KL_Week = 12; //Weekly candlesticks
SubType_KL_Month = 13; //Monthly candlesticks
SubType_Broker = 14; //Broker's queue
SubType_KL_Qurater = 15; //Seasonal candlesticks
SubType_KL_Year = 16; //Annual candlesticks
SubType_KL_3Min = 17; //3 minutes candlesticks
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Transaction Direction
- Python
- Proto
- C#
- Java
- C++
- JavaScript
TickerDirect
NONEunknown
BUYActive buy
Active buy, a buyer actively buys stocks at the then sell price or higher price.SELLActive sell
Active sell, a seller actively sells stocks at the then buy price or lower price.NEUTRALNeutral transaction
Neutral transaction, the stock price is between the bid price and ask price.
TickerDirection
enum TickerDirection
{
TickerDirection_Unknown = 0; //Unknown
TickerDirection_Bid = 1; //Active buy, a buyer actively buys stocks at the then sell price or higher price.
TickerDirection_Ask = 2; //Active sell, a seller actively sells stocks at the then buy price or lower price.
TickerDirection_Neutral = 3; //Neutral transaction, the stock price is between the bid price and ask price.
}
2
3
4
5
6
7
TickerDirection
enum TickerDirection
{
TickerDirection_Unknown = 0; //Unknown
TickerDirection_Bid = 1; //Active buy, a buyer actively buys stocks at the then sell price or higher price.
TickerDirection_Ask = 2; //Active sell, a seller actively sells stocks at the then buy price or lower price.
TickerDirection_Neutral = 3; //Neutral transaction, the stock price is between the bid price and ask price.
}
2
3
4
5
6
7
TickerDirection
enum TickerDirection
{
TickerDirection_Unknown = 0; //Unknown
TickerDirection_Bid = 1; //Active buy, a buyer actively buys stocks at the then sell price or higher price.
TickerDirection_Ask = 2; //Active sell, a seller actively sells stocks at the then buy price or lower price.
TickerDirection_Neutral = 3; //Neutral transaction, the stock price is between the bid price and ask price.
}
2
3
4
5
6
7
TickerDirection
enum TickerDirection
{
TickerDirection_Unknown = 0; //Unknown
TickerDirection_Bid = 1; //Active buy, a buyer actively buys stocks at the then sell price or higher price.
TickerDirection_Ask = 2; //Active sell, a seller actively sells stocks at the then buy price or lower price.
TickerDirection_Neutral = 3; //Neutral transaction, the stock price is between the bid price and ask price.
}
2
3
4
5
6
7
TickerDirection
enum TickerDirection
{
TickerDirection_Unknown = 0; //Unknown
TickerDirection_Bid = 1; //Active buy, a buyer actively buys stocks at the then sell price or higher price.
TickerDirection_Ask = 2; //Active sell, a seller actively sells stocks at the then buy price or lower price.
TickerDirection_Neutral = 3; //Neutral transaction, the stock price is between the bid price and ask price.
}
2
3
4
5
6
7
# Tick-by-Tick Transaction Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
TickerType
UNKNOWNUnknown
AUTO_MATCHRegular sale
LATEPre-market trade
NON_AUTO_MATCHNon-regular sale
INTER_AUTO_MATCHRegular sale for same broker
INTER_NON_AUTO_MATCHNon-regular sale for same broker
ODD_LOTOdd lot trade
AUCTIONAuction trade
BULKBunched trade
CRASHCash trade
CROSS_MARKETIntermarket sweep
BULK_SOLDBunched sold trade
FREE_ON_BOARDPrice variation trade
RULE127_OR155Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
DELAYDelay the transaction
MARKET_CENTER_CLOSE_PRICEMarket center close price
NEXT_DAYNext day
MARKET_CENTER_OPENINGMarket center opening trade
PRIOR_REFERENCE_PRICEPrior reference price
MARKET_CENTER_OPEN_PRICEMarket center open price
SELLERSeller
TForm T(pre-open and post-close market trade)
EXTENDED_TRADING_HOURSExtended trading hours/sold out of sequence
CONTINGENTContingent trade
AVERAGE_PRICEAverage price trade
OTC_SOLDSold(out of sequence)
ODD_LOT_CROSS_MARKETOdd lot cross trade
DERIVATIVELY_PRICEDDerivatively priced
REOPENINGP_RICEDRe-Opening price
CLOSING_PRICEDClosing price
COMPREHENSIVE_DELAY_PRICEConsolidated late price per listing packet
OVERSEASOne party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
TickerType
enum TickerType
{
TickerType_Unknown = 0; //Unknown
TickerType_Automatch = 1; //Regular sale
TickerType_Late = 2; //Pre-market trade
TickerType_NoneAutomatch = 3; //Non-regular sale
TickerType_InterAutomatch = 4; //Regular sale for same broker
TickerType_InterNoneAutomatch = 5; //Non-regular sale for same broker
TickerType_OddLot = 6; //Odd lot trade
TickerType_Auction = 7; //Auction trade
TickerType_Bulk = 8; //Bunched Trade
TickerType_Crash = 9; //Cash Trade
TickerType_CrossMarket = 10; //Intermarket sweep
TickerType_BulkSold = 11; //Bunched sold trade
TickerType_FreeOnBoard = 12; //Price variation trade
TickerType_Rule127Or155 = 13; //Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
TickerType_Delay = 14; //Sold last
TickerType_MarketCenterClosePrice = 15; //Market center close price
TickerType_NextDay = 16; //Next day
TickerType_MarketCenterOpening = 17; //Market center opening trade
TickerType_PriorReferencePrice = 18; //Prior reference price
TickerType_MarketCenterOpenPrice = 19; //Market center open price
TickerType_Seller = 20; //Seller
TickerType_T = 21; //Form T(pre-open and post-close market trade)
TickerType_ExtendedTradingHours = 22; //Extended trading hours/sold out of sequence
TickerType_Contingent = 23; //Contingent trade
TickerType_AvgPrice = 24; //Average price trade
TickerType_OTCSold = 25; //Sold(out of sequence)
TickerType_OddLotCrossMarket = 26; //Odd lot cross trade
TickerType_DerivativelyPriced = 27; //Derivatively priced
TickerType_ReOpeningPriced = 28; //Re-Opening price
TickerType_ClosingPriced = 29; //Closing price
TickerType_ComprehensiveDelayPrice = 30; //Consolidated late price per listing packet
TickerType_Overseas = 31; //One party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TickerType
enum TickerType
{
TickerType_Unknown = 0; //Unknown
TickerType_Automatch = 1; //Regular sale
TickerType_Late = 2; //Pre-market trade
TickerType_NoneAutomatch = 3; //Non-regular sale
TickerType_InterAutomatch = 4; //Regular sale for same broker
TickerType_InterNoneAutomatch = 5; //Non-regular sale for same broker
TickerType_OddLot = 6; //Odd lot trade
TickerType_Auction = 7; //Auction trade
TickerType_Bulk = 8; //Bunched Trade
TickerType_Crash = 9; //Cash Trade
TickerType_CrossMarket = 10; //Intermarket sweep
TickerType_BulkSold = 11; //Bunched sold trade
TickerType_FreeOnBoard = 12; //Price variation trade
TickerType_Rule127Or155 = 13; //Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
TickerType_Delay = 14; //Sold last
TickerType_MarketCenterClosePrice = 15; //Market center close price
TickerType_NextDay = 16; //Next day
TickerType_MarketCenterOpening = 17; //Market center opening trade
TickerType_PriorReferencePrice = 18; //Prior reference price
TickerType_MarketCenterOpenPrice = 19; //Market center open price
TickerType_Seller = 20; //Seller
TickerType_T = 21; //Form T(pre-open and post-close market trade)
TickerType_ExtendedTradingHours = 22; //Extended trading hours/sold out of sequence
TickerType_Contingent = 23; //Contingent trade
TickerType_AvgPrice = 24; //Average price trade
TickerType_OTCSold = 25; //Sold(out of sequence)
TickerType_OddLotCrossMarket = 26; //Odd lot cross trade
TickerType_DerivativelyPriced = 27; //Derivatively priced
TickerType_ReOpeningPriced = 28; //Re-Opening price
TickerType_ClosingPriced = 29; //Closing price
TickerType_ComprehensiveDelayPrice = 30; //Consolidated late price per listing packet
TickerType_Overseas = 31; //One party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TickerType
enum TickerType
{
TickerType_Unknown = 0; //Unknown
TickerType_Automatch = 1; //Regular sale
TickerType_Late = 2; //Pre-market trade
TickerType_NoneAutomatch = 3; //Non-regular sale
TickerType_InterAutomatch = 4; //Regular sale for same broker
TickerType_InterNoneAutomatch = 5; //Non-regular sale for same broker
TickerType_OddLot = 6; //Odd lot trade
TickerType_Auction = 7; //Auction trade
TickerType_Bulk = 8; //Bunched Trade
TickerType_Crash = 9; //Cash Trade
TickerType_CrossMarket = 10; //Intermarket sweep
TickerType_BulkSold = 11; //Bunched sold trade
TickerType_FreeOnBoard = 12; //Price variation trade
TickerType_Rule127Or155 = 13; //Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
TickerType_Delay = 14; //Sold last
TickerType_MarketCenterClosePrice = 15; //Market center close price
TickerType_NextDay = 16; //Next day
TickerType_MarketCenterOpening = 17; //Market center opening trade
TickerType_PriorReferencePrice = 18; //Prior reference price
TickerType_MarketCenterOpenPrice = 19; //Market center open price
TickerType_Seller = 20; //Seller
TickerType_T = 21; //Form T(pre-open and post-close market trade)
TickerType_ExtendedTradingHours = 22; //Extended trading hours/sold out of sequence
TickerType_Contingent = 23; //Contingent trade
TickerType_AvgPrice = 24; //Average price trade
TickerType_OTCSold = 25; //Sold(out of sequence)
TickerType_OddLotCrossMarket = 26; //Odd lot cross trade
TickerType_DerivativelyPriced = 27; //Derivatively priced
TickerType_ReOpeningPriced = 28; //Re-Opening price
TickerType_ClosingPriced = 29; //Closing price
TickerType_ComprehensiveDelayPrice = 30; //Consolidated late price per listing packet
TickerType_Overseas = 31; //One party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TickerType
enum TickerType
{
TickerType_Unknown = 0; //Unknown
TickerType_Automatch = 1; //Regular sale
TickerType_Late = 2; //Pre-market trade
TickerType_NoneAutomatch = 3; //Non-regular sale
TickerType_InterAutomatch = 4; //Regular sale for same broker
TickerType_InterNoneAutomatch = 5; //Non-regular sale for same broker
TickerType_OddLot = 6; //Odd lot trade
TickerType_Auction = 7; //Auction trade
TickerType_Bulk = 8; //Bunched Trade
TickerType_Crash = 9; //Cash Trade
TickerType_CrossMarket = 10; //Intermarket sweep
TickerType_BulkSold = 11; //Bunched sold trade
TickerType_FreeOnBoard = 12; //Price variation trade
TickerType_Rule127Or155 = 13; //Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
TickerType_Delay = 14; //Sold last
TickerType_MarketCenterClosePrice = 15; //Market center close price
TickerType_NextDay = 16; //Next day
TickerType_MarketCenterOpening = 17; //Market center opening trade
TickerType_PriorReferencePrice = 18; //Prior reference price
TickerType_MarketCenterOpenPrice = 19; //Market center open price
TickerType_Seller = 20; //Seller
TickerType_T = 21; //Form T(pre-open and post-close market trade)
TickerType_ExtendedTradingHours = 22; //Extended trading hours/sold out of sequence
TickerType_Contingent = 23; //Contingent trade
TickerType_AvgPrice = 24; //Average price trade
TickerType_OTCSold = 25; //Sold(out of sequence)
TickerType_OddLotCrossMarket = 26; //Odd lot cross trade
TickerType_DerivativelyPriced = 27; //Derivatively priced
TickerType_ReOpeningPriced = 28; //Re-Opening price
TickerType_ClosingPriced = 29; //Closing price
TickerType_ComprehensiveDelayPrice = 30; //Consolidated late price per listing packet
TickerType_Overseas = 31; //One party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TickerType
enum TickerType
{
TickerType_Unknown = 0; //Unknown
TickerType_Automatch = 1; //Regular sale
TickerType_Late = 2; //Pre-market trade
TickerType_NoneAutomatch = 3; //Non-regular sale
TickerType_InterAutomatch = 4; //Regular sale for same broker
TickerType_InterNoneAutomatch = 5; //Non-regular sale for same broker
TickerType_OddLot = 6; //Odd lot trade
TickerType_Auction = 7; //Auction trade
TickerType_Bulk = 8; //Bunched Trade
TickerType_Crash = 9; //Cash Trade
TickerType_CrossMarket = 10; //Intermarket sweep
TickerType_BulkSold = 11; //Bunched sold trade
TickerType_FreeOnBoard = 12; //Price variation trade
TickerType_Rule127Or155 = 13; //Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
TickerType_Delay = 14; //Sold last
TickerType_MarketCenterClosePrice = 15; //Market center close price
TickerType_NextDay = 16; //Next day
TickerType_MarketCenterOpening = 17; //Market center opening trade
TickerType_PriorReferencePrice = 18; //Prior reference price
TickerType_MarketCenterOpenPrice = 19; //Market center open price
TickerType_Seller = 20; //Seller
TickerType_T = 21; //Form T(pre-open and post-close market trade)
TickerType_ExtendedTradingHours = 22; //Extended trading hours/sold out of sequence
TickerType_Contingent = 23; //Contingent trade
TickerType_AvgPrice = 24; //Average price trade
TickerType_OTCSold = 25; //Sold(out of sequence)
TickerType_OddLotCrossMarket = 26; //Odd lot cross trade
TickerType_DerivativelyPriced = 27; //Derivatively priced
TickerType_ReOpeningPriced = 28; //Re-Opening price
TickerType_ClosingPriced = 29; //Closing price
TickerType_ComprehensiveDelayPrice = 30; //Consolidated late price per listing packet
TickerType_Overseas = 31; //One party to the transaction is not a member of the Hong Kong Stock Exchange and is an over-the-counter transaction
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Check The Market on The Trading Day
- Python
- Proto
- C#
- Java
- C++
- JavaScript
TradeDateMarket
NONEUnknown
HKHK market
- Including stocks, ETFs, warrants, CBBCs, options, non-holiday trading futures
- Excluding holiday trading futures
USUS market
- Including stocks, ETFs, options
- Excluding futures
CNA-share market
NTNorthbound Trading
STSouthbound Trading
JP_FUTUREJapanese future market
SG_FUTURESingapore future market
TradeDateMarket
enum TradeDateMarket
{
TradeDateMarket_Unknown = 0; //Unknown
TradeDateMarket_HK = 1; //HK market (including stocks, ETFs, warrants, CBBCs, options, futures)
TradeDateMarket_US = 2; //US market (including stocks, ETFs, options. Excluding futures)
TradeDateMarket_CN = 3; //A-share stock market
TradeDateMarket_NT = 4; //HK->SZ (SH) Connect
TradeDateMarket_ST = 5; //Southbound (SZ, SH)
TradeDateMarket_JP_Future = 6; //Japanese future market
TradeDateMarket_SG_Future = 7; //Singapore future market
}
2
3
4
5
6
7
8
9
10
11
TradeDateMarket
enum TradeDateMarket
{
TradeDateMarket_Unknown = 0; //Unknown
TradeDateMarket_HK = 1; //HK market (including stocks, ETFs, warrants, CBBCs, options, futures)
TradeDateMarket_US = 2; //US market (including stocks, ETFs, options. Excluding futures)
TradeDateMarket_CN = 3; //A-share stock market
TradeDateMarket_NT = 4; //HK->SZ (SH) Connect
TradeDateMarket_ST = 5; //Southbound (SZ, SH)
TradeDateMarket_JP_Future = 6; //Japanese future market
TradeDateMarket_SG_Future = 7; //Singapore future market
}
2
3
4
5
6
7
8
9
10
11
TradeDateMarket
enum TradeDateMarket
{
TradeDateMarket_Unknown = 0; //Unknown
TradeDateMarket_HK = 1; //HK market (including stocks, ETFs, warrants, CBBCs, options, futures)
TradeDateMarket_US = 2; //US market (including stocks, ETFs, options. Excluding futures)
TradeDateMarket_CN = 3; //A-share stock market
TradeDateMarket_NT = 4; //HK->SZ (SH) Connect
TradeDateMarket_ST = 5; //Southbound (SZ, SH)
TradeDateMarket_JP_Future = 6; //Japanese future market
TradeDateMarket_SG_Future = 7; //Singapore future market
}
2
3
4
5
6
7
8
9
10
11
TradeDateMarket
enum TradeDateMarket
{
TradeDateMarket_Unknown = 0; //Unknown
TradeDateMarket_HK = 1; //HK market (including stocks, ETFs, warrants, CBBCs, options, futures)
TradeDateMarket_US = 2; //US market (including stocks, ETFs, options. Excluding futures)
TradeDateMarket_CN = 3; //A-share stock market
TradeDateMarket_NT = 4; //HK->SZ (SH) Connect
TradeDateMarket_ST = 5; //Southbound (SZ, SH)
TradeDateMarket_JP_Future = 6; //Japanese future market
TradeDateMarket_SG_Future = 7; //Singapore future market
}
2
3
4
5
6
7
8
9
10
11
TradeDateMarket
enum TradeDateMarket
{
TradeDateMarket_Unknown = 0; //Unknown
TradeDateMarket_HK = 1; //HK market (including stocks, ETFs, warrants, CBBCs, options, futures)
TradeDateMarket_US = 2; //US market (including stocks, ETFs, options. Excluding futures)
TradeDateMarket_CN = 3; //A-share stock market
TradeDateMarket_NT = 4; //HK->SZ (SH) Connect
TradeDateMarket_ST = 5; //Southbound (SZ, SH)
TradeDateMarket_JP_Future = 6; //Japanese future market
TradeDateMarket_SG_Future = 7; //Singapore future market
}
2
3
4
5
6
7
8
9
10
11
# Type of Trading Day
- Python
- Proto
- C#
- Java
- C++
- JavaScript
TradeDateType
WHOLEWhole day trading
MORNINGTrading in the morning, closed in the afternoon
AFTERNOONTrading in the afternoon, closed in the morning
TradeDateType
enum TradeDateType
{
TradeDateType_Whole = 0; //Whole day trading
TradeDateType_Morning = 1; //Trading in the morning, closed in the afternoon
TradeDateType_Afternoon = 2; //Trading in the afternoon, closed in the morning
}
2
3
4
5
6
TradeDateType
enum TradeDateType
{
TradeDateType_Whole = 0; //Whole day trading
TradeDateType_Morning = 1; //Trading in the morning, closed in the afternoon
TradeDateType_Afternoon = 2; //Trading in the afternoon, closed in the morning
}
2
3
4
5
6
TradeDateType
enum TradeDateType
{
TradeDateType_Whole = 0; //Whole day trading
TradeDateType_Morning = 1; //Trading in the morning, closed in the afternoon
TradeDateType_Afternoon = 2; //Trading in the afternoon, closed in the morning
}
2
3
4
5
6
TradeDateType
enum TradeDateType
{
TradeDateType_Whole = 0; //Whole day trading
TradeDateType_Morning = 1; //Trading in the morning, closed in the afternoon
TradeDateType_Afternoon = 2; //Trading in the afternoon, closed in the morning
}
2
3
4
5
6
TradeDateType
enum TradeDateType
{
TradeDateType_Whole = 0; //Whole day trading
TradeDateType_Morning = 1; //Trading in the morning, closed in the afternoon
TradeDateType_Afternoon = 2; //Trading in the afternoon, closed in the morning
}
2
3
4
5
6
# Warrant Status
- Python
- Proto
- C#
- Java
- C++
- JavaScript
WarrantStatus
NONEUnknown
NORMALNormal status
SUSPENDSuspended
STOP_TRADEStop trading
PENDING_LISTINGWaiting to be listed
WarrantStatus
enum WarrantStatus
{
WarrantStatus_Unknow = 0; //Unknown
WarrantStatus_Normal = 1; //Normal status
WarrantStatus_Suspend = 2; //Suspended
WarrantStatus_StopTrade = 3; //Stop trading
WarrantStatus_PendingListing = 4; //Waiting to be listed
}
2
3
4
5
6
7
8
WarrantStatus
enum WarrantStatus
{
WarrantStatus_Unknow = 0; //Unknown
WarrantStatus_Normal = 1; //Normal status
WarrantStatus_Suspend = 2; //Suspended
WarrantStatus_StopTrade = 3; //Stop trading
WarrantStatus_PendingListing = 4; //Waiting to be listed
}
2
3
4
5
6
7
8
WarrantStatus
enum WarrantStatus
{
WarrantStatus_Unknow = 0; //Unknown
WarrantStatus_Normal = 1; //Normal status
WarrantStatus_Suspend = 2; //Suspended
WarrantStatus_StopTrade = 3; //Stop trading
WarrantStatus_PendingListing = 4; //Waiting to be listed
}
2
3
4
5
6
7
8
WarrantStatus
enum WarrantStatus
{
WarrantStatus_Unknow = 0; //Unknown
WarrantStatus_Normal = 1; //Normal status
WarrantStatus_Suspend = 2; //Suspended
WarrantStatus_StopTrade = 3; //Stop trading
WarrantStatus_PendingListing = 4; //Waiting to be listed
}
2
3
4
5
6
7
8
WarrantStatus
enum WarrantStatus
{
WarrantStatus_Unknow = 0; //Unknown
WarrantStatus_Normal = 1; //Normal status
WarrantStatus_Suspend = 2; //Suspended
WarrantStatus_StopTrade = 3; //Stop trading
WarrantStatus_PendingListing = 4; //Waiting to be listed
}
2
3
4
5
6
7
8
# Warrant Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
WrtType
NONEUnknown
CALLLong warrants
PUTShort warrants
BULLCall warrants
BEARPut warrants
INLINEInline Warrants
WarrantType
enum WarrantType
{
WarrantType_Unknown = 0; //Unknown
WarrantType_Buy = 1; //Long warrants
WarrantType_Sell = 2; //Short warrants
WarrantType_Bull = 3; //Call warrants
WarrantType_Bear = 4; //Put warrants
WarrantType_InLine = 5; //Inline Warrants
}
2
3
4
5
6
7
8
9
WarrantType
enum WarrantType
{
WarrantType_Unknown = 0; //Unknown
WarrantType_Buy = 1; //Long warrants
WarrantType_Sell = 2; //Short warrants
WarrantType_Bull = 3; //Call warrants
WarrantType_Bear = 4; //Put warrants
WarrantType_InLine = 5; //Inline Warrants
}
2
3
4
5
6
7
8
9
WarrantType
enum WarrantType
{
WarrantType_Unknown = 0; //Unknown
WarrantType_Buy = 1; //Long warrants
WarrantType_Sell = 2; //Short warrants
WarrantType_Bull = 3; //Call warrants
WarrantType_Bear = 4; //Put warrants
WarrantType_InLine = 5; //Inline Warrants
}
2
3
4
5
6
7
8
9
WarrantType
enum WarrantType
{
WarrantType_Unknown = 0; //Unknown
WarrantType_Buy = 1; //Long warrants
WarrantType_Sell = 2; //Short warrants
WarrantType_Bull = 3; //Call warrants
WarrantType_Bear = 4; //Put warrants
WarrantType_InLine = 5; //Inline Warrants
}
2
3
4
5
6
7
8
9
WarrantType
enum WarrantType
{
WarrantType_Unknown = 0; //Unknown
WarrantType_Buy = 1; //Long warrants
WarrantType_Sell = 2; //Short warrants
WarrantType_Bull = 3; //Call warrants
WarrantType_Bear = 4; //Put warrants
WarrantType_InLine = 5; //Inline Warrants
}
2
3
4
5
6
7
8
9
# Exchange Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
ExchType
NONEUnknown
HK_MAINBOARDHKEx·Main Board
HK_GEMBOARDHKEx·GEM
HK_HKEXHKEx
US_NYSENYSE
US_NASDAQNASDAQ
US_PINKOTC Mkt
US_AMEXAMEX
US_OPTIONUS
Only applicable to US Options.US_NYMEXNYMEX
US_COMEXCOMEX
US_CBOTCBOT
US_CMECME
US_CBOECBOE
CN_SHSH Stock Ex
CN_SZSZ Stock Ex
CN_STIBSTAR
SG_SGXSGX
JP_OSEOSE
ExchType
enum ExchType
{
ExchType_Unknown = 0; //Unknown
ExchType_HK_MainBoard = 1; // HKEx·Main Board
ExchType_HK_GEMBoard = 2; //HKEx·GEM
ExchType_HK_HKEX = 3; //HKEx
ExchType_US_NYSE = 4; //NYSE
ExchType_US_Nasdaq = 5; //NASDAQ
ExchType_US_Pink = 6; //OTC Mkt
ExchType_US_AMEX = 7; //AMEX
ExchType_US_Option = 8; //US (Only applicable to US Options.)
ExchType_US_NYMEX = 9; //NYMEX
ExchType_US_COMEX = 10; //COMEX
ExchType_US_CBOT = 11; //CBOT
ExchType_US_CME = 12; //CME
ExchType_US_CBOE = 13; //CBOE
ExchType_CN_SH = 14; //SH Stock Ex
ExchType_CN_SZ = 15; //SZ Stock Ex
ExchType_CN_STIB = 16; //STAR
ExchType_SG_SGX = 17; //SGX
ExchType_JP_OSE = 18; //OSE
};
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ExchType
enum ExchType
{
ExchType_Unknown = 0; //Unknown
ExchType_HK_MainBoard = 1; // HKEx·Main Board
ExchType_HK_GEMBoard = 2; //HKEx·GEM
ExchType_HK_HKEX = 3; //HKEx
ExchType_US_NYSE = 4; //NYSE
ExchType_US_Nasdaq = 5; //NASDAQ
ExchType_US_Pink = 6; //OTC Mkt
ExchType_US_AMEX = 7; //AMEX
ExchType_US_Option = 8; //US (Only applicable to US Options.)
ExchType_US_NYMEX = 9; //NYMEX
ExchType_US_COMEX = 10; //COMEX
ExchType_US_CBOT = 11; //CBOT
ExchType_US_CME = 12; //CME
ExchType_US_CBOE = 13; //CBOE
ExchType_CN_SH = 14; //SH Stock Ex
ExchType_CN_SZ = 15; //SZ Stock Ex
ExchType_CN_STIB = 16; //STAR
ExchType_SG_SGX = 17; //SGX
ExchType_JP_OSE = 18; //OSE
};
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ExchType
enum ExchType
{
ExchType_Unknown = 0; //Unknown
ExchType_HK_MainBoard = 1; // HKEx·Main Board
ExchType_HK_GEMBoard = 2; //HKEx·GEM
ExchType_HK_HKEX = 3; //HKEx
ExchType_US_NYSE = 4; //NYSE
ExchType_US_Nasdaq = 5; //NASDAQ
ExchType_US_Pink = 6; //OTC Mkt
ExchType_US_AMEX = 7; //AMEX
ExchType_US_Option = 8; //US (Only applicable to US Options.)
ExchType_US_NYMEX = 9; //NYMEX
ExchType_US_COMEX = 10; //COMEX
ExchType_US_CBOT = 11; //CBOT
ExchType_US_CME = 12; //CME
ExchType_US_CBOE = 13; //CBOE
ExchType_CN_SH = 14; //SH Stock Ex
ExchType_CN_SZ = 15; //SZ Stock Ex
ExchType_CN_STIB = 16; //STAR
ExchType_SG_SGX = 17; //SGX
ExchType_JP_OSE = 18; //OSE
};
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ExchType
enum ExchType
{
ExchType_Unknown = 0; //Unknown
ExchType_HK_MainBoard = 1; // HKEx·Main Board
ExchType_HK_GEMBoard = 2; //HKEx·GEM
ExchType_HK_HKEX = 3; //HKEx
ExchType_US_NYSE = 4; //NYSE
ExchType_US_Nasdaq = 5; //NASDAQ
ExchType_US_Pink = 6; //OTC Mkt
ExchType_US_AMEX = 7; //AMEX
ExchType_US_Option = 8; //US (Only applicable to US Options.)
ExchType_US_NYMEX = 9; //NYMEX
ExchType_US_COMEX = 10; //COMEX
ExchType_US_CBOT = 11; //CBOT
ExchType_US_CME = 12; //CME
ExchType_US_CBOE = 13; //CBOE
ExchType_CN_SH = 14; //SH Stock Ex
ExchType_CN_SZ = 15; //SZ Stock Ex
ExchType_CN_STIB = 16; //STAR
ExchType_SG_SGX = 17; //SGX
ExchType_JP_OSE = 18; //OSE
};
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ExchType
enum ExchType
{
ExchType_Unknown = 0; //Unknown
ExchType_HK_MainBoard = 1; // HKEx·Main Board
ExchType_HK_GEMBoard = 2; //HKEx·GEM
ExchType_HK_HKEX = 3; //HKEx
ExchType_US_NYSE = 4; //NYSE
ExchType_US_Nasdaq = 5; //NASDAQ
ExchType_US_Pink = 6; //OTC Mkt
ExchType_US_AMEX = 7; //AMEX
ExchType_US_Option = 8; //US (Only applicable to US Options.)
ExchType_US_NYMEX = 9; //NYMEX
ExchType_US_COMEX = 10; //COMEX
ExchType_US_CBOT = 11; //CBOT
ExchType_US_CME = 12; //CME
ExchType_US_CBOE = 13; //CBOE
ExchType_CN_SH = 14; //SH Stock Ex
ExchType_CN_SZ = 15; //SZ Stock Ex
ExchType_CN_STIB = 16; //STAR
ExchType_SG_SGX = 17; //SGX
ExchType_JP_OSE = 18; //OSE
};
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Security Identification
Security
message Security
{
required int32 market = 1; //QotMarket, quote market
required string code = 2; //Code
}
2
3
4
5
# Candlestick data
KLine
message KLine
{
required string time = 1; //String of timestamp (Format: yyyy-MM-dd HH:mm:ss)
required bool isBlank = 2; //Whether it is a point with empty content, if it is true, only time information
optional double highPrice = 3; //High
optional double openPrice = 4; //Open
optional double lowPrice = 5; //Low
optional double closePrice = 6; //Close
optional double lastClosePrice = 7; //Close yesterday
optional int64 volume = 8; //Volume
optional double turnover = 9; //Turnover
optional double turnoverRate = 10; // Turnover rate (this field is in decimal form, so 0.2 is equivalent to 20%)
optional double pe = 11; //P/E ratio
optional double changeRate = 12; //Yield (This field is in percentage form, so 20 is equivalent to 20%.)
optional double timestamp = 13; //Timestamp
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Option Specific Fields of The Underlying Quote
OptionBasicQotExData
message OptionBasicQotExData
{
required double strikePrice = 1; //Strike price
required int32 contractSize = 2; //Contract size (integer)
optional double contractSizeFloat = 17; //Contract size (float)
required int32 openInterest = 3; //Number of open positions
required double impliedVolatility = 4; //Implied volatility (This field is in percentage form, so 20 is equivalent to 20%.)
required double premium = 5; //Premium (This field is in percentage form, so 20 is equivalent to 20%.)
required double delta = 6; //Greek value Delta
required double gamma = 7; //Greek value Gamma
required double vega = 8; //Greek value Vega
required double theta = 9; //Greek value Theta
required double rho = 10; //Greek value Rho
optional int32 netOpenInterest = 11; //Net open contract number , only HK options support this field
optional int32 expiryDateDistance = 12; //The number of days from the expiry date, a negative number means it has expired.
optional double contractNominalValue = 13; //Contract nominal amount , only HK options support this field
optional double ownerLotMultiplier = 14; //Equal number of underlying stocks, index options do not have this field , only HK options support this field
optional int32 optionAreaType = 15; //OptionAreaType, option type (by exercise time).
optional double contractMultiplier = 16; //Contract multiplier
optional int32 indexOptionType = 18; //Qot_Common.IndexOptionType, index option type
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Futures Specific Fields of The Base Quote
FutureBasicQotExData
message FutureBasicQotExData
{
required double lastSettlePrice = 1; //Close yesterday
required int32 position = 2; //Hold position
required int32 positionChange = 3; //Daily change in position
optional int32 expiryDateDistance = 4; //The number of days from the expiration date
}
2
3
4
5
6
7
# Basic Quotation
BasicQot
message BasicQot
{
required Security security = 1; //Stock
optional string name = 24; // stock name
required bool isSuspended = 2; //whether trading is suspended
required string listTime = 3; //listed date string (This field is deprecated. Format: yyyy-MM-dd)
required double priceSpread = 4; //Spread
required string updateTime = 5; //Update time string of the latest price (Format: yyyy-MM-dd HH:mm:ss), not applicable to other fields
required double highPrice = 6; //High
required double openPrice = 7; //Open
required double lowPrice = 8; //low
required double curPrice = 9; //The latest price
required double lastClosePrice = 10; //Close yesterday
required int64 volume = 11; //Volume
required double turnover = 12; //Turnover
required double turnoverRate = 13; //Turnover rate (This field is in percentage form, so 20 is equivalent to 20%.)
required double amplitude = 14; //Amplitude (This field is in percentage form, so 20 is equivalent to 20%.)
optional int32 darkStatus = 15; //Grey market trading status
optional OptionBasicQotExData optionExData = 16; //Option specific field
optional double listTimestamp = 17; //Time stamp of listing date (This field is deprecated.)
optional double updateTimestamp = 18; //Update timestamp of the latest price, not applicable to other fields
optional PreAfterMarketData preMarket = 19; //Pre-market data
optional PreAfterMarketData afterMarket = 20; //After-hours data
optional int32 secStatus = 21; //Security status
optional FutureBasicQotExData futureExData = 22; //Futures specific field
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Before And After Data
PreAfterMarketData
//US stocks support pre-market and after-hours data
//The Sci-tech Innovation Plate only supports after-hours data: trading volume, turnover
message PreAfterMarketData
{
optional double price = 1; //Pre-market or after-hours## Price
optional double highPrice = 2; //Pre-market or after-hours## High
optional double lowPrice = 3; //Pre-market or after-hours## Low
optional int64 volume = 4; //Pre-market or after-hours## Volume
optional double turnover = 5; //Pre-market or after-hours## Turnover
optional double changeVal = 6; //Pre-market or after-hours## Change in price
optional double changeRate = 7; //Pre-market or after-hours## Yield (This field is in percentage form, so 20 is equivalent to 20%.)
optional double amplitude = 8; //Pre-market or after-hours## Amplitude (This field is in percentage form, so 20 is equivalent to 20%.)
}
2
3
4
5
6
7
8
9
10
11
12
13
# Time Frame Data
TimeShare
message TimeShare
{
required string time = 1; //Time string (Format: yyyy-MM-dd HH:mm:ss)
required int32 minute = 2; //Minutes after 0 o'clock
required bool isBlank = 3; //Whether the content is empty, if true, it contents only time
optional double price = 4; //Current price
optional double lastClosePrice = 5; //Close yesterday
optional double avgPrice = 6; //Average price
optional int64 volume = 7; //Volume
optional double turnover = 8; //Turnover
optional double timestamp = 9; //Timestamp
}
2
3
4
5
6
7
8
9
10
11
12
# Basic Static Information of Securities
SecurityStaticBasic
message SecurityStaticBasic
{
required Qot_Common.Security security = 1; //Stock
required int64 id = 2; //Stock ID
required int32 lotSize = 3; //Lot size, the option type represents the number of shares in a contract
required int32 secType = 4; //Qot_Common.SecurityType, stock type
required string name = 5; //Stock name
required string listTime = 6; //Listing time string (This field is deprecated. Format: yyyy-MM-dd)
optional bool delisting = 7; //Delisted or not
optional double listTimestamp = 8; //Listing timestamp (This field is deprecated.)
optional int32 exchType = 9; //Qot_Common.ExchType, Exchange Type
}
2
3
4
5
6
7
8
9
10
11
12
13
# Warrant Additional Static Information
WarrantStaticExData
message WarrantStaticExData
{
required int32 type = 1; //Qot_Common.WarrantType, Warrant Type
required Qot_Common.Security owner = 2; //The underlying stock
}
2
3
4
5
# Option Additional Static Information
OptionStaticExData
message OptionStaticExData
{
required int32 type = 1; //Qot_Common.OptionType, option
required Qot_Common.Security owner = 2; //Underlying stock
required string strikeTime = 3; //Exercise date (Format: yyyy-MM-dd)
required double strikePrice = 4; //Strike price
required bool suspend = 5; //Suspended or not
required string market = 6; //Issuance market name
optional double strikeTimestamp = 7; //Exercise date timestamp
optional int32 indexOptionType = 8; //Qot_Common.IndexOptionType, type of index option, only valid for index option
optional int32 expirationCycle = 9; // Qot_Common.ExpirationCycle, type of option expiration cycle
optional int32 optionStandardType = 10; // Qot_Common.OptionStandardType, type of option standard
optional int32 optionSettlementMode = 11; // OptionSettlementMode, mode of option settlement
}
2
3
4
5
6
7
8
9
10
11
12
13
14
# Additional Static Information About Futures
FutureStaticExData
message FutureStaticExData
{
required string lastTradeTime = 1; //The lastest trading day, only future non-main contracts have this field
optional double lastTradeTimestamp = 2; //The lastest trading day timestamp, only future non-main contracts have this field
required bool isMainContract = 3; //Futures main contract or not
}
2
3
4
5
6
# Securities Static Information
SecurityStaticInfo
message SecurityStaticInfo
{
required SecurityStaticBasic basic = 1; //Basic security information
optional WarrantStaticExData warrantExData = 2; //Additional information for warrants
optional OptionStaticExData optionExData = 3; //Additional information for options
optional FutureStaticExData futureExData = 4; //Additional information for futures
}
2
3
4
5
6
7
# Brokerage
Broker
message Broker
{
required int64 id = 1; //Broker ID
required string name = 2; //Broker name
required int32 pos = 3; //Broker position
//The following fields are specific to SF quote
optional int64 orderID = 4; //Exchange order ID, which is different from the order ID returned by the trading interface
optional int64 volume = 5; //Number of shares in order
}
2
3
4
5
6
7
8
9
10
# Tick-by-Tick
Ticker
message Ticker
{
required string time = 1; //Time string (Format: yyyy-MM-dd HH:mm:ss)
required int64 sequence = 2; //Unique identification
required int32 dir = 3; //TickerDirection, buy or sell direction
required double price = 4; //Price
required int64 volume = 5; //Volume
required double turnover = 6; // turnover
optional double recvTime = 7; //Local timestamp of received push data, used to locate delay
optional int32 type = 8; //TickerType, type by pen
optional int32 typeSign = 9; //Pattern-by-stroke type sign
optional int32 pushDataType = 10; //Used to distinguish push situations, this field is only available when pushing
optional double timestamp = 11; //time stamp}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
# Transaction File Details
OrderBookDetail
message OrderBookDetail
{
required int64 orderID = 1; //Exchange order ID, which is different from the order ID returned by the trading interface
required int64 volume = 2; //Number of shares in order
}
2
3
4
5
# Order Book
OrderBook
message OrderBook
{
required double price = 1; //Order price
required int64 volume = 2; //Order quantity
required int32 orederCount = 3; //Number of commissioned orders
repeated OrderBookDetail detailList = 4; //Order information, unique to HK SF, US LV2 market
}
2
3
4
5
6
7
# Changes in Holdings
ShareHoldingChange
message ShareHoldingChange
{
required string holderName = 1; //Holder name (institution name or fund name or executive name)
required double holdingQty = 2; //Current number of holdings
required double holdingRatio = 3; //Current shareholding percentage (This field is in percentage form, so 20 is equivalent to 20%.)
required double changeQty = 4; //The number of changes from the previous time
required double changeRatio = 5; //The percentage of change from the last time (This field is in percentage form, so 20 is equivalent to 20%.. It is the ratio relative to itself, not to total. For example, if the total share capital is 10,000 shares, holding 100 shares, the shareholding percentage is 1%, if 50 shares are sold, the change ratio is 50% instead of 0.5%)
required string time = 6; //Release time (Format: yyyy-MM-dd HH:mm:ss)
optional double timestamp = 7; //Timestamp
}
2
3
4
5
6
7
8
9
10
# Single Subscription Type Information
SubInfo
message SubInfo
{
required int32 subType = 1; //Qot_Common.SubType, subscription type
repeated Qot_Common.Security securityList = 2; //Subscribe to securities of this type of market
}
2
3
4
5
# Single Connection Subscription Information
ConnSubInfo
message ConnSubInfo
{
repeated SubInfo subInfoList = 1; //The connection subscription information
required int32 usedQuota = 2; //The subscription quota that the connection has used
required bool isOwnConnData = 3; //Used to distinguish whether it is self-connected data
}
2
3
4
5
6
# Plate Information
PlateInfo
message PlateInfo
{
required Qot_Common.Security plate = 1; //Plate
required string name = 2; //Plate name
optional int32 plateType = 3; //Plate type, only 3207 (to get the plate to which the stock belongs) agreement returns this field
}
2
3
4
5
6
# Adjustment Information
Rehab
message Rehab
{
required string time = 1; //Time string (Format: yyyy-MM-dd)
required int64 companyActFlag = 2; //CompanyAct combination flag bit, which specifies whether certain field values are valid
required double fwdFactorA = 3; //Adjustments factor A
required double fwdFactorB = 4; //Adjustments factor B
required double bwdFactorA = 5; //Adjustments factor A
required double bwdFactorB = 6; //Adjustments factor B
optional int32 splitBase = 7; //Stock split (for example, 1 split 5, Base is 1, Ert is 5)
optional int32 splitErt = 8;
optional int32 joinBase = 9; //Reverse stock split (for example, 50 in 1, Base is 50, Ert is 1)
optional int32 joinErt = 10;
optional int32 bonusBase = 11; //Bonus shares (for example, 10 free 3, Base is 10, Ert is 3)
optional int32 bonusErt = 12;
optional int32 transferBase = 13; //Transfer bonus shares (for example, 10 to 3, Base is 10, Ert is 3)
optional int32 transferErt = 14;
optional int32 allotBase = 15; //Allotment (for example, 10 get 2 free, allotment price is 6.3 yuan, Base is 10, Ert is 2, and Price is 6.3)
optional int32 allotErt = 16;
optional double allotPrice = 17;
optional int32 addBase = 18; //Additional shares (for example, 10 get 2 free, additional issuance price is 6.3 yuan, Base is 10, Ert is 2, and Price is 6.3)
optional int32 addErt = 19;
optional double addPrice = 20;
optional double dividend = 21; //Cash dividend (for example, if every 10 shares are paid out 0.5 yuan, the field value is 0.05)
optional double spDividend = 22; //Special dividend (for example, if a special dividend is 0.5 yuan for every 10 shares, the value of this field is 0.05)
optional double timestamp = 23; //Timestamp
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- For CompanyAct combination flag bit, refer to CompanyAct.
# Expiration Cycle
- Python
- Proto
- C#
- Java
- C++
- JavaScript
ExpirationCycle
NONEUnknown
WEEKWeekly options
MONTHMonthly options
END_OF_MONTHEnd-Of-Monthly options
QUARTERLYQuarterly options
WEEKMONMonthly options-Monday
WEEKTUEMonthly options-Tuesday
WEEKWEDMonthly options-Wednesday
WEEKTHUMonthly options-Thursday
WEEKFRIMonthly options-Friday
ExpirationCycle
enum ExpirationCycle
{
ExperationCycle_Unknow = 0; //Unknown
ExperationCycle_Week = 1; //Weekly options
ExperationCycle_Month = 2; //Monthly options
ExpirationCycle_MonthEnd = 3; // End-Of-Monthly options
ExpirationCycle_Quarter = 4; //Quarterly options
ExpirationCycle_WeekMon = 11; //Monthly options-Monday
ExpirationCycle_WeekTue = 12; //Monthly options-Tuesday
ExpirationCycle_WeekWed = 13; //Monthly options-Wednesday
ExpirationCycle_WeekThu = 14; //Monthly options-Thursday
ExpirationCycle_WeekFri = 15; //Monthly options-Friday
}
2
3
4
5
6
7
8
9
10
11
12
13
ExpirationCycle
enum ExpirationCycle
{
ExperationCycle_Unknow = 0; //Unknown
ExperationCycle_Week = 1; //Weekly options
ExperationCycle_Month = 2; //Monthly options
ExpirationCycle_MonthEnd = 3; // End-Of-Monthly options
ExpirationCycle_Quarter = 4; //Quarterly options
ExpirationCycle_WeekMon = 11; //Monthly options-Monday
ExpirationCycle_WeekTue = 12; //Monthly options-Tuesday
ExpirationCycle_WeekWed = 13; //Monthly options-Wednesday
ExpirationCycle_WeekThu = 14; //Monthly options-Thursday
ExpirationCycle_WeekFri = 15; //Monthly options-Friday
}
2
3
4
5
6
7
8
9
10
11
12
13
ExpirationCycle
enum ExpirationCycle
{
ExperationCycle_Unknow = 0; //Unknown
ExperationCycle_Week = 1; //Weekly options
ExperationCycle_Month = 2; //Monthly options
ExpirationCycle_MonthEnd = 3; // End-Of-Monthly options
ExpirationCycle_Quarter = 4; //Quarterly options
ExpirationCycle_WeekMon = 11; //Monthly options-Monday
ExpirationCycle_WeekTue = 12; //Monthly options-Tuesday
ExpirationCycle_WeekWed = 13; //Monthly options-Wednesday
ExpirationCycle_WeekThu = 14; //Monthly options-Thursday
ExpirationCycle_WeekFri = 15; //Monthly options-Friday
}
2
3
4
5
6
7
8
9
10
11
12
13
ExpirationCycle
enum ExpirationCycle
{
ExperationCycle_Unknow = 0; //Unknown
ExperationCycle_Week = 1; //Weekly options
ExperationCycle_Month = 2; //Monthly options
ExpirationCycle_MonthEnd = 3; // End-Of-Monthly options
ExpirationCycle_Quarter = 4; //Quarterly options
ExpirationCycle_WeekMon = 11; //Monthly options-Monday
ExpirationCycle_WeekTue = 12; //Monthly options-Tuesday
ExpirationCycle_WeekWed = 13; //Monthly options-Wednesday
ExpirationCycle_WeekThu = 14; //Monthly options-Thursday
ExpirationCycle_WeekFri = 15; //Monthly options-Friday
}
2
3
4
5
6
7
8
9
10
11
12
13
ExpirationCycle
enum ExpirationCycle
{
ExperationCycle_Unknow = 0; //Unknown
ExperationCycle_Week = 1; //Weekly options
ExperationCycle_Month = 2; //Monthly options
ExpirationCycle_MonthEnd = 3; // End-Of-Monthly options
ExpirationCycle_Quarter = 4; //Quarterly options
ExpirationCycle_WeekMon = 11; //Monthly options-Monday
ExpirationCycle_WeekTue = 12; //Monthly options-Tuesday
ExpirationCycle_WeekWed = 13; //Monthly options-Wednesday
ExpirationCycle_WeekThu = 14; //Monthly options-Thursday
ExpirationCycle_WeekFri = 15; //Monthly options-Friday
}
2
3
4
5
6
7
8
9
10
11
12
13
# Option Standard Type
- Python
- Proto
- C#
- Java
- C++
- JavaScript
OptionStandardType
NONEUnknown
STANDARDstandard options
NON_STANDARDnon-standard options
OptionStandardType
enum OptionStandardType
{
OptionStandardType_Unknown = 0; //Unknown
OptionStandardType_Standard = 1; // standard options
OptionStandardType_NonStandard = 2; // non-standard options
}
2
3
4
5
6
OptionStandardType
enum OptionStandardType
{
OptionStandardType_Unknown = 0; //Unknown
OptionStandardType_Standard = 1; // standard options
OptionStandardType_NonStandard = 2; // non-standard options
}
2
3
4
5
6
OptionStandardType
enum OptionStandardType
{
OptionStandardType_Unknown = 0; //Unknown
OptionStandardType_Standard = 1; // standard options
OptionStandardType_NonStandard = 2; // non-standard options
}
2
3
4
5
6
OptionStandardType
enum OptionStandardType
{
OptionStandardType_Unknown = 0; //Unknown
OptionStandardType_Standard = 1; // standard options
OptionStandardType_NonStandard = 2; // non-standard options
}
2
3
4
5
6
OptionStandardType
enum OptionStandardType
{
OptionStandardType_Unknown = 0; //Unknown
OptionStandardType_Standard = 1; // standard options
OptionStandardType_NonStandard = 2; // non-standard options
}
2
3
4
5
6
# Option Settlement Mode
- Python
- Proto
- C#
- Java
- C++
- JavaScript
OptionSettlementMode
NONEUnknown
AMAsian Pricing
PMPath-Dependent
OptionSettlementMode
enum OptionSettlementMode
{
OptionSettlementMode_Unknown = 0; //Unknown
OptionSettlementMode_AM = 1; // AM
OptionSettlementMode_PM = 2; // PM
}
2
3
4
5
6
OptionSettlementMode
enum OptionSettlementMode
{
OptionSettlementMode_Unknown = 0; //Unknown
OptionSettlementMode_AM = 1; // AM
OptionSettlementMode_PM = 2; // PM
}
2
3
4
5
6
OptionSettlementMode
enum OptionSettlementMode
{
OptionSettlementMode_Unknown = 0; //Unknown
OptionSettlementMode_AM = 1; // AM
OptionSettlementMode_PM = 2; // PM
}
2
3
4
5
6
OptionSettlementMode
enum OptionSettlementMode
{
OptionSettlementMode_Unknown = 0; //Unknown
OptionSettlementMode_AM = 1; // AM
OptionSettlementMode_PM = 2; // PM
}
2
3
4
5
6
OptionSettlementMode
enum OptionSettlementMode
{
OptionSettlementMode_Unknown = 0; //Unknown
OptionSettlementMode_AM = 1; // AM
OptionSettlementMode_PM = 2; // PM
}
2
3
4
5
6
# Stock Holder
- Python
- Proto
- C#
- Java
- C++
- JavaScript
StockHolder
NONEUnknown
INSTITUTEInstitute
FUNDFund
EXECUTIVEExecutives
HolderCategory
enum HolderCategory
{
HolderCategory_Unknow = 0; //Unknown
HolderCategory_Agency = 1; //Institute
HolderCategory_Fund = 2; //Fund
HolderCategory_SeniorManager = 3; //Executives
}
2
3
4
5
6
7
HolderCategory
enum HolderCategory
{
HolderCategory_Unknow = 0; //Unknown
HolderCategory_Agency = 1; //Institute
HolderCategory_Fund = 2; //Fund
HolderCategory_SeniorManager = 3; //Executives
}
2
3
4
5
6
7
HolderCategory
enum HolderCategory
{
HolderCategory_Unknow = 0; //Unknown
HolderCategory_Agency = 1; //Institute
HolderCategory_Fund = 2; //Fund
HolderCategory_SeniorManager = 3; //Executives
}
2
3
4
5
6
7
HolderCategory
enum HolderCategory
{
HolderCategory_Unknow = 0; //Unknown
HolderCategory_Agency = 1; //Institute
HolderCategory_Fund = 2; //Fund
HolderCategory_SeniorManager = 3; //Executives
}
2
3
4
5
6
7
HolderCategory
enum HolderCategory
{
HolderCategory_Unknow = 0; //Unknown
HolderCategory_Agency = 1; //Institute
HolderCategory_Fund = 2; //Fund
HolderCategory_SeniorManager = 3; //Executives
}
2
3
4
5
6
7