siglab-py 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.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 siglab-py might be problematic. Click here for more details.
- siglab_py/ordergateway/client.py +2 -3
- {siglab_py-0.1.0.dist-info → siglab_py-0.1.1.dist-info}/METADATA +1 -1
- {siglab_py-0.1.0.dist-info → siglab_py-0.1.1.dist-info}/RECORD +5 -5
- {siglab_py-0.1.0.dist-info → siglab_py-0.1.1.dist-info}/WHEEL +0 -0
- {siglab_py-0.1.0.dist-info → siglab_py-0.1.1.dist-info}/top_level.txt +0 -0
siglab_py/ordergateway/client.py
CHANGED
|
@@ -3,7 +3,6 @@ from typing import List, Dict, Any
|
|
|
3
3
|
|
|
4
4
|
from ccxt.base.types import Position
|
|
5
5
|
|
|
6
|
-
from constants import JSON_SERIALIZABLE_TYPES
|
|
7
6
|
from exchanges.any_exchange import AnyExchange
|
|
8
7
|
|
|
9
8
|
'''
|
|
@@ -38,7 +37,7 @@ class Order:
|
|
|
38
37
|
self.order_type = order_type.strip().lower()
|
|
39
38
|
self.leg_room_bps = leg_room_bps
|
|
40
39
|
|
|
41
|
-
def to_dict(self) -> Dict[
|
|
40
|
+
def to_dict(self) -> Dict[Any, Any]:
|
|
42
41
|
return {
|
|
43
42
|
"ticker" : self.ticker,
|
|
44
43
|
"side" : self.side,
|
|
@@ -127,7 +126,7 @@ class DivisiblePosition(Order):
|
|
|
127
126
|
self.average_cost = average_cost
|
|
128
127
|
return average_cost
|
|
129
128
|
|
|
130
|
-
def to_dict(self) -> Dict[
|
|
129
|
+
def to_dict(self) -> Dict[Any, Any]:
|
|
131
130
|
rv = super().to_dict()
|
|
132
131
|
rv['slices'] = self.slices
|
|
133
132
|
rv['wait_fill_threshold_ms'] = self.wait_fill_threshold_ms
|
|
@@ -10,7 +10,7 @@ siglab_py/market_data_providers/deribit_options_expiry_provider.py,sha256=mP-508
|
|
|
10
10
|
siglab_py/market_data_providers/orderbooks_provider.py,sha256=cBp-HYCups2Uiwzw0SaUwxrg4unJvnm2TDqIK8f4hUg,15674
|
|
11
11
|
siglab_py/market_data_providers/test_provider.py,sha256=wBLCgcWjs7FGZJXWsNyn30lkOLa_cgpuvqRakMC0wbA,2221
|
|
12
12
|
siglab_py/ordergateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
siglab_py/ordergateway/client.py,sha256=
|
|
13
|
+
siglab_py/ordergateway/client.py,sha256=AYStDAP3XVTEigcdJDbsGhPjVLTyDjlfDsDp68KYm6Q,4868
|
|
14
14
|
siglab_py/ordergateway/encrypt_keys_util.py,sha256=-qi87db8To8Yf1WS1Q_Cp2Ya7ZqgWlRqSHfNXCM7wE4,1339
|
|
15
15
|
siglab_py/ordergateway/gateway.py,sha256=xlTThsNRRHYWilpc3zpAcYC2nxG4crfpDY8Refbnl64,30038
|
|
16
16
|
siglab_py/ordergateway/test_ordergateway.py,sha256=-uK3t82CPSAsO9Bt-GbN3PsbzKcr7lfkdusV3XrqV68,4708
|
|
@@ -23,7 +23,7 @@ siglab_py/util/analytic_util.py,sha256=QLabbEMqM4rKKH2PE_LqxIyo-BUdCRhkLybLATBIm
|
|
|
23
23
|
siglab_py/util/aws_util.py,sha256=x_duGDXJ6sO0wVpoRVDTMxECag7feA7zOwZweVLGl_w,2251
|
|
24
24
|
siglab_py/util/market_data_util.py,sha256=3qTq71xGvQXj0ORKJV50IN5FP_mCBF_gvdmlPyhdyco,16439
|
|
25
25
|
siglab_py/util/retry_util.py,sha256=mxYuRFZRZoaQQjENcwPmxhxixtd1TFvbxIdPx4RwfRc,743
|
|
26
|
-
siglab_py-0.1.
|
|
27
|
-
siglab_py-0.1.
|
|
28
|
-
siglab_py-0.1.
|
|
29
|
-
siglab_py-0.1.
|
|
26
|
+
siglab_py-0.1.1.dist-info/METADATA,sha256=nwE8Q5DWP1Jc86qoCvg_hUOGm3GD6kRFzgknD-uOeW8,1096
|
|
27
|
+
siglab_py-0.1.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
28
|
+
siglab_py-0.1.1.dist-info/top_level.txt,sha256=AbD4VR9OqmMOGlMJLkAVPGQMtUPIQv0t1BF5xmcLJSk,10
|
|
29
|
+
siglab_py-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|