pybinbot 0.4.0__py3-none-any.whl → 0.4.15__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.
pybinbot/shared/types.py CHANGED
@@ -1,11 +1,12 @@
1
1
  from typing import Annotated
2
-
3
2
  from pydantic import BeforeValidator
4
-
5
- from .maths import ensure_float
6
-
3
+ from pybinbot.shared.maths import ensure_float
4
+ from pybinbot.apis.kucoin.base import KucoinApi
5
+ from pybinbot.apis.binance.base import BinanceApi
7
6
 
8
7
  Amount = Annotated[
9
8
  float,
10
9
  BeforeValidator(ensure_float),
11
10
  ]
11
+
12
+ CombinedApis = BinanceApi | KucoinApi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pybinbot
3
- Version: 0.4.0
3
+ Version: 0.4.15
4
4
  Summary: Utility functions for the binbot project.
5
5
  Author-email: Carlos Wu <carkodw@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -0,0 +1,32 @@
1
+ pybinbot/__init__.py,sha256=QA2KpOr-xnYLBbz7iVNjndleTxrs_eyaY1EtLvhst-g,3843
2
+ pybinbot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ pybinbot/apis/binance/base.py,sha256=O9iuNuvjGHWLHupGQ2Z0jkQPWgl7buk8R2FJDPqFaOA,19783
4
+ pybinbot/apis/binance/exceptions.py,sha256=yRGwyh3Ub8OUFFkMtuDjQFw0LFj2rrpfqlqkOEbIv-w,360
5
+ pybinbot/apis/binbot/base.py,sha256=_24YLEhsAqE6iZWwJRJePAQVX9eMVbVg0KiTqXTzwlk,11439
6
+ pybinbot/apis/binbot/exceptions.py,sha256=QZLnEHFNXNlkCNXdNKIGX0uO_LjHfOagaT76vvQFCNk,1054
7
+ pybinbot/apis/kucoin/base.py,sha256=0HeM_5ZHn5EOKvqkmuVyBAfIZwL-y0RJ563_uIbF_4s,7962
8
+ pybinbot/apis/kucoin/exceptions.py,sha256=2BpIyDcp41h8FByLhtNojpl5cNe7RehT7CZ3aoFCqK4,265
9
+ pybinbot/apis/kucoin/market.py,sha256=HpK6AkW_A1bnx3MAResvqNkXzd5q8gFSLH62C_Zgiu0,3576
10
+ pybinbot/apis/kucoin/orders.py,sha256=zt8jZggwinWDcYAqb7Q0tUIc1xiFTAsjIRF2_BsbXf8,24714
11
+ pybinbot/apis/kucoin/rest.py,sha256=iIfMyjkeqhC7onpRapXCNaTA-xXjHOBfCHztZgOb1B8,1066
12
+ pybinbot/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ pybinbot/models/bot_base.py,sha256=uOVM4sdNTVV3hpUj9CLh-nZQ4bQmFrkFHdZcv-K9AeQ,3592
14
+ pybinbot/models/deal.py,sha256=9TBqt-WgaGJ7raZE2gHUimvZohiH831oRL-mH0dvGQ8,2443
15
+ pybinbot/models/order.py,sha256=1I9LJuEOysfMa9qJew2QIXhpwvl3xsfAP7DKbAH24sc,3492
16
+ pybinbot/models/routes.py,sha256=ZyRBrlabJYXOGW05-6sxpUKyTnF1AjYpc88KQtXeRFU,126
17
+ pybinbot/models/signals.py,sha256=Br0q32L9m13hVw8C8A1UtBG5vQQxdQzkVREIdDE_SaA,1256
18
+ pybinbot/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ pybinbot/shared/cache.py,sha256=iIl0IPqYVhKNbQLYuDigZYQzKfyQzPFZSWzD4oSWu_A,984
20
+ pybinbot/shared/enums.py,sha256=dO3KMvxcmzaEVfJqrMSi6vvJGdjc__GyCI7MbRAmRro,7303
21
+ pybinbot/shared/handlers.py,sha256=6BtNVSlU8WKuMN5O66oDAyS6d0M5oID7G_aCaDEsIkg,2961
22
+ pybinbot/shared/heikin_ashi.py,sha256=ypV31YXIv63G-02v7KyeBR2rwraMCoU2CYIolm5OC6w,7083
23
+ pybinbot/shared/indicators.py,sha256=_yGcxRsaPq8v-h_OXiLSg-ygvOEfse6uFSVi9ViIxBQ,8509
24
+ pybinbot/shared/logging_config.py,sha256=Bg38T5gL5H7BMxnOEEZNiBUQT2ccV96UZNxwJIyDc5s,1130
25
+ pybinbot/shared/maths.py,sha256=JjlrgV0INlJG4Zj28ahRkfzcI2Ec4noilrDwX2p82TM,3207
26
+ pybinbot/shared/timestamps.py,sha256=84N9t78Zs5CqKGPbIHlaJGyZzHcwrMwAw9r4hPTR0ro,2616
27
+ pybinbot/shared/types.py,sha256=e0R_6lHgsxURMaVzKSLDvLoSCRiw-2xiz4D7HR0nFbg,319
28
+ pybinbot-0.4.15.dist-info/licenses/LICENSE,sha256=ECEAqAQ81zTT8PeN7gYqbkZtewkyeleEqQ26MxuHQxs,938
29
+ pybinbot-0.4.15.dist-info/METADATA,sha256=pObAKtEaW_8iD6ejA601FkIeCPTC72ITqV5jRpNLoyU,2141
30
+ pybinbot-0.4.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ pybinbot-0.4.15.dist-info/top_level.txt,sha256=agwNV3TckcrWlAb8UpSJdWxfoMu2IvnOsmMd--F7Si8,9
32
+ pybinbot-0.4.15.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- pybinbot/__init__.py,sha256=4yW8FlBmbjfSiY6xcl_18_BRYppwMlDjB5s7zaxjogM,3791
2
- pybinbot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pybinbot/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- pybinbot/models/bot_base.py,sha256=uOVM4sdNTVV3hpUj9CLh-nZQ4bQmFrkFHdZcv-K9AeQ,3592
5
- pybinbot/models/deal.py,sha256=9TBqt-WgaGJ7raZE2gHUimvZohiH831oRL-mH0dvGQ8,2443
6
- pybinbot/models/order.py,sha256=1I9LJuEOysfMa9qJew2QIXhpwvl3xsfAP7DKbAH24sc,3492
7
- pybinbot/models/routes.py,sha256=ZyRBrlabJYXOGW05-6sxpUKyTnF1AjYpc88KQtXeRFU,126
8
- pybinbot/models/signals.py,sha256=Br0q32L9m13hVw8C8A1UtBG5vQQxdQzkVREIdDE_SaA,1256
9
- pybinbot/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- pybinbot/shared/cache.py,sha256=iIl0IPqYVhKNbQLYuDigZYQzKfyQzPFZSWzD4oSWu_A,984
11
- pybinbot/shared/enums.py,sha256=dO3KMvxcmzaEVfJqrMSi6vvJGdjc__GyCI7MbRAmRro,7303
12
- pybinbot/shared/handlers.py,sha256=6BtNVSlU8WKuMN5O66oDAyS6d0M5oID7G_aCaDEsIkg,2961
13
- pybinbot/shared/heikin_ashi.py,sha256=ypV31YXIv63G-02v7KyeBR2rwraMCoU2CYIolm5OC6w,7083
14
- pybinbot/shared/indicators.py,sha256=_yGcxRsaPq8v-h_OXiLSg-ygvOEfse6uFSVi9ViIxBQ,8509
15
- pybinbot/shared/logging_config.py,sha256=Bg38T5gL5H7BMxnOEEZNiBUQT2ccV96UZNxwJIyDc5s,1130
16
- pybinbot/shared/maths.py,sha256=JjlrgV0INlJG4Zj28ahRkfzcI2Ec4noilrDwX2p82TM,3207
17
- pybinbot/shared/timestamps.py,sha256=84N9t78Zs5CqKGPbIHlaJGyZzHcwrMwAw9r4hPTR0ro,2616
18
- pybinbot/shared/types.py,sha256=JNMZiO3UPMa4xuo9fUO4kZff-mTNT6CaI5uQ_8WtcY4,170
19
- pybinbot-0.4.0.dist-info/licenses/LICENSE,sha256=ECEAqAQ81zTT8PeN7gYqbkZtewkyeleEqQ26MxuHQxs,938
20
- pybinbot-0.4.0.dist-info/METADATA,sha256=ZE1wloj_6zQPJbNAdq3QJnjvphVlvDZy2GwVbiXx4XE,2140
21
- pybinbot-0.4.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- pybinbot-0.4.0.dist-info/top_level.txt,sha256=agwNV3TckcrWlAb8UpSJdWxfoMu2IvnOsmMd--F7Si8,9
23
- pybinbot-0.4.0.dist-info/RECORD,,