vnpy/vn.ctp/pyscript/ctp_td_define.cpp

98 lines
3.3 KiB
C++
Raw Normal View History

#define ONFRONTCONNECTED 1
#define ONFRONTDISCONNECTED 2
#define ONHEARTBEATWARNING 3
#define ONRSPAUTHENTICATE 4
#define ONRSPUSERLOGIN 5
#define ONRSPUSERLOGOUT 6
#define ONRSPUSERPASSWORDUPDATE 7
#define ONRSPTRADINGACCOUNTPASSWORDUPDATE 8
#define ONRSPORDERINSERT 9
#define ONRSPPARKEDORDERINSERT 10
#define ONRSPPARKEDORDERACTION 11
#define ONRSPORDERACTION 12
#define ONRSPQUERYMAXORDERVOLUME 13
#define ONRSPSETTLEMENTINFOCONFIRM 14
#define ONRSPREMOVEPARKEDORDER 15
#define ONRSPREMOVEPARKEDORDERACTION 16
#define ONRSPEXECORDERINSERT 17
#define ONRSPEXECORDERACTION 18
#define ONRSPFORQUOTEINSERT 19
#define ONRSPQUOTEINSERT 20
#define ONRSPQUOTEACTION 21
#define ONRSPQRYORDER 22
#define ONRSPQRYTRADE 23
#define ONRSPQRYINVESTORPOSITION 24
#define ONRSPQRYTRADINGACCOUNT 25
#define ONRSPQRYINVESTOR 26
#define ONRSPQRYTRADINGCODE 27
#define ONRSPQRYINSTRUMENTMARGINRATE 28
#define ONRSPQRYINSTRUMENTCOMMISSIONRATE 29
#define ONRSPQRYEXCHANGE 30
#define ONRSPQRYPRODUCT 31
#define ONRSPQRYINSTRUMENT 32
#define ONRSPQRYDEPTHMARKETDATA 33
#define ONRSPQRYSETTLEMENTINFO 34
#define ONRSPQRYTRANSFERBANK 35
#define ONRSPQRYINVESTORPOSITIONDETAIL 36
#define ONRSPQRYNOTICE 37
#define ONRSPQRYSETTLEMENTINFOCONFIRM 38
#define ONRSPQRYINVESTORPOSITIONCOMBINEDETAIL 39
#define ONRSPQRYCFMMCTRADINGACCOUNTKEY 40
#define ONRSPQRYEWARRANTOFFSET 41
#define ONRSPQRYINVESTORPRODUCTGROUPMARGIN 42
#define ONRSPQRYEXCHANGEMARGINRATE 43
#define ONRSPQRYEXCHANGEMARGINRATEADJUST 44
#define ONRSPQRYEXCHANGERATE 45
#define ONRSPQRYSECAGENTACIDMAP 46
#define ONRSPQRYOPTIONINSTRTRADECOST 47
#define ONRSPQRYOPTIONINSTRCOMMRATE 48
#define ONRSPQRYEXECORDER 49
#define ONRSPQRYFORQUOTE 50
#define ONRSPQRYQUOTE 51
#define ONRSPQRYTRANSFERSERIAL 52
#define ONRSPQRYACCOUNTREGISTER 53
#define ONRSPERROR 54
#define ONRTNORDER 55
#define ONRTNTRADE 56
#define ONERRRTNORDERINSERT 57
#define ONERRRTNORDERACTION 58
#define ONRTNINSTRUMENTSTATUS 59
#define ONRTNTRADINGNOTICE 60
#define ONRTNERRORCONDITIONALORDER 61
#define ONRTNEXECORDER 62
#define ONERRRTNEXECORDERINSERT 63
#define ONERRRTNEXECORDERACTION 64
#define ONERRRTNFORQUOTEINSERT 65
#define ONRTNQUOTE 66
#define ONERRRTNQUOTEINSERT 67
#define ONERRRTNQUOTEACTION 68
#define ONRTNFORQUOTERSP 69
#define ONRSPQRYCONTRACTBANK 70
#define ONRSPQRYPARKEDORDER 71
#define ONRSPQRYPARKEDORDERACTION 72
#define ONRSPQRYTRADINGNOTICE 73
#define ONRSPQRYBROKERTRADINGPARAMS 74
#define ONRSPQRYBROKERTRADINGALGOS 75
#define ONRTNFROMBANKTOFUTUREBYBANK 76
#define ONRTNFROMFUTURETOBANKBYBANK 77
#define ONRTNREPEALFROMBANKTOFUTUREBYBANK 78
#define ONRTNREPEALFROMFUTURETOBANKBYBANK 79
#define ONRTNFROMBANKTOFUTUREBYFUTURE 80
#define ONRTNFROMFUTURETOBANKBYFUTURE 81
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTUREMANUAL 82
#define ONRTNREPEALFROMFUTURETOBANKBYFUTUREMANUAL 83
#define ONRTNQUERYBANKBALANCEBYFUTURE 84
#define ONERRRTNBANKTOFUTUREBYFUTURE 85
#define ONERRRTNFUTURETOBANKBYFUTURE 86
#define ONERRRTNREPEALBANKTOFUTUREBYFUTUREMANUAL 87
#define ONERRRTNREPEALFUTURETOBANKBYFUTUREMANUAL 88
#define ONERRRTNQUERYBANKBALANCEBYFUTURE 89
#define ONRTNREPEALFROMBANKTOFUTUREBYFUTURE 90
#define ONRTNREPEALFROMFUTURETOBANKBYFUTURE 91
#define ONRSPFROMBANKTOFUTUREBYFUTURE 92
#define ONRSPFROMFUTURETOBANKBYFUTURE 93
#define ONRSPQUERYBANKACCOUNTMONEYBYFUTURE 94
#define ONRTNOPENACCOUNTBYBANK 95
#define ONRTNCANCELACCOUNTBYBANK 96
#define ONRTNCHANGEACCOUNTBYBANK 97