@hitrading/ctp-node 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/README.zh-CN.md +11 -1
- package/dist/generated/enums.gen.d.ts +76 -6
- package/dist/generated/enums.gen.d.ts.map +1 -1
- package/dist/generated/enums.gen.js +78 -0
- package/dist/generated/enums.gen.js.map +1 -1
- package/dist/generated/structs.gen.d.ts +6271 -4816
- package/dist/generated/structs.gen.d.ts.map +1 -1
- package/dist/generated/structs.gen.js +131 -25
- package/dist/generated/structs.gen.js.map +1 -1
- package/dist/generated/trader.gen.d.ts +39 -1
- package/dist/generated/trader.gen.d.ts.map +1 -1
- package/dist/generated/trader.gen.js +315 -225
- package/dist/generated/trader.gen.js.map +1 -1
- package/dist/index.cjs +5752 -0
- package/dist/index.d.cts +9 -0
- package/package.json +18 -6
- package/prebuilds/linux-x64/@hitrading+ctp-node.node +0 -0
- package/prebuilds/linux-x64/thostmduserapi_se.so +0 -0
- package/prebuilds/linux-x64/thosttraderapi_se.so +0 -0
- package/prebuilds/win32-x64/@hitrading+ctp-node.node +0 -0
- package/prebuilds/win32-x64/thostmduserapi_se.dll +0 -0
- package/prebuilds/win32-x64/thosttraderapi_se.dll +0 -0
- package/src/generated/enums.gen.ts +78 -0
- package/src/generated/layout.gen.cc +794 -40
- package/src/generated/structids.gen.h +54 -1
- package/src/generated/structs.gen.ts +6455 -4841
- package/src/generated/trader.gen.ts +315 -225
- package/src/generated/traderreq.gen.cc +84 -0
- package/src/generated/traderreq.gen.h +89 -75
- package/src/generated/traderspi.gen.cc +96 -0
- package/src/generated/traderspi.gen.h +198 -150
- package/tradeapi/ThostFtdcMdApi.h +69 -68
- package/tradeapi/ThostFtdcTraderApi.h +450 -323
- package/tradeapi/ThostFtdcUserApiDataType.h +2288 -2092
- package/tradeapi/ThostFtdcUserApiStruct.h +7049 -5487
- package/tradeapi/error.xml +56 -11
- package/tradeapi/linux/thostmduserapi_se.so +0 -0
- package/tradeapi/linux/thosttraderapi_se.so +0 -0
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcMdApi.h +66 -66
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Resources/Info.plist +46 -46
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
- package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/thostmduserapi_se +0 -0
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcTraderApi.h +333 -321
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Resources/Info.plist +46 -46
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
- package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/thosttraderapi_se +0 -0
- package/tradeapi/windows/thostmduserapi_se.dll +0 -0
- package/tradeapi/windows/thostmduserapi_se.lib +0 -0
- package/tradeapi/windows/thosttraderapi_se.dll +0 -0
- package/tradeapi/windows/thosttraderapi_se.lib +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>BuildMachineOSBuild</key>
|
|
6
|
-
<string>
|
|
7
|
-
<key>CFBundleDevelopmentRegion</key>
|
|
8
|
-
<string>en</string>
|
|
9
|
-
<key>CFBundleExecutable</key>
|
|
10
|
-
<string>thostmduserapi_se</string>
|
|
11
|
-
<key>CFBundleIdentifier</key>
|
|
12
|
-
<string>com.sfit.thostmduserapi-se</string>
|
|
13
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
-
<string>6.0</string>
|
|
15
|
-
<key>CFBundleName</key>
|
|
16
|
-
<string>thostmduserapi_se</string>
|
|
17
|
-
<key>CFBundlePackageType</key>
|
|
18
|
-
<string>FMWK</string>
|
|
19
|
-
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string>1.0</string>
|
|
21
|
-
<key>CFBundleSupportedPlatforms</key>
|
|
22
|
-
<array>
|
|
23
|
-
<string>MacOSX</string>
|
|
24
|
-
</array>
|
|
25
|
-
<key>CFBundleVersion</key>
|
|
26
|
-
<string>1</string>
|
|
27
|
-
<key>DTCompiler</key>
|
|
28
|
-
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
|
-
<key>DTPlatformBuild</key>
|
|
30
|
-
<string
|
|
31
|
-
<key>DTPlatformName</key>
|
|
32
|
-
<string>macosx</string>
|
|
33
|
-
<key>DTPlatformVersion</key>
|
|
34
|
-
<string>
|
|
35
|
-
<key>DTSDKBuild</key>
|
|
36
|
-
<string>
|
|
37
|
-
<key>DTSDKName</key>
|
|
38
|
-
<string>
|
|
39
|
-
<key>DTXcode</key>
|
|
40
|
-
<string>
|
|
41
|
-
<key>DTXcodeBuild</key>
|
|
42
|
-
<string>
|
|
43
|
-
<key>LSMinimumSystemVersion</key>
|
|
44
|
-
<string>10.15</string>
|
|
45
|
-
</dict>
|
|
46
|
-
</plist>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>BuildMachineOSBuild</key>
|
|
6
|
+
<string>23F79</string>
|
|
7
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
8
|
+
<string>en</string>
|
|
9
|
+
<key>CFBundleExecutable</key>
|
|
10
|
+
<string>thostmduserapi_se</string>
|
|
11
|
+
<key>CFBundleIdentifier</key>
|
|
12
|
+
<string>com.sfit.thostmduserapi-se</string>
|
|
13
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
+
<string>6.0</string>
|
|
15
|
+
<key>CFBundleName</key>
|
|
16
|
+
<string>thostmduserapi_se</string>
|
|
17
|
+
<key>CFBundlePackageType</key>
|
|
18
|
+
<string>FMWK</string>
|
|
19
|
+
<key>CFBundleShortVersionString</key>
|
|
20
|
+
<string>1.0</string>
|
|
21
|
+
<key>CFBundleSupportedPlatforms</key>
|
|
22
|
+
<array>
|
|
23
|
+
<string>MacOSX</string>
|
|
24
|
+
</array>
|
|
25
|
+
<key>CFBundleVersion</key>
|
|
26
|
+
<string>1</string>
|
|
27
|
+
<key>DTCompiler</key>
|
|
28
|
+
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
|
+
<key>DTPlatformBuild</key>
|
|
30
|
+
<string></string>
|
|
31
|
+
<key>DTPlatformName</key>
|
|
32
|
+
<string>macosx</string>
|
|
33
|
+
<key>DTPlatformVersion</key>
|
|
34
|
+
<string>14.2</string>
|
|
35
|
+
<key>DTSDKBuild</key>
|
|
36
|
+
<string>23C53</string>
|
|
37
|
+
<key>DTSDKName</key>
|
|
38
|
+
<string>macosx14.2</string>
|
|
39
|
+
<key>DTXcode</key>
|
|
40
|
+
<string>1510</string>
|
|
41
|
+
<key>DTXcodeBuild</key>
|
|
42
|
+
<string>15C65</string>
|
|
43
|
+
<key>LSMinimumSystemVersion</key>
|
|
44
|
+
<string>10.15</string>
|
|
45
|
+
</dict>
|
|
46
|
+
</plist>
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>files</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>Resources/Info.plist</key>
|
|
8
|
-
<data>
|
|
9
|
-
|
|
10
|
-
</data>
|
|
11
|
-
</dict>
|
|
12
|
-
<key>files2</key>
|
|
13
|
-
<dict>
|
|
14
|
-
<key>Headers/ThostFtdcMdApi.h</key>
|
|
15
|
-
<dict>
|
|
16
|
-
<key>hash2</key>
|
|
17
|
-
<data>
|
|
18
|
-
|
|
19
|
-
</data>
|
|
20
|
-
</dict>
|
|
21
|
-
<key>Headers/ThostFtdcUserApiDataType.h</key>
|
|
22
|
-
<dict>
|
|
23
|
-
<key>hash2</key>
|
|
24
|
-
<data>
|
|
25
|
-
|
|
26
|
-
</data>
|
|
27
|
-
</dict>
|
|
28
|
-
<key>Headers/ThostFtdcUserApiStruct.h</key>
|
|
29
|
-
<dict>
|
|
30
|
-
<key>hash2</key>
|
|
31
|
-
<data>
|
|
32
|
-
|
|
33
|
-
</data>
|
|
34
|
-
</dict>
|
|
35
|
-
<key>Resources/Info.plist</key>
|
|
36
|
-
<dict>
|
|
37
|
-
<key>hash2</key>
|
|
38
|
-
<data>
|
|
39
|
-
|
|
40
|
-
</data>
|
|
41
|
-
</dict>
|
|
42
|
-
</dict>
|
|
43
|
-
<key>rules</key>
|
|
44
|
-
<dict>
|
|
45
|
-
<key>^Resources/</key>
|
|
46
|
-
<true/>
|
|
47
|
-
<key>^Resources/.*\.lproj/</key>
|
|
48
|
-
<dict>
|
|
49
|
-
<key>optional</key>
|
|
50
|
-
<true/>
|
|
51
|
-
<key>weight</key>
|
|
52
|
-
<real>1000</real>
|
|
53
|
-
</dict>
|
|
54
|
-
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
55
|
-
<dict>
|
|
56
|
-
<key>omit</key>
|
|
57
|
-
<true/>
|
|
58
|
-
<key>weight</key>
|
|
59
|
-
<real>1100</real>
|
|
60
|
-
</dict>
|
|
61
|
-
<key>^Resources/Base\.lproj/</key>
|
|
62
|
-
<dict>
|
|
63
|
-
<key>weight</key>
|
|
64
|
-
<real>1010</real>
|
|
65
|
-
</dict>
|
|
66
|
-
<key>^version.plist$</key>
|
|
67
|
-
<true/>
|
|
68
|
-
</dict>
|
|
69
|
-
<key>rules2</key>
|
|
70
|
-
<dict>
|
|
71
|
-
<key>.*\.dSYM($|/)</key>
|
|
72
|
-
<dict>
|
|
73
|
-
<key>weight</key>
|
|
74
|
-
<real>11</real>
|
|
75
|
-
</dict>
|
|
76
|
-
<key>^(.*/)?\.DS_Store$</key>
|
|
77
|
-
<dict>
|
|
78
|
-
<key>omit</key>
|
|
79
|
-
<true/>
|
|
80
|
-
<key>weight</key>
|
|
81
|
-
<real>2000</real>
|
|
82
|
-
</dict>
|
|
83
|
-
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
84
|
-
<dict>
|
|
85
|
-
<key>nested</key>
|
|
86
|
-
<true/>
|
|
87
|
-
<key>weight</key>
|
|
88
|
-
<real>10</real>
|
|
89
|
-
</dict>
|
|
90
|
-
<key>^.*</key>
|
|
91
|
-
<true/>
|
|
92
|
-
<key>^Info\.plist$</key>
|
|
93
|
-
<dict>
|
|
94
|
-
<key>omit</key>
|
|
95
|
-
<true/>
|
|
96
|
-
<key>weight</key>
|
|
97
|
-
<real>20</real>
|
|
98
|
-
</dict>
|
|
99
|
-
<key>^PkgInfo$</key>
|
|
100
|
-
<dict>
|
|
101
|
-
<key>omit</key>
|
|
102
|
-
<true/>
|
|
103
|
-
<key>weight</key>
|
|
104
|
-
<real>20</real>
|
|
105
|
-
</dict>
|
|
106
|
-
<key>^Resources/</key>
|
|
107
|
-
<dict>
|
|
108
|
-
<key>weight</key>
|
|
109
|
-
<real>20</real>
|
|
110
|
-
</dict>
|
|
111
|
-
<key>^Resources/.*\.lproj/</key>
|
|
112
|
-
<dict>
|
|
113
|
-
<key>optional</key>
|
|
114
|
-
<true/>
|
|
115
|
-
<key>weight</key>
|
|
116
|
-
<real>1000</real>
|
|
117
|
-
</dict>
|
|
118
|
-
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
119
|
-
<dict>
|
|
120
|
-
<key>omit</key>
|
|
121
|
-
<true/>
|
|
122
|
-
<key>weight</key>
|
|
123
|
-
<real>1100</real>
|
|
124
|
-
</dict>
|
|
125
|
-
<key>^Resources/Base\.lproj/</key>
|
|
126
|
-
<dict>
|
|
127
|
-
<key>weight</key>
|
|
128
|
-
<real>1010</real>
|
|
129
|
-
</dict>
|
|
130
|
-
<key>^[^/]+$</key>
|
|
131
|
-
<dict>
|
|
132
|
-
<key>nested</key>
|
|
133
|
-
<true/>
|
|
134
|
-
<key>weight</key>
|
|
135
|
-
<real>10</real>
|
|
136
|
-
</dict>
|
|
137
|
-
<key>^embedded\.provisionprofile$</key>
|
|
138
|
-
<dict>
|
|
139
|
-
<key>weight</key>
|
|
140
|
-
<real>20</real>
|
|
141
|
-
</dict>
|
|
142
|
-
<key>^version\.plist$</key>
|
|
143
|
-
<dict>
|
|
144
|
-
<key>weight</key>
|
|
145
|
-
<real>20</real>
|
|
146
|
-
</dict>
|
|
147
|
-
</dict>
|
|
148
|
-
</dict>
|
|
149
|
-
</plist>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Resources/Info.plist</key>
|
|
8
|
+
<data>
|
|
9
|
+
TOE+h5cJeWlDwmJo/Xo5uQQLWvU=
|
|
10
|
+
</data>
|
|
11
|
+
</dict>
|
|
12
|
+
<key>files2</key>
|
|
13
|
+
<dict>
|
|
14
|
+
<key>Headers/ThostFtdcMdApi.h</key>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>hash2</key>
|
|
17
|
+
<data>
|
|
18
|
+
dEtokAKLUmXyqR3WtDgh7HH7BRJ3Cm9ej7AQVvby1Og=
|
|
19
|
+
</data>
|
|
20
|
+
</dict>
|
|
21
|
+
<key>Headers/ThostFtdcUserApiDataType.h</key>
|
|
22
|
+
<dict>
|
|
23
|
+
<key>hash2</key>
|
|
24
|
+
<data>
|
|
25
|
+
jeG/TAar2HshrQ9+4jkob94MKMFWLoH4Xl/HcKjIgww=
|
|
26
|
+
</data>
|
|
27
|
+
</dict>
|
|
28
|
+
<key>Headers/ThostFtdcUserApiStruct.h</key>
|
|
29
|
+
<dict>
|
|
30
|
+
<key>hash2</key>
|
|
31
|
+
<data>
|
|
32
|
+
E0WAQNGnhA4Om36nesySUQiOWRpOfovob8bEQ0DXibU=
|
|
33
|
+
</data>
|
|
34
|
+
</dict>
|
|
35
|
+
<key>Resources/Info.plist</key>
|
|
36
|
+
<dict>
|
|
37
|
+
<key>hash2</key>
|
|
38
|
+
<data>
|
|
39
|
+
W+Y03he/s8YHwth//OW4ntlb03j3ayTRQRuR+s23cWk=
|
|
40
|
+
</data>
|
|
41
|
+
</dict>
|
|
42
|
+
</dict>
|
|
43
|
+
<key>rules</key>
|
|
44
|
+
<dict>
|
|
45
|
+
<key>^Resources/</key>
|
|
46
|
+
<true/>
|
|
47
|
+
<key>^Resources/.*\.lproj/</key>
|
|
48
|
+
<dict>
|
|
49
|
+
<key>optional</key>
|
|
50
|
+
<true/>
|
|
51
|
+
<key>weight</key>
|
|
52
|
+
<real>1000</real>
|
|
53
|
+
</dict>
|
|
54
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
55
|
+
<dict>
|
|
56
|
+
<key>omit</key>
|
|
57
|
+
<true/>
|
|
58
|
+
<key>weight</key>
|
|
59
|
+
<real>1100</real>
|
|
60
|
+
</dict>
|
|
61
|
+
<key>^Resources/Base\.lproj/</key>
|
|
62
|
+
<dict>
|
|
63
|
+
<key>weight</key>
|
|
64
|
+
<real>1010</real>
|
|
65
|
+
</dict>
|
|
66
|
+
<key>^version.plist$</key>
|
|
67
|
+
<true/>
|
|
68
|
+
</dict>
|
|
69
|
+
<key>rules2</key>
|
|
70
|
+
<dict>
|
|
71
|
+
<key>.*\.dSYM($|/)</key>
|
|
72
|
+
<dict>
|
|
73
|
+
<key>weight</key>
|
|
74
|
+
<real>11</real>
|
|
75
|
+
</dict>
|
|
76
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
77
|
+
<dict>
|
|
78
|
+
<key>omit</key>
|
|
79
|
+
<true/>
|
|
80
|
+
<key>weight</key>
|
|
81
|
+
<real>2000</real>
|
|
82
|
+
</dict>
|
|
83
|
+
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
84
|
+
<dict>
|
|
85
|
+
<key>nested</key>
|
|
86
|
+
<true/>
|
|
87
|
+
<key>weight</key>
|
|
88
|
+
<real>10</real>
|
|
89
|
+
</dict>
|
|
90
|
+
<key>^.*</key>
|
|
91
|
+
<true/>
|
|
92
|
+
<key>^Info\.plist$</key>
|
|
93
|
+
<dict>
|
|
94
|
+
<key>omit</key>
|
|
95
|
+
<true/>
|
|
96
|
+
<key>weight</key>
|
|
97
|
+
<real>20</real>
|
|
98
|
+
</dict>
|
|
99
|
+
<key>^PkgInfo$</key>
|
|
100
|
+
<dict>
|
|
101
|
+
<key>omit</key>
|
|
102
|
+
<true/>
|
|
103
|
+
<key>weight</key>
|
|
104
|
+
<real>20</real>
|
|
105
|
+
</dict>
|
|
106
|
+
<key>^Resources/</key>
|
|
107
|
+
<dict>
|
|
108
|
+
<key>weight</key>
|
|
109
|
+
<real>20</real>
|
|
110
|
+
</dict>
|
|
111
|
+
<key>^Resources/.*\.lproj/</key>
|
|
112
|
+
<dict>
|
|
113
|
+
<key>optional</key>
|
|
114
|
+
<true/>
|
|
115
|
+
<key>weight</key>
|
|
116
|
+
<real>1000</real>
|
|
117
|
+
</dict>
|
|
118
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
119
|
+
<dict>
|
|
120
|
+
<key>omit</key>
|
|
121
|
+
<true/>
|
|
122
|
+
<key>weight</key>
|
|
123
|
+
<real>1100</real>
|
|
124
|
+
</dict>
|
|
125
|
+
<key>^Resources/Base\.lproj/</key>
|
|
126
|
+
<dict>
|
|
127
|
+
<key>weight</key>
|
|
128
|
+
<real>1010</real>
|
|
129
|
+
</dict>
|
|
130
|
+
<key>^[^/]+$</key>
|
|
131
|
+
<dict>
|
|
132
|
+
<key>nested</key>
|
|
133
|
+
<true/>
|
|
134
|
+
<key>weight</key>
|
|
135
|
+
<real>10</real>
|
|
136
|
+
</dict>
|
|
137
|
+
<key>^embedded\.provisionprofile$</key>
|
|
138
|
+
<dict>
|
|
139
|
+
<key>weight</key>
|
|
140
|
+
<real>20</real>
|
|
141
|
+
</dict>
|
|
142
|
+
<key>^version\.plist$</key>
|
|
143
|
+
<dict>
|
|
144
|
+
<key>weight</key>
|
|
145
|
+
<real>20</real>
|
|
146
|
+
</dict>
|
|
147
|
+
</dict>
|
|
148
|
+
</dict>
|
|
149
|
+
</plist>
|
|
Binary file
|