#pragma once #define FTAPI_ProtoID_Trd_Begin 2000 #define FTAPI_ProtoID_Trd_End 2999 #define FTAPI_ProtoID_Qot_Begin 3000 #define FTAPI_ProtoID_Qot_End 3999 #define FTAPI_ProtoID_InitConnect 1001 #define FTAPI_ProtoID_GetGlobalState 1002 #define FTAPI_ProtoID_Notify 1003 #define FTAPI_ProtoID_KeepAlive 1004 #define FTAPI_ProtoID_GetUserInfo 1005 #define FTAPI_ProtoID_Verification 1006 #define FTAPI_ProtoID_GetDelayStatistics 1007 #define FTAPI_ProtoID_TestCmd 1008 #define FTAPI_ProtoID_Trd_GetAccList 2001 #define FTAPI_ProtoID_Trd_UnlockTrade 2005 #define FTAPI_ProtoID_Trd_SubAccPush 2008 #define FTAPI_ProtoID_Trd_GetFunds 2101 #define FTAPI_ProtoID_Trd_GetPositionList 2102 #define FTAPI_ProtoID_Trd_GetMaxTrdQtys 2111 #define FTAPI_ProtoID_Trd_GetOrderList 2201 #define FTAPI_ProtoID_Trd_PlaceOrder 2202 #define FTAPI_ProtoID_Trd_ModifyOrder 2205 #define FTAPI_ProtoID_Trd_UpdateOrder 2208 #define FTAPI_ProtoID_Trd_GetOrderFillList 2211 #define FTAPI_ProtoID_Trd_UpdateOrderFill 2218 #define FTAPI_ProtoID_Trd_GetHistoryOrderList 2221 #define FTAPI_ProtoID_Trd_GetHistoryOrderFillList 2222 #define FTAPI_ProtoID_Trd_GetMarginRatio 2223 #define FTAPI_ProtoID_Trd_GetOrderFee 2225 #define FTAPI_ProtoID_Qot_Sub 3001 #define FTAPI_ProtoID_Qot_RegQotPush 3002 #define FTAPI_ProtoID_Qot_GetSubInfo 3003 #define FTAPI_ProtoID_Qot_GetBasicQot 3004 #define FTAPI_ProtoID_Qot_UpdateBasicQot 3005 #define FTAPI_ProtoID_Qot_GetKL 3006 #define FTAPI_ProtoID_Qot_UpdateKL 3007 #define FTAPI_ProtoID_Qot_GetRT 3008 #define FTAPI_ProtoID_Qot_UpdateRT 3009 #define FTAPI_ProtoID_Qot_GetTicker 3010 #define FTAPI_ProtoID_Qot_UpdateTicker 3011 #define FTAPI_ProtoID_Qot_GetOrderBook 3012 #define FTAPI_ProtoID_Qot_UpdateOrderBook 3013 #define FTAPI_ProtoID_Qot_GetBroker 3014 #define FTAPI_ProtoID_Qot_UpdateBroker 3015 #define FTAPI_ProtoID_Qot_UpdatePriceReminder 3019 #define FTAPI_ProtoID_Qot_GetHistoryKL 3100 #define FTAPI_ProtoID_Qot_GetHistoryKLPoints 3101 #define FTAPI_ProtoID_Qot_GetRehab 3102 #define FTAPI_ProtoID_Qot_RequestHistoryKL 3103 #define FTAPI_ProtoID_Qot_RequestHistoryKLQuota 3104 #define FTAPI_ProtoID_Qot_RequestRehab 3105 #define FTAPI_ProtoID_Qot_GetTradeDate 3200 #define FTAPI_ProtoID_Qot_GetSuspend 3201 #define FTAPI_ProtoID_Qot_GetStaticInfo 3202 #define FTAPI_ProtoID_Qot_GetSecuritySnapshot 3203 #define FTAPI_ProtoID_Qot_GetPlateSet 3204 #define FTAPI_ProtoID_Qot_GetPlateSecurity 3205 #define FTAPI_ProtoID_Qot_GetReference 3206 #define FTAPI_ProtoID_Qot_GetOwnerPlate 3207 #define FTAPI_ProtoID_Qot_GetHoldingChangeList 3208 #define FTAPI_ProtoID_Qot_GetOptionChain 3209 #define FTAPI_ProtoID_Qot_GetWarrant 3210 #define FTAPI_ProtoID_Qot_GetCapitalFlow 3211 #define FTAPI_ProtoID_Qot_GetCapitalDistribution 3212 #define FTAPI_ProtoID_Qot_GetUserSecurity 3213 #define FTAPI_ProtoID_Qot_ModifyUserSecurity 3214 #define FTAPI_ProtoID_Qot_StockFilter 3215 #define FTAPI_ProtoID_Qot_GetCodeChange 3216 #define FTAPI_ProtoID_Qot_GetIpoList 3217 #define FTAPI_ProtoID_Qot_GetFutureInfo 3218 #define FTAPI_ProtoID_Qot_RequestTradeDate 3219 #define FTAPI_ProtoID_Qot_SetPriceReminder 3220 #define FTAPI_ProtoID_Qot_GetPriceReminder 3221 #define FTAPI_ProtoID_Qot_GetUserSecurityGroup 3222 #define FTAPI_ProtoID_Qot_GetMarketState 3223 #define FTAPI_ProtoID_Qot_GetOptionExpirationDate 3224