siglab-py 0.2.5__py3-none-any.whl → 0.2.6__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/gateway.py +4 -4
- siglab_py/util/slack_notification_util.py +3 -0
- {siglab_py-0.2.5.dist-info → siglab_py-0.2.6.dist-info}/METADATA +1 -1
- {siglab_py-0.2.5.dist-info → siglab_py-0.2.6.dist-info}/RECORD +6 -6
- {siglab_py-0.2.5.dist-info → siglab_py-0.2.6.dist-info}/WHEEL +0 -0
- {siglab_py-0.2.5.dist-info → siglab_py-0.2.6.dist-info}/top_level.txt +0 -0
|
@@ -321,9 +321,9 @@ def parse_args():
|
|
|
321
321
|
param['secret'] = args.secret
|
|
322
322
|
param['passphrase'] = args.passphrase
|
|
323
323
|
|
|
324
|
-
param['notification']['slack']['info'] = args.slack_info_url
|
|
325
|
-
param['notification']['slack']['critical'] = args.slack_critial_url
|
|
326
|
-
param['notification']['slack']['alert'] = args.slack_alert_url
|
|
324
|
+
param['notification']['slack']['info']['webhook_url'] = args.slack_info_url
|
|
325
|
+
param['notification']['slack']['critical']['webhook_url'] = args.slack_critial_url
|
|
326
|
+
param['notification']['slack']['alert']['webhook_url'] = args.slack_alert_url
|
|
327
327
|
param['notification']['footer'] = f"From gateway {param['gateway_id']}"
|
|
328
328
|
|
|
329
329
|
def init_redis_client() -> StrictRedis:
|
|
@@ -877,6 +877,6 @@ async def main():
|
|
|
877
877
|
log(f"{param['gateway_id']}: account balances {balances}")
|
|
878
878
|
notification_util.dispatch_notification(title=f"{param['gateway_id']} started", message=balances, footer=param['notification']['footer'], params=notification_params)
|
|
879
879
|
|
|
880
|
-
await work(param=param, exchange=exchange, redis_client=redis_client, notification_params=notification_params,
|
|
880
|
+
await work(param=param, exchange=exchange, redis_client=redis_client, notification_params=notification_params, log_level=LogLevel.INFO)
|
|
881
881
|
|
|
882
882
|
asyncio.run(main())
|
|
@@ -15,7 +15,7 @@ siglab_py/market_data_providers/test_provider.py,sha256=wBLCgcWjs7FGZJXWsNyn30lk
|
|
|
15
15
|
siglab_py/ordergateway/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
siglab_py/ordergateway/client.py,sha256=EwoVKxEcngIs8-b4MThPBdZfFIWJg1OFAKG9bwC5BYw,14826
|
|
17
17
|
siglab_py/ordergateway/encrypt_keys_util.py,sha256=-qi87db8To8Yf1WS1Q_Cp2Ya7ZqgWlRqSHfNXCM7wE4,1339
|
|
18
|
-
siglab_py/ordergateway/gateway.py,sha256=
|
|
18
|
+
siglab_py/ordergateway/gateway.py,sha256=s4PfsP9xBaWYA_rALdkscTGAAfRNaPxXYPwD5eYxf4M,41112
|
|
19
19
|
siglab_py/ordergateway/test_ordergateway.py,sha256=KajC0oidfDIgboRazkteAXzx47FffVRligThzKKqgRk,4035
|
|
20
20
|
siglab_py/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
siglab_py/tests/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -29,8 +29,8 @@ siglab_py/util/aws_util.py,sha256=KGmjHrr1rpnnxr33nXHNzTul4tvyyxl9p6gpwNv0Ygc,25
|
|
|
29
29
|
siglab_py/util/market_data_util.py,sha256=9Uze8DE5z90H4Qm15R55ZllAi5trUkwCAW-BWYbfaW8,19420
|
|
30
30
|
siglab_py/util/notification_util.py,sha256=6TPyStp-F6g_NTN-sVG18_o35agV6tjayNtJ0A4axyk,2311
|
|
31
31
|
siglab_py/util/retry_util.py,sha256=mxYuRFZRZoaQQjENcwPmxhxixtd1TFvbxIdPx4RwfRc,743
|
|
32
|
-
siglab_py/util/slack_notification_util.py,sha256=
|
|
33
|
-
siglab_py-0.2.
|
|
34
|
-
siglab_py-0.2.
|
|
35
|
-
siglab_py-0.2.
|
|
36
|
-
siglab_py-0.2.
|
|
32
|
+
siglab_py/util/slack_notification_util.py,sha256=b_onBrJE58-4cTBc--X9igYj8hvVOHqrAbSuTD9c2So,1969
|
|
33
|
+
siglab_py-0.2.6.dist-info/METADATA,sha256=QSG-6-58UHM2Dok2A5DMoDrvqIfzT7YBxREdEQQ0v1o,979
|
|
34
|
+
siglab_py-0.2.6.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
35
|
+
siglab_py-0.2.6.dist-info/top_level.txt,sha256=AbD4VR9OqmMOGlMJLkAVPGQMtUPIQv0t1BF5xmcLJSk,10
|
|
36
|
+
siglab_py-0.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|