hikyuu 2.6.3__py3-none-win_amd64.whl → 2.6.6__py3-none-win_amd64.whl
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.
- hikyuu/__init__.py +6 -0
- hikyuu/__init__.pyi +548 -546
- hikyuu/analysis/__init__.pyi +519 -514
- hikyuu/analysis/analysis.pyi +520 -515
- hikyuu/core.pyi +521 -516
- hikyuu/cpp/__init__.pyi +2 -2
- hikyuu/cpp/boost_date_time-mt.dll +0 -0
- hikyuu/cpp/boost_serialization-mt.dll +0 -0
- hikyuu/cpp/boost_wserialization-mt.dll +0 -0
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +167 -36
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +167 -36
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +167 -36
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +167 -36
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +167 -36
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/cpp/i18n/__init__.py +0 -0
- hikyuu/cpp/i18n/zh_CN.mo +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/data/clickhouse_upgrade/__init__.py +1 -0
- hikyuu/data/clickhouse_upgrade/createdb.sql +1085 -0
- hikyuu/data/common.py +1 -1
- hikyuu/data/common_clickhouse.py +512 -0
- hikyuu/data/common_mysql.py +19 -0
- hikyuu/data/common_pytdx.py +2 -0
- hikyuu/data/common_sqlite3.py +1 -0
- hikyuu/data/em_block_to_clickhouse.py +120 -0
- hikyuu/data/hku_config_template.py +70 -1
- hikyuu/data/mysql_upgrade/0028.sql +95 -0
- hikyuu/data/pytdx_finance_to_clickhouse.py +107 -0
- hikyuu/data/pytdx_to_clickhouse.py +841 -0
- hikyuu/data/pytdx_to_h5.py +53 -13
- hikyuu/data/pytdx_to_mysql.py +42 -9
- hikyuu/data/pytdx_to_taos.py +736 -0
- hikyuu/data/pytdx_weight_to_clickhouse.py +191 -0
- hikyuu/data/sqlite_upgrade/0028.sql +97 -0
- hikyuu/data/tdx_to_clickhouse.py +448 -0
- hikyuu/data/zh_bond10_to_clickhouse.py +49 -0
- hikyuu/draw/__init__.pyi +1 -1
- hikyuu/draw/drawplot/__init__.pyi +8 -8
- hikyuu/draw/drawplot/bokeh_draw.pyi +538 -536
- hikyuu/draw/drawplot/common.pyi +1 -1
- hikyuu/draw/drawplot/echarts_draw.pyi +540 -538
- hikyuu/draw/drawplot/matplotlib_draw.py +7 -7
- hikyuu/draw/drawplot/matplotlib_draw.pyi +550 -548
- hikyuu/draw/elder.pyi +11 -11
- hikyuu/draw/kaufman.pyi +18 -18
- hikyuu/draw/volume.pyi +10 -10
- hikyuu/examples/notebook/001-overview.ipynb +65 -100
- hikyuu/examples/notebook/004-IndicatorOverview.ipynb +34 -32
- hikyuu/examples/notebook/007-SystemDetails.ipynb +64 -50
- hikyuu/examples/notebook/010-Portfolio.ipynb +120 -124
- hikyuu/extend.py +1 -1
- hikyuu/extend.pyi +527 -527
- hikyuu/fetcher/stock/zh_block_em.py +349 -5
- hikyuu/fetcher/stock/zh_stock_a_pytdx.py +11 -21
- hikyuu/fetcher/stock/zh_stock_a_qmt.py +4 -5
- hikyuu/fetcher/stock/zh_stock_a_sina_qq.py +16 -60
- hikyuu/flat/Spot.py +96 -200
- hikyuu/gui/HikyuuTDX.py +175 -23
- hikyuu/gui/data/ImportBlockInfoTask.py +12 -1
- hikyuu/gui/data/ImportHistoryFinanceTask.py +62 -44
- hikyuu/gui/data/ImportPytdxTimeToH5Task.py +14 -2
- hikyuu/gui/data/ImportPytdxToH5Task.py +17 -3
- hikyuu/gui/data/ImportPytdxTransToH5Task.py +14 -2
- hikyuu/gui/data/ImportTdxToH5Task.py +13 -1
- hikyuu/gui/data/ImportWeightToSqliteTask.py +16 -2
- hikyuu/gui/data/ImportZhBond10Task.py +12 -1
- hikyuu/gui/data/MainWindow.py +191 -110
- hikyuu/gui/data/UsePytdxImportToH5Thread.py +52 -29
- hikyuu/gui/data/UseQmtImportToH5Thread.py +1 -0
- hikyuu/gui/data/UseTdxImportToH5Thread.py +21 -2
- hikyuu/gui/dataserver.py +12 -4
- hikyuu/gui/spot_server.py +30 -40
- hikyuu/gui/start_qmt.py +20 -3
- hikyuu/hub.pyi +6 -6
- hikyuu/include/hikyuu/DataType.h +11 -0
- hikyuu/include/hikyuu/MarketInfo.h +6 -0
- hikyuu/include/hikyuu/StockManager.h +8 -0
- hikyuu/include/hikyuu/data_driver/BaseInfoDriver.h +35 -0
- hikyuu/include/hikyuu/data_driver/kdata/mysql/KRecordTable.h +1 -0
- hikyuu/include/hikyuu/global/GlobalSpotAgent.h +1 -1
- hikyuu/include/hikyuu/global/SpotRecord.h +15 -31
- hikyuu/include/hikyuu/global/agent/spot_generated.h +48 -232
- hikyuu/include/hikyuu/global/schedule/scheduler.h +1 -1
- hikyuu/include/hikyuu/indicator/build_in.h +1 -0
- hikyuu/include/hikyuu/indicator/crt/BARSLASTCOUNT.h +33 -0
- hikyuu/include/hikyuu/indicator/imp/IBarsLastCount.h +27 -0
- hikyuu/include/hikyuu/plugin/KDataToHdf5Importer.h +3 -0
- hikyuu/include/hikyuu/plugin/backtest.h +2 -2
- hikyuu/include/hikyuu/plugin/dataserver.h +26 -1
- hikyuu/include/hikyuu/plugin/device.h +8 -4
- hikyuu/include/hikyuu/plugin/interface/BackTestPluginInterface.h +1 -1
- hikyuu/include/hikyuu/plugin/interface/DataDriverPluginInterface.h +27 -0
- hikyuu/include/hikyuu/plugin/interface/DataServerPluginInterface.h +2 -1
- hikyuu/include/hikyuu/plugin/interface/DevicePluginInterface.h +2 -1
- hikyuu/include/hikyuu/plugin/interface/ImportKDataToHdf5PluginInterface.h +3 -0
- hikyuu/include/hikyuu/plugin/interface/TMReportPluginInterface.h +80 -0
- hikyuu/include/hikyuu/plugin/interface/plugins.h +4 -0
- hikyuu/include/hikyuu/strategy/Strategy.h +0 -9
- hikyuu/include/hikyuu/trade_manage/Performance.h +17 -9
- hikyuu/include/hikyuu/trade_manage/PositionExtInfo.h +92 -0
- hikyuu/include/hikyuu/trade_manage/PositionRecord.h +7 -1
- hikyuu/include/hikyuu/trade_manage/TradeManagerBase.h +60 -1
- hikyuu/include/hikyuu/trade_sys/selector/crt/SE_Optimal.h +8 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/optimal/OptimalEvaluateSelector.h +28 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/optimal/OptimalSelectorBase.h +1 -0
- hikyuu/include/hikyuu/utilities/DllLoader.h +226 -0
- hikyuu/include/hikyuu/utilities/config.h +1 -1
- hikyuu/include/hikyuu/utilities/datetime/Datetime.h +20 -0
- hikyuu/include/hikyuu/utilities/datetime/TimeDelta.h +6 -0
- hikyuu/include/hikyuu/utilities/mo/mo.h +30 -14
- hikyuu/include/hikyuu/utilities/os.h +6 -0
- hikyuu/include/hikyuu/utilities/plugin/PluginLoader.h +10 -10
- hikyuu/include/hikyuu/utilities/thread/MQThreadPool.h +13 -7
- hikyuu/include/hikyuu/utilities/thread/ThreadPool.h +13 -6
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/plugin/backtest.dll +0 -0
- hikyuu/plugin/clickhousedriver.dll +0 -0
- hikyuu/plugin/dataserver.dll +0 -0
- hikyuu/plugin/device.dll +0 -0
- hikyuu/plugin/extind.dll +0 -0
- hikyuu/plugin/import2hdf5.dll +0 -0
- hikyuu/plugin/tmreport.dll +0 -0
- hikyuu/trade_manage/__init__.pyi +537 -535
- hikyuu/trade_manage/broker.pyi +3 -3
- hikyuu/trade_manage/broker_easytrader.pyi +1 -1
- hikyuu/trade_manage/trade.pyi +537 -535
- hikyuu/util/__init__.py +1 -0
- hikyuu/util/__init__.pyi +4 -3
- hikyuu/util/check.py +8 -0
- hikyuu/util/check.pyi +5 -1
- hikyuu/util/singleton.pyi +1 -1
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/METADATA +4 -3
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/RECORD +144 -123
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/top_level.txt +2 -2
- hikyuu/include/hikyuu/global/agent/hikyuu/__init__.py +0 -1
- hikyuu/include/hikyuu/global/agent/hikyuu/flat/__init__.py +0 -1
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/LICENSE +0 -0
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/WHEEL +0 -0
- {hikyuu-2.6.3.dist-info → hikyuu-2.6.6.dist-info}/entry_points.txt +0 -0
hikyuu/flat/Spot.py
CHANGED
|
@@ -102,147 +102,115 @@ class Spot(object):
|
|
|
102
102
|
return 0.0
|
|
103
103
|
|
|
104
104
|
# Spot
|
|
105
|
-
def
|
|
105
|
+
def Bid(self, j):
|
|
106
106
|
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
|
|
107
107
|
if o != 0:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
# Spot
|
|
112
|
-
def Bid1Amount(self):
|
|
113
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(28))
|
|
114
|
-
if o != 0:
|
|
115
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
116
|
-
return 0.0
|
|
117
|
-
|
|
118
|
-
# Spot
|
|
119
|
-
def Bid2(self):
|
|
120
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(30))
|
|
121
|
-
if o != 0:
|
|
122
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
123
|
-
return 0.0
|
|
124
|
-
|
|
125
|
-
# Spot
|
|
126
|
-
def Bid2Amount(self):
|
|
127
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(32))
|
|
128
|
-
if o != 0:
|
|
129
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
130
|
-
return 0.0
|
|
131
|
-
|
|
132
|
-
# Spot
|
|
133
|
-
def Bid3(self):
|
|
134
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(34))
|
|
135
|
-
if o != 0:
|
|
136
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
137
|
-
return 0.0
|
|
108
|
+
a = self._tab.Vector(o)
|
|
109
|
+
return self._tab.Get(flatbuffers.number_types.Float64Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 8))
|
|
110
|
+
return 0
|
|
138
111
|
|
|
139
112
|
# Spot
|
|
140
|
-
def
|
|
141
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
113
|
+
def BidAsNumpy(self):
|
|
114
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
|
|
142
115
|
if o != 0:
|
|
143
|
-
return self._tab.
|
|
144
|
-
return 0
|
|
116
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float64Flags, o)
|
|
117
|
+
return 0
|
|
145
118
|
|
|
146
119
|
# Spot
|
|
147
|
-
def
|
|
148
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
120
|
+
def BidLength(self):
|
|
121
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
|
|
149
122
|
if o != 0:
|
|
150
|
-
return self._tab.
|
|
151
|
-
return 0
|
|
123
|
+
return self._tab.VectorLen(o)
|
|
124
|
+
return 0
|
|
152
125
|
|
|
153
126
|
# Spot
|
|
154
|
-
def
|
|
155
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
156
|
-
|
|
157
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
158
|
-
return 0.0
|
|
127
|
+
def BidIsNone(self):
|
|
128
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
|
|
129
|
+
return o == 0
|
|
159
130
|
|
|
160
131
|
# Spot
|
|
161
|
-
def
|
|
162
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
132
|
+
def BidAmount(self, j):
|
|
133
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(28))
|
|
163
134
|
if o != 0:
|
|
164
|
-
|
|
165
|
-
|
|
135
|
+
a = self._tab.Vector(o)
|
|
136
|
+
return self._tab.Get(flatbuffers.number_types.Float64Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 8))
|
|
137
|
+
return 0
|
|
166
138
|
|
|
167
139
|
# Spot
|
|
168
|
-
def
|
|
169
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
140
|
+
def BidAmountAsNumpy(self):
|
|
141
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(28))
|
|
170
142
|
if o != 0:
|
|
171
|
-
return self._tab.
|
|
172
|
-
return 0
|
|
143
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float64Flags, o)
|
|
144
|
+
return 0
|
|
173
145
|
|
|
174
146
|
# Spot
|
|
175
|
-
def
|
|
176
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
147
|
+
def BidAmountLength(self):
|
|
148
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(28))
|
|
177
149
|
if o != 0:
|
|
178
|
-
return self._tab.
|
|
179
|
-
return 0
|
|
150
|
+
return self._tab.VectorLen(o)
|
|
151
|
+
return 0
|
|
180
152
|
|
|
181
153
|
# Spot
|
|
182
|
-
def
|
|
183
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
184
|
-
|
|
185
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
186
|
-
return 0.0
|
|
154
|
+
def BidAmountIsNone(self):
|
|
155
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(28))
|
|
156
|
+
return o == 0
|
|
187
157
|
|
|
188
158
|
# Spot
|
|
189
|
-
def
|
|
190
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
159
|
+
def Ask(self, j):
|
|
160
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(30))
|
|
191
161
|
if o != 0:
|
|
192
|
-
|
|
193
|
-
|
|
162
|
+
a = self._tab.Vector(o)
|
|
163
|
+
return self._tab.Get(flatbuffers.number_types.Float64Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 8))
|
|
164
|
+
return 0
|
|
194
165
|
|
|
195
166
|
# Spot
|
|
196
|
-
def
|
|
197
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
167
|
+
def AskAsNumpy(self):
|
|
168
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(30))
|
|
198
169
|
if o != 0:
|
|
199
|
-
return self._tab.
|
|
200
|
-
return 0
|
|
170
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float64Flags, o)
|
|
171
|
+
return 0
|
|
201
172
|
|
|
202
173
|
# Spot
|
|
203
|
-
def
|
|
204
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
174
|
+
def AskLength(self):
|
|
175
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(30))
|
|
205
176
|
if o != 0:
|
|
206
|
-
return self._tab.
|
|
207
|
-
return 0
|
|
177
|
+
return self._tab.VectorLen(o)
|
|
178
|
+
return 0
|
|
208
179
|
|
|
209
180
|
# Spot
|
|
210
|
-
def
|
|
211
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
212
|
-
|
|
213
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
214
|
-
return 0.0
|
|
181
|
+
def AskIsNone(self):
|
|
182
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(30))
|
|
183
|
+
return o == 0
|
|
215
184
|
|
|
216
185
|
# Spot
|
|
217
|
-
def
|
|
218
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
186
|
+
def AskAmount(self, j):
|
|
187
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(32))
|
|
219
188
|
if o != 0:
|
|
220
|
-
|
|
221
|
-
|
|
189
|
+
a = self._tab.Vector(o)
|
|
190
|
+
return self._tab.Get(flatbuffers.number_types.Float64Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 8))
|
|
191
|
+
return 0
|
|
222
192
|
|
|
223
193
|
# Spot
|
|
224
|
-
def
|
|
225
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
194
|
+
def AskAmountAsNumpy(self):
|
|
195
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(32))
|
|
226
196
|
if o != 0:
|
|
227
|
-
return self._tab.
|
|
228
|
-
return 0
|
|
197
|
+
return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float64Flags, o)
|
|
198
|
+
return 0
|
|
229
199
|
|
|
230
200
|
# Spot
|
|
231
|
-
def
|
|
232
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
201
|
+
def AskAmountLength(self):
|
|
202
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(32))
|
|
233
203
|
if o != 0:
|
|
234
|
-
return self._tab.
|
|
235
|
-
return 0
|
|
204
|
+
return self._tab.VectorLen(o)
|
|
205
|
+
return 0
|
|
236
206
|
|
|
237
207
|
# Spot
|
|
238
|
-
def
|
|
239
|
-
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(
|
|
240
|
-
|
|
241
|
-
return self._tab.Get(flatbuffers.number_types.Float64Flags, o + self._tab.Pos)
|
|
242
|
-
return 0.0
|
|
208
|
+
def AskAmountIsNone(self):
|
|
209
|
+
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(32))
|
|
210
|
+
return o == 0
|
|
243
211
|
|
|
244
212
|
def SpotStart(builder):
|
|
245
|
-
builder.StartObject(
|
|
213
|
+
builder.StartObject(15)
|
|
246
214
|
|
|
247
215
|
def Start(builder):
|
|
248
216
|
SpotStart(builder)
|
|
@@ -313,125 +281,53 @@ def SpotAddVolume(builder, volume):
|
|
|
313
281
|
def AddVolume(builder, volume):
|
|
314
282
|
SpotAddVolume(builder, volume)
|
|
315
283
|
|
|
316
|
-
def
|
|
317
|
-
builder.
|
|
318
|
-
|
|
319
|
-
def AddBid1(builder, bid1):
|
|
320
|
-
SpotAddBid1(builder, bid1)
|
|
321
|
-
|
|
322
|
-
def SpotAddBid1Amount(builder, bid1Amount):
|
|
323
|
-
builder.PrependFloat64Slot(12, bid1Amount, 0.0)
|
|
324
|
-
|
|
325
|
-
def AddBid1Amount(builder, bid1Amount):
|
|
326
|
-
SpotAddBid1Amount(builder, bid1Amount)
|
|
327
|
-
|
|
328
|
-
def SpotAddBid2(builder, bid2):
|
|
329
|
-
builder.PrependFloat64Slot(13, bid2, 0.0)
|
|
330
|
-
|
|
331
|
-
def AddBid2(builder, bid2):
|
|
332
|
-
SpotAddBid2(builder, bid2)
|
|
333
|
-
|
|
334
|
-
def SpotAddBid2Amount(builder, bid2Amount):
|
|
335
|
-
builder.PrependFloat64Slot(14, bid2Amount, 0.0)
|
|
336
|
-
|
|
337
|
-
def AddBid2Amount(builder, bid2Amount):
|
|
338
|
-
SpotAddBid2Amount(builder, bid2Amount)
|
|
339
|
-
|
|
340
|
-
def SpotAddBid3(builder, bid3):
|
|
341
|
-
builder.PrependFloat64Slot(15, bid3, 0.0)
|
|
342
|
-
|
|
343
|
-
def AddBid3(builder, bid3):
|
|
344
|
-
SpotAddBid3(builder, bid3)
|
|
345
|
-
|
|
346
|
-
def SpotAddBid3Amount(builder, bid3Amount):
|
|
347
|
-
builder.PrependFloat64Slot(16, bid3Amount, 0.0)
|
|
348
|
-
|
|
349
|
-
def AddBid3Amount(builder, bid3Amount):
|
|
350
|
-
SpotAddBid3Amount(builder, bid3Amount)
|
|
351
|
-
|
|
352
|
-
def SpotAddBid4(builder, bid4):
|
|
353
|
-
builder.PrependFloat64Slot(17, bid4, 0.0)
|
|
354
|
-
|
|
355
|
-
def AddBid4(builder, bid4):
|
|
356
|
-
SpotAddBid4(builder, bid4)
|
|
357
|
-
|
|
358
|
-
def SpotAddBid4Amount(builder, bid4Amount):
|
|
359
|
-
builder.PrependFloat64Slot(18, bid4Amount, 0.0)
|
|
360
|
-
|
|
361
|
-
def AddBid4Amount(builder, bid4Amount):
|
|
362
|
-
SpotAddBid4Amount(builder, bid4Amount)
|
|
363
|
-
|
|
364
|
-
def SpotAddBid5(builder, bid5):
|
|
365
|
-
builder.PrependFloat64Slot(19, bid5, 0.0)
|
|
366
|
-
|
|
367
|
-
def AddBid5(builder, bid5):
|
|
368
|
-
SpotAddBid5(builder, bid5)
|
|
369
|
-
|
|
370
|
-
def SpotAddBid5Amount(builder, bid5Amount):
|
|
371
|
-
builder.PrependFloat64Slot(20, bid5Amount, 0.0)
|
|
372
|
-
|
|
373
|
-
def AddBid5Amount(builder, bid5Amount):
|
|
374
|
-
SpotAddBid5Amount(builder, bid5Amount)
|
|
375
|
-
|
|
376
|
-
def SpotAddAsk1(builder, ask1):
|
|
377
|
-
builder.PrependFloat64Slot(21, ask1, 0.0)
|
|
378
|
-
|
|
379
|
-
def AddAsk1(builder, ask1):
|
|
380
|
-
SpotAddAsk1(builder, ask1)
|
|
381
|
-
|
|
382
|
-
def SpotAddAsk1Amount(builder, ask1Amount):
|
|
383
|
-
builder.PrependFloat64Slot(22, ask1Amount, 0.0)
|
|
384
|
-
|
|
385
|
-
def AddAsk1Amount(builder, ask1Amount):
|
|
386
|
-
SpotAddAsk1Amount(builder, ask1Amount)
|
|
387
|
-
|
|
388
|
-
def SpotAddAsk2(builder, ask2):
|
|
389
|
-
builder.PrependFloat64Slot(23, ask2, 0.0)
|
|
284
|
+
def SpotAddBid(builder, bid):
|
|
285
|
+
builder.PrependUOffsetTRelativeSlot(11, flatbuffers.number_types.UOffsetTFlags.py_type(bid), 0)
|
|
390
286
|
|
|
391
|
-
def
|
|
392
|
-
|
|
287
|
+
def AddBid(builder, bid):
|
|
288
|
+
SpotAddBid(builder, bid)
|
|
393
289
|
|
|
394
|
-
def
|
|
395
|
-
builder.
|
|
290
|
+
def SpotStartBidVector(builder, numElems):
|
|
291
|
+
return builder.StartVector(8, numElems, 8)
|
|
396
292
|
|
|
397
|
-
def
|
|
398
|
-
|
|
293
|
+
def StartBidVector(builder, numElems):
|
|
294
|
+
return SpotStartBidVector(builder, numElems)
|
|
399
295
|
|
|
400
|
-
def
|
|
401
|
-
builder.
|
|
296
|
+
def SpotAddBidAmount(builder, bidAmount):
|
|
297
|
+
builder.PrependUOffsetTRelativeSlot(12, flatbuffers.number_types.UOffsetTFlags.py_type(bidAmount), 0)
|
|
402
298
|
|
|
403
|
-
def
|
|
404
|
-
|
|
299
|
+
def AddBidAmount(builder, bidAmount):
|
|
300
|
+
SpotAddBidAmount(builder, bidAmount)
|
|
405
301
|
|
|
406
|
-
def
|
|
407
|
-
builder.
|
|
302
|
+
def SpotStartBidAmountVector(builder, numElems):
|
|
303
|
+
return builder.StartVector(8, numElems, 8)
|
|
408
304
|
|
|
409
|
-
def
|
|
410
|
-
|
|
305
|
+
def StartBidAmountVector(builder, numElems):
|
|
306
|
+
return SpotStartBidAmountVector(builder, numElems)
|
|
411
307
|
|
|
412
|
-
def
|
|
413
|
-
builder.
|
|
308
|
+
def SpotAddAsk(builder, ask):
|
|
309
|
+
builder.PrependUOffsetTRelativeSlot(13, flatbuffers.number_types.UOffsetTFlags.py_type(ask), 0)
|
|
414
310
|
|
|
415
|
-
def
|
|
416
|
-
|
|
311
|
+
def AddAsk(builder, ask):
|
|
312
|
+
SpotAddAsk(builder, ask)
|
|
417
313
|
|
|
418
|
-
def
|
|
419
|
-
builder.
|
|
314
|
+
def SpotStartAskVector(builder, numElems):
|
|
315
|
+
return builder.StartVector(8, numElems, 8)
|
|
420
316
|
|
|
421
|
-
def
|
|
422
|
-
|
|
317
|
+
def StartAskVector(builder, numElems):
|
|
318
|
+
return SpotStartAskVector(builder, numElems)
|
|
423
319
|
|
|
424
|
-
def
|
|
425
|
-
builder.
|
|
320
|
+
def SpotAddAskAmount(builder, askAmount):
|
|
321
|
+
builder.PrependUOffsetTRelativeSlot(14, flatbuffers.number_types.UOffsetTFlags.py_type(askAmount), 0)
|
|
426
322
|
|
|
427
|
-
def
|
|
428
|
-
|
|
323
|
+
def AddAskAmount(builder, askAmount):
|
|
324
|
+
SpotAddAskAmount(builder, askAmount)
|
|
429
325
|
|
|
430
|
-
def
|
|
431
|
-
builder.
|
|
326
|
+
def SpotStartAskAmountVector(builder, numElems):
|
|
327
|
+
return builder.StartVector(8, numElems, 8)
|
|
432
328
|
|
|
433
|
-
def
|
|
434
|
-
|
|
329
|
+
def StartAskAmountVector(builder, numElems):
|
|
330
|
+
return SpotStartAskAmountVector(builder, numElems)
|
|
435
331
|
|
|
436
332
|
def SpotEnd(builder):
|
|
437
333
|
return builder.EndObject()
|