forked from QuantBox/QuantBox_XAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDFITCSECApiStruct.h
1971 lines (1817 loc) · 111 KB
/
DFITCSECApiStruct.h
1
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* 版权所有(C)2012-2016, 大连飞创信息技术有限公司
* 文件名称:DFITCSECApiStruct.h
* 文件说明:定义接口所需的数据接口
* 当前版本:1.3.0.0
* 作者:XSpeed项目组
* 发布日期:2014年10月
*/
#ifndef DFITCSECAPISTRUCT_H_
#define DFITCSECAPISTRUCT_H_
#include "DFITCSECApiDataType.h"
#ifdef WIN32
#ifdef DFITCSECAPI_EXPORTS
#define APISTRUCT __declspec(dllexport)
#else
#define APISTRUCT __declspec(dllimport)
#endif//DFITCAPI_EXPORTS
#else
#define APISTRUCT
#endif//WIN32
//ERR-错误信息
struct APISTRUCT DFITCSECRspInfoField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECSessionIDType sessionID; //会话标识
DFITCSECAccountIDType accountID; //客户号
DFITCSECErrorIDType errorID; //错误ID
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECMessageType errorMsg; //错误信息
};
//SEC-登录请求
struct APISTRUCT DFITCSECReqUserLoginField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECPasswordType passWord; //密码(Y)
};
//SEC-登录响应
struct APISTRUCT DFITCSECRspUserLoginField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECSessionIDType sessionID; //会话编号
DFITCSECFrontIDType frontID; //前置编号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECTimeType loginTime; //登录时间
DFITCSECDateType tradingDay; //交易日
DFITCSECErrorIDType result; //结果
DFITCSECMessageType rtnMsg; //返回信息
};
//SEC-登出请求
struct APISTRUCT DFITCSECReqUserLogoutField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
};
//SEC-登出响应
struct APISTRUCT DFITCSECRspUserLogoutField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECErrorIDType result; //结果
DFITCSECMessageType rtnMsg; //返回信息
};
//SEC-更用户密码请求
struct APISTRUCT DFITCSECReqPasswordUpdateField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECPasswordType oldPassword; //旧密码(Y)
DFITCSECPasswordType newPassword; //新密码(Y)
DFITCSECPasswordTypeType passwordType; //密码类型(Y)
};
//SEC-更新用户密码响应
struct APISTRUCT DFITCSECRspPasswordUpdateField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECPasswordTypeType passwordType; //密码类型
DFITCSECErrorIDType result; //更新结果
DFITCSECMessageType rtnMsg; //更新返回信息
};
//SEC-撤单请求
struct APISTRUCT DFITCSECReqWithdrawOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号(Y)
DFITCSECLocalOrderIDType localOrderID; //本地委托号
};
//SEC-撤单响应
struct APISTRUCT DFITCSECRspWithdrawOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECTimeType entrustTime; //委托时间
DFITCSECMessageType cancelMsg; //撤单返回信息
};
//STOCK-委托请求
struct APISTRUCT DFITCStockReqEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECLocalOrderIDType localOrderID; //本地委托号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECPriceType entrustPrice; //委托价格(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(Y)
DFITCSECQuantityType entrustQty; //委托数量(Y)
DFITCSECSecurityIDType securityID; //证券代码(Y)
DFITCSECOrderTypeType orderType; //订单类型(Y)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECSeatIDType eachSeatID; //对方席位号(N)
DFITCSECHKEntrustLimitType hkEntrustLimit; //港股交易限制(港股交易:Y)
DFITCSECHKOrderTypeType hkOrderType; //港股订单属性(港股交易:Y)
};
//STOCK-委托响应
struct APISTRUCT DFITCStockRspEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECMessageType entrustMsg; //委托返回信息
};
//STOCK-委托查询请求
struct APISTRUCT DFITCStockReqQryEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSpdOrderIDType spdOrderID; //委托号(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECSecurityIDType securityID; //证券代码(N)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECEntrustQryFlagType entrustQryFlag; //查询标志(N)
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志(N)
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值(N)
};
//STOCK-委托查询响应
struct APISTRUCT DFITCStockRspQryEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECShareholderIDType offerShareholderID; //报盘股东号
DFITCSECCurrencyType currency; //币种
DFITCSECFundsType turnover; //成交金额
DFITCSECPriceType tradePrice; //成交价格
DFITCSECTimeType tradeTime; //成交时间
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECFundsType clearFunds; //清算资金
DFITCSECEntrustTypeType entrustType; //委托方式
DFITCSECSpdOrderIDType spdOrderID; //委托号
DFITCSECPriceType entrustPrice; //委托价格
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECQuantityType entrustQty; //委托数量
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECTimeType entrustTime; //委托时间
DFITCSECTimeType declareTime; //申报时间
DFITCSECDeclareResultType declareResult; //申报结果
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECFundsType freezeFunds; //冻结资金
DFITCSECAccountIDType accountID; //客户号
DFITCSECMessageType noteMsg; //结果说明
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECDeclareOrderIDType declareOrderID; //申报委托号
DFITCSECOrderTypeType orderType; //订单类型
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号
DFITCSECSerialIDType freezeFundsSerialID; //资金冻结流水号
DFITCSECSerialIDType freezeStockSerialID; //证券冻结流水号
DFITCSECDateType declareDate; //申报日期
DFITCSECSerialIDType declareSerialID; //申报记录号
DFITCSECDateType entrustDate; //委托日期
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值
DFITCSECIPAddressType ipAddr; //IP地址
DFITCSECMacAddressType macAddr; //MAC地址
};
//STOCK-实时成交查询请求
struct APISTRUCT DFITCStockReqQryRealTimeTradeField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSecurityIDType securityID; //证券代码(N)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECSpdOrderIDType spdOrderID; //委托号(N)
DFITCSECTradeQryFlagType queryFlag; //查询标志(N)
};
//STOCK-实时成交查询响应
struct APISTRUCT DFITCStockRspQryRealTimeTradeField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECDeclareOrderIDType declareOrderID; //申报委托号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECQuantityType entrustQty; //委托数量
DFITCSECPriceType entrustPrice; //委托价格
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECFundsType turnover; //成交金额
DFITCSECPriceType tradePrice; //成交价格
DFITCSECTimeType tradeTime; //成交时间
DFITCSECCurrencyType currency; //币种
DFITCSECFundsType clearFunds; //清算资金
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号
DFITCSECOrderTypeType orderType; //订单类型
};
//STOCK-分笔成交查询请求
struct APISTRUCT DFITCStockReqQrySerialTradeField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECAccountIDType accountID; //客户号(N)
DFITCSECSpdOrderIDType spdOrderID; //委托号(Y)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECSecurityIDType securityID; //证券代码(N)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECTradeQryFlagType tradeQryFlag; //查询标志(N)
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值(N)
};
//STOCK-分笔成交查询响应
struct APISTRUCT DFITCStockRspQrySerialTradeField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECCurrencyType currency; //币种
DFITCSECTradeIDType tradeID; //成交编号
DFITCSECFundsType turnover; //成交金额
DFITCSECPriceType tradePrice; //成交价格
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECFundsType clearFunds; //清算资金
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECSecurityTypeType securityType; //证劵类别
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECFundsType commission; //佣金
DFITCSECSerialIDType rtnSerialID; //回报序号
DFITCSECFundsType interestQuote; //利息报价
DFITCSECDeclareOrderIDType declareOrderID; //申报委托号
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值
DFITCSECFundsType interest; //利息
DFITCSECTimeType tradeTime; //成交时间
};
//STOCK-持仓查询请求
struct APISTRUCT DFITCStockReqQryPositionField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSecurityIDType securityID; //证劵代码(N)
DFITCSECPositionQryFlagType posiQryFlag; //查询标志(N)
};
//STOCK-持仓查询响应
struct APISTRUCT DFITCStockRspQryPositionField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECCurrencyType currency; //币种
DFITCSECFundsType sellTurnover; //当日卖出成交金额
DFITCSECQuantityType sellTradeQty; //当日卖出成交数量
DFITCSECQuantityType sellEntrustQty; //当日卖出委托数量
DFITCSECFundsType buyTurnover; //当日买入成交金额
DFITCSECQuantityType buyTradeQty; //当日买入成交数量
DFITCSECQuantityType buyEntrustQty; //当日买入委托数量
DFITCSECQuantityType nonCirculateQty; //非流通数量
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所
DFITCSECDateType openDate; //开仓日期
DFITCSECQuantityType ableSellQty; //可卖出数量
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECQuantityType securityQty; //证券数量
DFITCSECQuantityType position; //今持仓量
DFITCSECQuantityType unSettleQty; //未交收数量
DFITCSECDateType changeDate; //变动日期
DFITCSECQuantityType ablePurchaseQty; //可申购数量
DFITCSECQuantityType ableRedemptionQty; //可赎回数量
DFITCSECQuantityType freezeQty; //冻结数量
DFITCSECQuantityType offsetSQty; //卖出抵消数量
DFITCSECQuantityType offsetBQty; //买入抵消数量
DFITCSECQuantityType purchaseTradeQty; //申购成交数量
DFITCSECQuantityType redemptionTradeQty; //赎回成交数量
DFITCSECTradeUnitType tradeUnit; //交易单位
DFITCSECQuantityType totalSellQty; //累计卖出数量
DFITCSECQuantityType totalBuyQty; //累计买入数量
DFITCSECQuantityType rationedSharesQty; //配股数量
DFITCSECQuantityType purchaseQty; //申购数量
DFITCSECFundsType dilutedFloatProfitLoss; //摊薄浮动盈亏
DFITCSECPriceType dilutedBreakevenPrice; //摊薄保本价
DFITCSECPriceType dilutedCost; //摊薄成本价
DFITCSECPriceType avgPositionPrice; //持仓均价
DFITCSECFundsType floatProfitLoss; //浮动盈亏
DFITCSECFundsType dividend; //红利金额
DFITCSECFundsType totalFloatProfitLoss; //累计浮动盈亏
DFITCSECFundsType sellAmount; //卖出金额
DFITCSECFundsType buyAmount; //买入金额
DFITCSECPriceType buyAvgPrice; //买入均价
DFITCSECFundsType rationedSharesAmount; //配股金额
DFITCSECFundsType latestMarket; //最新市值
DFITCSECPriceType breakevenPrice; //保本价
DFITCSECPriceType latestPrice; //最新价
DFITCSECFundsType nonCirculateMarket; //非流通市值
DFITCSECFundsType interestQuote; //利息报价
DFITCSECPriceType preClosePrice; //昨收盘价
};
//STOCK-客户资金查询请求
struct APISTRUCT DFITCStockReqQryCapitalAccountField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECFundsQryFlagType FundsQryFlag; //查询标志(Y)
};
//STOCK-客户资金查询响应
struct APISTRUCT DFITCStockRspQryCapitalAccountField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECCurrencyType currency; //币种
DFITCSECFundsType availableFunds; //可用资金
DFITCSECFundsType t2AvailableFunds; //T+2可用资金
DFITCSECFundsType anticipatedInterest; //预计利息
DFITCSECFundsType accountBalance; //账户余额
DFITCSECAccountStatusType accountStatus; //客户状态
DFITCSECAccountIDType accountID; //客户号
DFITCSECFundsType freezeFunds; //冻结资金
DFITCSECFundsType t2FreezeFunds; //T+2冻结资金
DFITCSECBranchIDType branchID; //机构代码
DFITCSECFundsType totalFunds; //总资金
DFITCSECFundsType totalMarket; //总市值
};
//STOCK-客户信息查询请求
struct APISTRUCT DFITCStockReqQryAccountField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
};
//STOCK-客户信息查询响应
struct APISTRUCT DFITCStockRspQryAccountField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECPhoneIDType tel; //电话
DFITCSECAccountIDType accountID; //客户号
DFITCSECAccountNameType accountName; //客户姓名
DFITCSECAccountIdentityIDType accountIdentityID; //证件编号
DFITCSECAccountIdentityTypeType accountIdentityType; //证件类型
DFITCSECBranchIDType branchID; //机构编码
DFITCSBranchTypeType branchType; //机构标志
DFITCSECPhoneIDType mobile; //移动电话
DFITCSECEntrustTypeType entrustType; //委托方式
DFITCSECAccountStatusType accountStatus; //客户状态
DFITCSECPasswdSyncFlagType pwdSynFlag; //密码同步标志
};
//STOCK-股东信息查询请求
struct APISTRUCT DFITCStockReqQryShareholderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
};
//STOCK-股东信息查询响应
struct APISTRUCT DFITCStockRspQryShareholderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType account; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECShareholderSpecPropType shareholderSpecProp; //股东指定属性
DFITCSECTradePermissionsType tradePermissions; //交易权限
DFITCSECExchangeIDType exchangeID; //交易所
DFITCSECShareholderStatusType shareholderStatus; //股东状态
DFITCSECMainAccountFlagType mainAccountFlag; //主账户标志
DFITCSECShareholderCtlPropType shareholderCtlProp; //股东控制属性
DFITCSECBranchIDType branchID; //机构编码
DFITCSECShareholderTypeType shareholderType; //股东类别
};
//STOCK-资金调转请求
struct APISTRUCT DFITCStockReqTransferFundsField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECCurrencyType currency; //币种(Y)
DFITCSECAccountIDType capitalID; //资金账号(Y)
DFITCSECMessageType summaryMsg; //摘要(N)
DFITCSECFundsType operateFunds; //发生金额(Y)
DFITCSECFundsTransferFlagType fundsTransFlag; //资金调转标志(Y)
};
//STOCK-资金调转响应
struct APISTRUCT DFITCStockRspTransferFundsField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECSerialIDType serialID; //流水号
DFITCSECFundsType accountBanlance; //账户余额
DFITCSECFundsType availableFunds; //可用资金
DFITCSECFundsType t2AvailableFunds; //T+2可用资金
DFITCSECFundsTransferFlagType fundsTransFlag; //资金调转标志
};
//STOCK-批量委托请求
struct APISTRUCT DFITCStockReqEntrustBatchOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECLocalOrderIDType localOrderID; //本地委托号(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECQuantityType entrustCount; //委托数量(Y)
DFITCSECEntrustBatchOrderDetailType entrustDetail; //委托详细信息(Y)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
};
//STOCK-批量委托响应
struct APISTRUCT DFITCStockRspEntrustBatchOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECOrderRangeID orderRangeID; //委托号范围
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号
DFITCSECQuantityType sucEntrustCount; //成功委托笔数
};
//STOCK-批量撤单请求
struct APISTRUCT DFITCStockReqWithdrawBatchOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECOrderIDRangeType orderRangeID; //委托号范围(Y)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
};
//STOCK-批量撤单响应
struct APISTRUCT DFITCStockRspWithdrawBatchOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECErrorIDType result; //撤单结果
};
//STOCK-计算可委托数量请求
struct APISTRUCT DFITCStockReqCalcAbleEntrustQtyField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECPriceType entrustPrice; //委托价格(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECSecurityIDType securityID; //证券代码(Y)
DFITCSECOrderTypeType orderType; //订单类型(Y)
};
//STOCK-计算可委托数量响应
struct APISTRUCT DFITCStockRspCalcAbleEntrustQtyField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECQuantityType ableEntrustQty; //可委托数量
};
//STOCK-计算可买入ETF股票篮数请求
struct APISTRUCT DFITCStockReqCalcAblePurchaseETFQtyField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSecurityIDType securityID; //证券代码(Y)
};
//STOCK-计算可买入ETF股票篮数响应
struct APISTRUCT DFITCStockRspCalcAblePurchaseETFQtyField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECQuantityType ablePurchaseETFQty; //可委托数量
};
//STOCK-资金冻结明细查询请求
struct APISTRUCT DFITCStockReqQryFreezeFundsDetailField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECCurrencyType currency; //币种(N)
DFITCSECFundsFreezeTypeType fundsFreezeType; //冻结类别(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSerialIDType serialID; //流水号(N)
};
//STOCK-资金冻结明细查询响应
struct APISTRUCT DFITCStockRspQryFreezeFundsDetailField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECCurrencyType currency; //币种
DFITCSECFundsFreezeTypeType fundsFreezeType; //冻结类别
DFITCSECAccountNameType accountName; //客户姓名
DFITCSECMessageType summaryMsg; //摘要
DFITCSECSerialIDType serialID; //流水号
DFITCSECFundsType operatorFunds; //发生金额
DFITCSECTimeType operatorTime; //发生时间
DFITCSECBranchIDType branchID; //机构代码
DFITCSECDateType operatorDate; //发生日期
};
//STOCK-证券冻结明细查询请求
struct APISTRUCT DFITCStockReqQryFreezeStockDetailField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECStockFreezeTypeType stockFreezeType; //冻结类别(N)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSecurityIDType securityID; //证券代码(N)
DFITCSECSerialIDType serialID; //流水号(N)
};
//STOCK-证券冻结明细查询响应
struct APISTRUCT DFITCStockRspQryFreezeStockDetailField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECStockFreezeTypeType stockFreezeType; //冻结类别
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECAccountNameType accountName; //客户姓名
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECMessageType summaryMsg; //摘要
DFITCSECSerialIDType serialID; //流水号
DFITCSECTimeType operatorTime; //发生时间
DFITCSECBranchIDType branchID; //营业部
DFITCSECDateType operatorDate; //发生日期
DFITCSECQuantityType operatorQty; //发生数量
};
//STOCK-查询资金调拨明细请求
struct APISTRUCT DFITCStockReqQryTransferFundsDetailField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECCurrencyType currency; //币种(N)
DFITCSECFundsFreezeTypeType fundsFreezeType; //冻结类别(N)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECSerialIDType serialID; //流水号(N)
};
//STOCK-资金调拨明细查询响应
struct APISTRUCT DFITCStockRspQryTransferFundsDetailField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECCurrencyType currency; //币种
DFITCSECFundsFreezeTypeType fundsFreezeType; //冻结类别
DFITCSECAccountNameType accountName; //客户姓名
DFITCSECMessageType summaryMsg; //摘要
DFITCSECSerialIDType serialID; //流水号
DFITCSECFundsType operatorFunds; //发生金额
DFITCSECTimeType operatorTime; //发生时间
DFITCSECBranchIDType branchID; //机构代码
DFITCSECDateType operatorDate; //发生日期
};
//STOCK-查询客户证券调拨明细请求
struct APISTRUCT DFITCStockReqQryTransferStockDetailField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所编码(N)
DFITCSECStockFreezeTypeType stockFreezeType; //冻结类别(N)
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值(N)
DFITCSECSerialIDType serialID; //流水号(N)
};
//STOCK-查询客户证券调拨明细响应
struct APISTRUCT DFITCStockRspQryTransferStockDetailField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECAccountNameType accountName; //客户名称
DFITCSECBranchIDType branchID; //机构代码
DFITCSECDateType operatorDate; //发生日期
DFITCSECExchangeIDType exchangeID; //交易所编码
DFITCSECStockFreezeTypeType stockFreezeType; //冻结类别
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECSerialIDType serialID; //流水号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECMessageType summaryMsg; //摘要
DFITCSECTimeType operatorTime; //发生时间
DFITCSECQuantityType operatorQty; //发生数量
};
//STOCK-证券信息查询请求
struct APISTRUCT DFITCStockReqQryStockField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECSecurityIDType securityID; //证劵代码(Y)
};
//STOCK-证券信息查询响应
struct APISTRUCT DFITCStockRspQryStockField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECBidTradeFlagType stopFlag; //停牌标志
DFITCSECPriceType latestPrice; //最新价
DFITCSECPriceType preClosePrice; //昨收盘价
DFITCSECPriceType openPrice; //开盘价
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECFundsType turnover; //成交金额
DFITCSECPriceType priceHigher; //最高价
DFITCSECPriceType priceLower; //最低价
DFITCSECPriceType bidPrice1; //申买价一
DFITCSECQuantityType bidQty1; //申买量一
DFITCSECPriceType askPrice1; //申卖价一
DFITCSECQuantityType askQty1; //申卖量一
DFITCSECPriceType bidPrice2; //申买价二
DFITCSECQuantityType bidQty2; //申买量二
DFITCSECPriceType askPrice2; //申卖价二
DFITCSECQuantityType askQty2; //申卖量二
DFITCSECPriceType bidPrice3; //申买价三
DFITCSECQuantityType bidQty3; //申买量三
DFITCSECPriceType askPrice3; //申卖价三
DFITCSECQuantityType askQty3; //申卖量三
DFITCSECPriceType bidPrice4; //申买价四
DFITCSECQuantityType bidQty4; //申买量四
DFITCSECPriceType askPrice4; //申卖价四
DFITCSECQuantityType askQty4; //申卖量四
DFITCSECPriceType bidPrice5; //申买价五
DFITCSECQuantityType bidQty5; //申买量五
DFITCSECPriceType askPrice5; //申卖价五
DFITCSECQuantityType askQty5; //申卖量五
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECPriceType interestQuote; //利息报价
DFITCSECPriceType securityFaceValue; //证券面值
DFITCSECBidTradeFlagType bidTradeFlag; //竞价交易标志
DFITCSECTradeUnitType tradeUnit; //交易单位
DFITCSECBusinessLimitType businessLimit; //买卖限制
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECSecurityNameType securityName; //证券名称
DFITCSECPriceType upperLimitPrice; //涨停板价
DFITCSECPriceType lowerLimitPrice; //跌停板价
DFITCSECCurrencyType currency; //币种
DFITCSECMessageType orderLimits; //订单类型限制
};
//STOCK-查询交易时间请求
struct APISTRUCT DFITCStockReqQryTradeTimeField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
};
//STOCK-查询交易时间响应
struct APISTRUCT DFITCStockRspQryTradeTimeField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECDateType sysTradingDay; //系统当前日期
DFITCSECTimeType sysTime; //系统当前时间
};
//STOCK-委托回报
struct APISTRUCT DFITCStockEntrustOrderRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECCurrencyType currency; //币种
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECFundsType freezeFunds; //冻结资金
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECDeclareResultType declareResult; //申报结果
DFITCSECMessageType noteMsg; //结果说明
DFITCSECQuantityType entrustQty; //委托数量
DFITCSECOrderConfirmFlagType orderConfirmFlag; //委托确认标志
DFITCSECTimeType entrustTime; //委托时间
DFITCSECPriceType entrustPrice; //委托价格
};
//STOCK-成交回报
struct APISTRUCT DFITCStockTradeRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECCurrencyType currency; //币种
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECTradeIDType tradeID; //成交编号
DFITCSECTimeType tradeTime; //成交时间
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECFundsType clearFunds; //清算资金
DFITCSECQuantityType totalTradeQty; //委托总成交数量
DFITCSECFundsType totalTurnover; //委托总成交金额
DFITCSECQuantityType tradeQty; //本次成交数量
DFITCSECPriceType tradePrice; //本次成交价格
DFITCSECFundsType turnover; //本次成交金额
DFITCSECQuantityType entrustQty; //委托数量
};
//STOCK-撤单回报
struct APISTRUCT DFITCStockWithdrawOrderRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECCurrencyType currency; //币种
DFITCSECSecurityIDType securityID; //证券代码
DFITCSECSecurityTypeType securityType; //证券类别
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECFundsType freezeFunds; //冻结资金
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECQuantityType entrustQty; //委托数量
};
//SOP-委托请求
struct APISTRUCT DFITCSOPReqEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECLocalOrderIDType localOrderID; //本地委托号(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(Y)
DFITCSECSecurityIDType securityID; //证劵代码(Y)
DFITCSECSubAccountIDType subAccountID; //子账户编码(N)
DFITCSECQuantityType entrustQty; //委托数量(Y)
DFITCSECPriceType entrustPrice; //委托价格(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(Y)
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志(Y)
DFITCSECCoveredFlagType coveredFlag; //备兑类型(Y)
DFITCSECOrderTypeType orderType; //订单类型(Y)
DFITCSECOrderExpiryDateType orderExpiryDate; //订单时效限制(N)
DFITCSECOrderCategoryType orderCategory; //委托单类别(Y)
DFITCSECSerialIDType serialID; //扩展流水号(N)
DFITCSECTDevIDType devID; //开发商代码(N)
DFITCSECTDevDecInfoType devDecInfo; //开发商申报信息(N)
};
//SOP-委托响应
struct APISTRUCT DFITCSOPRspEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECTimeType entrustTime; //委托时间
DFITCSECFundsType freezeFunds; //冻结资金
};
//SOP-委托回报
struct APISTRUCT DFITCSOPEntrustOrderRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECBranchIDType branchID; //机构代码
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECCurrencyType currency; //币种
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志
DFITCSECPriceType entrustPrice; //委托价格
DFITCSECQuantityType entrustQty; //委托数量
DFITCSECDeclareResultType declareResult; //申报结果
};
//SOP-成交回报
struct APISTRUCT DFITCSOPTradeRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECCurrencyType currency; //币种
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志
DFITCSECOrderCategoryType orderCategory; //委托单类别
DFITCSECFundsType tradePrice; //成交价格
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECTradeIDType tradeID; //成交编号
};
//SOP-撤单回报
struct APISTRUCT DFITCSOPWithdrawOrderRtnField
{
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECAccountIDType accountID; //客户号
DFITCSECShareholderIDType shareholderID; //股东号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECCurrencyType currency; //币种
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志
DFITCSECQuantityType cancelQty; //撤单数量
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECDeclareResultType declareResult; //申报结果
DFITCSECFundsType wdUnFreezeFunds; //撤单解冻资金
};
//SOP-证券锁定解锁委托请求
struct APISTRUCT DFITCSOPReqLockOUnLockStockField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECLocalOrderIDType localOrderID; //本地委托号(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(Y)
DFITCSECSubAccountIDType subAccountID; //子账户编码 (N)
DFITCSECSecurityIDType securityID; //合约代码(Y)
DFITCSECQuantityType entrustQty; //委托数量(Y)
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志(Y)
DFITCSECTDevIDType devID; //第三方开发商代码(N)
DFITCSECTDevDecInfoType devDecInfo; //第三方开发商信息(N)
};
//SOP-证券锁定解锁委托响应
struct APISTRUCT DFITCSOPRspLockOUnLockStockField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECLocalOrderIDType localOrderID; //本地委托号
DFITCSECSpdOrderIDType spdOrderID; //柜台委托号
DFITCSECTimeType entrustTime; //委托时间
DFITCSECFundsType freezeFunds; //冻结资金
};
//SOP-分笔成交查询请求
struct APISTRUCT DFITCSOPReqQrySerialTradeField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECSecurityIDType securityID; //证劵代码(N)
DFITCSECSpdOrderIDType spdOrderID; //委托号(N)
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号(N)
DFITCSECTradeQryFlagType tradeQryFlag; //查询标志(N)
};
//SOP-分笔成交查询响应
struct APISTRUCT DFITCSOPRspQrySerialTradeField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSerialIDType rtnSerialID; //回报序号
DFITCSECSecurityIDType securityID; //证劵代码
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECDeclareOrderIDType declareOrderID; //申报委托号
DFITCSECCurrencyType currency; //币种
DFITCSECTradeIDType tradeID; //成交编号
DFITCSECTimeType tradeTime; //成交时间
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECOpenCloseFlagType openCloseFlag; //开平标志
DFITCSECCoveredFlagType coveredFlag; //备兑标志
DFITCSECSpdOrderIDType spdOrderID; //委托号
DFITCSECFundsType turnover; //成交金额
DFITCSECPriceType tradePrice; //成交价格
DFITCSECFundsType clearFunds; //清算资金
DFITCSECTimeType rotationTime; //回转时间
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值
};
//SOP-委托查询请求
struct APISTRUCT DFITCSOPReqQryEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECSecurityIDType securityOptionID; //期权代码(N)
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志(N)
DFITCSECSerialIDType exSerialID; //扩展流水号(N)
DFITCSECEntrustDirectionType entrustDirection; //委托类别(N)
DFITCSECSpdOrderIDType spdOrderID; //委托号(N)
DFITCSECEntrustQryFlagType entrustQryFlag; //查询标志(N)
};
//SOP-委托查询响应
struct APISTRUCT DFITCSOPRspQryEntrustOrderField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECSpdOrderIDType spdOrderID; //委托号
DFITCSECDeclareOrderIDType withdrawOrderID; //撤销委托号
DFITCSECDeclareOrderIDType declareOrderID; //申报委托号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECEntrustDirectionType entrustDirection; //委托类别
DFITCSECWithdrawFlagType withdrawFlag; //撤销标志
DFITCSECSecurityIDType securityOptionID; //期权代码
DFITCSECOptionTypeType optType; //期权类别
DFITCSECQuantityType entrustQty; //委托数量
DFITCSECPriceType entrustPrice; //委托价格
DFITCSECDateType entrustDate; //委托日期
DFITCSECTimeType entrustTime; //委托时间
DFITCSECShareholderIDType offerShareholderID; //报盘股东号
DFITCSECDateType declareDate; //申报日期
DFITCSECTimeType declareTime; //申报时间
DFITCSECSerialIDType declareSerialID; //申报记录号
DFITCSECErrorIDType declareResult; //申报结果
DFITCSECMessageType noteMsg; //结果说明
DFITCSECQuantityType withdrawQty; //撤单数量
DFITCSECQuantityType tradeQty; //成交数量
DFITCSECFundsType turnover; //成交金额
DFITCSECCurrencyType currency; //币种
DFITCSECFundsType freezeFunds; //冻结资金
DFITCSECFundsType clearFunds; //清算资金
DFITCSECEntrustTypeType entrustType; //委托方式
DFITCSECMacAddressType macAddr; //MAC地址
DFITCSECIPAddressType ipAddr; //IP地址
DFITCSECEntrustBatchIDType entrustBatchID; //委托批次号
DFITCSECOrderTypeType orderType; //委托类型
DFITCSECIncQryIndexType incQryIndex; //增量查询索引值
};
//SOP-持仓查询请求
struct APISTRUCT DFITCSOPReqQryPositionField
{
DFITCSECRequestIDType requestID; //请求ID(Y)
DFITCSECAccountIDType accountID; //客户号(Y)
DFITCSECExchangeIDType exchangeID; //交易所代码(N)
DFITCSECSecurityIDType securityOptionID; //期权代码(N)
};
//SOP-持仓查询响应
struct APISTRUCT DFITCSOPRspQryPositionField
{
DFITCSECRequestIDType requestID; //请求ID
DFITCSECAccountIDType accountID; //客户号
DFITCSECExchangeIDType exchangeID; //交易所代码
DFITCSECSubAccountIDType subAccountID; //子账户编码
DFITCSECSecurityIDType securityOptionID; //期权代码
DFITCSECContractIDType contractID; //期权编码