Qubx 0.6.52__cp312-cp312-manylinux_2_39_x86_64.whl → 0.6.53__cp312-cp312-manylinux_2_39_x86_64.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.
Potentially problematic release.
This version of Qubx might be problematic. Click here for more details.
- qubx/core/series.cpython-312-x86_64-linux-gnu.so +0 -0
- qubx/core/utils.cpython-312-x86_64-linux-gnu.so +0 -0
- qubx/data/composite.py +9 -0
- qubx/ta/indicators.cpython-312-x86_64-linux-gnu.so +0 -0
- qubx/utils/runner/runner.py +1 -1
- {qubx-0.6.52.dist-info → qubx-0.6.53.dist-info}/METADATA +1 -1
- {qubx-0.6.52.dist-info → qubx-0.6.53.dist-info}/RECORD +10 -10
- {qubx-0.6.52.dist-info → qubx-0.6.53.dist-info}/LICENSE +0 -0
- {qubx-0.6.52.dist-info → qubx-0.6.53.dist-info}/WHEEL +0 -0
- {qubx-0.6.52.dist-info → qubx-0.6.53.dist-info}/entry_points.txt +0 -0
|
Binary file
|
|
Binary file
|
qubx/data/composite.py
CHANGED
|
@@ -128,6 +128,12 @@ class IteratedDataStreamsSlicer(Iterator[SlicerOutData]):
|
|
|
128
128
|
data.extend(self._load_next_chunk_to_buffer(key)) # - get next chunk of data
|
|
129
129
|
except StopIteration:
|
|
130
130
|
self._remove_iterator(key)
|
|
131
|
+
# Return empty list if no data is available
|
|
132
|
+
return values
|
|
133
|
+
|
|
134
|
+
# Check if data is still empty after attempting to load
|
|
135
|
+
if not data:
|
|
136
|
+
return values
|
|
131
137
|
|
|
132
138
|
# pull most past elements
|
|
133
139
|
v = data[-1]
|
|
@@ -139,6 +145,9 @@ class IteratedDataStreamsSlicer(Iterator[SlicerOutData]):
|
|
|
139
145
|
except StopIteration:
|
|
140
146
|
self._remove_iterator(key)
|
|
141
147
|
break
|
|
148
|
+
# Check if data is still empty after loading attempt
|
|
149
|
+
if not data:
|
|
150
|
+
break
|
|
142
151
|
v = data[-1]
|
|
143
152
|
|
|
144
153
|
return values
|
|
Binary file
|
qubx/utils/runner/runner.py
CHANGED
|
@@ -689,7 +689,7 @@ def _run_warmup(
|
|
|
689
689
|
# - get the instruments from the warmup runner context
|
|
690
690
|
_instruments = warmup_runner.ctx.instruments
|
|
691
691
|
_positions = warmup_account.get_positions()
|
|
692
|
-
_positions = {k: v for k, v in _positions.items() if k in _instruments}
|
|
692
|
+
_positions = {k: v for k, v in _positions.items() if k in _instruments and v is not None and v.quantity is not None}
|
|
693
693
|
_orders = warmup_account.get_orders()
|
|
694
694
|
instrument_to_orders = defaultdict(list)
|
|
695
695
|
for o in _orders.values():
|
|
@@ -53,15 +53,15 @@ qubx/core/mixins/processing.py,sha256=VEaK6ZjXTa8jvavj_VpCYfGvLFTHpNoL1AKdRAeear
|
|
|
53
53
|
qubx/core/mixins/subscription.py,sha256=V_g9wCPQ8S5SHkU-qOZ84cV5nReAUrV7DoSNAGG0LPY,10372
|
|
54
54
|
qubx/core/mixins/trading.py,sha256=idfRPaqrvkfMxzu9mXr9i_xfqLee-ZAOrERxkxv6Ruo,7256
|
|
55
55
|
qubx/core/mixins/universe.py,sha256=tsMpBriLHwK9lAVYvIrO94EIx8_ETSXUlzxN_sDOsL8,9838
|
|
56
|
-
qubx/core/series.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
56
|
+
qubx/core/series.cpython-312-x86_64-linux-gnu.so,sha256=QesvTpTIRHYvNLxEFfXmSatYviRUvs6rgMTyBRYRZLE,978280
|
|
57
57
|
qubx/core/series.pxd,sha256=jBdMwgO8J4Zrue0e_xQ5RlqTXqihpzQNu6V3ckZvvpY,3978
|
|
58
58
|
qubx/core/series.pyi,sha256=RaHm_oHHiWiNUMJqVfx5FXAXniGLsHxUFOUpacn7GC0,4604
|
|
59
59
|
qubx/core/series.pyx,sha256=7cM3zZThW59waHiYcZmMxvYj-HYD7Ej_l7nKA4emPjE,46477
|
|
60
|
-
qubx/core/utils.cpython-312-x86_64-linux-gnu.so,sha256
|
|
60
|
+
qubx/core/utils.cpython-312-x86_64-linux-gnu.so,sha256=-l0P2uf8Jv2W-kiPdDJBD6tn452rkk35d4cMAtEbQ4I,86568
|
|
61
61
|
qubx/core/utils.pyi,sha256=a-wS13V2p_dM1CnGq40JVulmiAhixTwVwt0ah5By0Hc,348
|
|
62
62
|
qubx/core/utils.pyx,sha256=k5QHfEFvqhqWfCob89ANiJDKNG8gGbOh-O4CVoneZ8M,1696
|
|
63
63
|
qubx/data/__init__.py,sha256=ELZykvpPGWc5rX7QoNyNQwMLgdKMG8MACOByA4pM5hA,549
|
|
64
|
-
qubx/data/composite.py,sha256=
|
|
64
|
+
qubx/data/composite.py,sha256=KGwjhZV-EjGKBAjip-Hrc9VuUwUvGCfLLsvZoVilMEg,18559
|
|
65
65
|
qubx/data/helpers.py,sha256=VcXBl1kfWzAOqrjadKrP9WemGjJIB0q3xascbesErh4,16268
|
|
66
66
|
qubx/data/hft.py,sha256=be7AwzTOjqqCENn0ClrZoHDyKv3SFG66IyTp8QadHlM,33687
|
|
67
67
|
qubx/data/readers.py,sha256=g3hSkyKdMAVziMCgcaZadsukidECaLwHyIEtArSVDSc,66203
|
|
@@ -124,7 +124,7 @@ qubx/restorers/signal.py,sha256=0QFoy7OzDkK6AAmJEbbmSsHwmAhjMJYYggVFuLraKjk,1089
|
|
|
124
124
|
qubx/restorers/state.py,sha256=dLaVnUwRCNRkUqbYyi0RfZs3Q3AdglkI_qTtQ8GDD5Y,7289
|
|
125
125
|
qubx/restorers/utils.py,sha256=We2gfqwQKWziUYhuUnjb-xo-5tSlbuHWpPQn0CEMTn0,1155
|
|
126
126
|
qubx/ta/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
|
-
qubx/ta/indicators.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
127
|
+
qubx/ta/indicators.cpython-312-x86_64-linux-gnu.so,sha256=AxK9diXnLxvqsjzDqFPECGOSWnHSWXQ_2Y9pD2Al2gg,654440
|
|
128
128
|
qubx/ta/indicators.pxd,sha256=Goo0_N0Xnju8XGo3Xs-3pyg2qr_0Nh5C-_26DK8U_IE,4224
|
|
129
129
|
qubx/ta/indicators.pyi,sha256=19W0uERft49In5bf9jkJHkzJYEyE9gzudN7_DJ5Vdv8,1963
|
|
130
130
|
qubx/ta/indicators.pyx,sha256=Xgpew46ZxSXsdfSEWYn3A0Q35MLsopB9n7iyCsXTufs,25969
|
|
@@ -158,11 +158,11 @@ qubx/utils/runner/_jupyter_runner.pyt,sha256=fDj4AUs25jsdGmY9DDeSFufH1JkVhLFwy0B
|
|
|
158
158
|
qubx/utils/runner/accounts.py,sha256=mpiv6oxr5z97zWt7STYyARMhWQIpc_XFKungb_pX38U,3270
|
|
159
159
|
qubx/utils/runner/configs.py,sha256=snVZJun6rBC09QZVaUd7BhqNlDZqmDMG7R8gHJeuSkU,3713
|
|
160
160
|
qubx/utils/runner/factory.py,sha256=eM4-Etcq-FewD2AjH_srFGzP413pm8er95KIZixXRpM,15152
|
|
161
|
-
qubx/utils/runner/runner.py,sha256=
|
|
161
|
+
qubx/utils/runner/runner.py,sha256=O1hC8zyvj1OInMM9eZeAbUI9sdJbJU3INSnsOagvdAE,31444
|
|
162
162
|
qubx/utils/time.py,sha256=J0ZFGjzFL5T6GA8RPAel8hKG0sg2LZXeQ5YfDCfcMHA,10055
|
|
163
163
|
qubx/utils/version.py,sha256=e52fIHyxzCiIuH7svCF6pkHuDlqL64rklqz-2XjWons,5309
|
|
164
|
-
qubx-0.6.
|
|
165
|
-
qubx-0.6.
|
|
166
|
-
qubx-0.6.
|
|
167
|
-
qubx-0.6.
|
|
168
|
-
qubx-0.6.
|
|
164
|
+
qubx-0.6.53.dist-info/LICENSE,sha256=qwMHOSJ2TD0nx6VUJvFhu1ynJdBfNozRMt6tnSul-Ts,35140
|
|
165
|
+
qubx-0.6.53.dist-info/METADATA,sha256=fsrCh6gjzv1zRlRyUEHjNZ7VDI6P7wT4ZqAcrvUIDJM,4612
|
|
166
|
+
qubx-0.6.53.dist-info/WHEEL,sha256=UckHTmFUCaLKpi4yFY8Dewu0c6XkY-KvEAGzGOnaWo8,110
|
|
167
|
+
qubx-0.6.53.dist-info/entry_points.txt,sha256=VqilDTe8mVuV9SbR-yVlZJBTjbkHIL2JBgXfQw076HY,47
|
|
168
|
+
qubx-0.6.53.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|