pybinbot 1.3.2__tar.gz → 1.3.3__tar.gz

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.
Files changed (54) hide show
  1. {pybinbot-1.3.2/pybinbot.egg-info → pybinbot-1.3.3}/PKG-INFO +1 -1
  2. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/signals.py +2 -7
  3. {pybinbot-1.3.2 → pybinbot-1.3.3/pybinbot.egg-info}/PKG-INFO +1 -1
  4. {pybinbot-1.3.2 → pybinbot-1.3.3}/pyproject.toml +1 -1
  5. {pybinbot-1.3.2 → pybinbot-1.3.3}/LICENSE +0 -0
  6. {pybinbot-1.3.2 → pybinbot-1.3.3}/MANIFEST.in +0 -0
  7. {pybinbot-1.3.2 → pybinbot-1.3.3}/README.md +0 -0
  8. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/__init__.py +0 -0
  9. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/binance/base.py +0 -0
  10. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/binance/exceptions.py +0 -0
  11. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/binbot/base.py +0 -0
  12. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/binbot/exceptions.py +0 -0
  13. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/base.py +0 -0
  14. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/exceptions.py +0 -0
  15. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/futures.py +0 -0
  16. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/market.py +0 -0
  17. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/orders.py +0 -0
  18. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/apis/kucoin/rest.py +0 -0
  19. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/__init__.py +0 -0
  20. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/bot_base.py +0 -0
  21. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/deal.py +0 -0
  22. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/order.py +0 -0
  23. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/models/routes.py +0 -0
  24. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/py.typed +0 -0
  25. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/__init__.py +0 -0
  26. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/cache.py +0 -0
  27. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/candles.py +0 -0
  28. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/enums.py +0 -0
  29. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/handlers.py +0 -0
  30. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/heikin_ashi.py +0 -0
  31. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/indicators.py +0 -0
  32. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/logging_config.py +0 -0
  33. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/maths.py +0 -0
  34. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/timestamps.py +0 -0
  35. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/types.py +0 -0
  36. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/shared/utils.py +0 -0
  37. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/streaming/async_producer.py +0 -0
  38. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/streaming/binance/async_socket_client.py +0 -0
  39. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/streaming/binance/socket_client.py +0 -0
  40. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/streaming/binance/socket_manager.py +0 -0
  41. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot/streaming/kucoin/kucoin_async_client.py +0 -0
  42. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot.egg-info/SOURCES.txt +0 -0
  43. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot.egg-info/dependency_links.txt +0 -0
  44. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot.egg-info/requires.txt +0 -0
  45. {pybinbot-1.3.2 → pybinbot-1.3.3}/pybinbot.egg-info/top_level.txt +0 -0
  46. {pybinbot-1.3.2 → pybinbot-1.3.3}/setup.cfg +0 -0
  47. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_binbot_api.py +0 -0
  48. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_handlers.py +0 -0
  49. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_heikin_ashi.py +0 -0
  50. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_indicators.py +0 -0
  51. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_matching_engine.py +0 -0
  52. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_maths.py +0 -0
  53. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_timestamps.py +0 -0
  54. {pybinbot-1.3.2 → pybinbot-1.3.3}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pybinbot
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Utility functions for the binbot project.
5
5
  Author-email: Carlos Wu <carkodw@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -3,7 +3,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator
3
3
  from pybinbot.shared.enums import MarketType, Position
4
4
  from pandera.typing import Series
5
5
  from pandera.pandas import DataFrameModel
6
-
6
+ from pybinbot.models.bot_base import BotBase
7
7
 
8
8
  class HABollinguerSpread(BaseModel):
9
9
  """
@@ -27,14 +27,9 @@ class SignalsConsumer(BaseModel):
27
27
  score: float = Field(default=0, description="Score for ranking signals")
28
28
  spread: float = Field(default=0)
29
29
  current_price: float = Field(default=0)
30
- symbol: str
31
- algo: str = Field(description="Algorithm name generating the signal")
32
- bot_strategy: Position = Field(default=Position.long)
33
30
  bb_spreads: HABollinguerSpread | None = Field(default=None)
34
31
  autotrade: bool = Field(default=True, description="If it is in testing mode, False")
35
- market_type: MarketType = Field(
36
- default=MarketType.SPOT, description="spot or futures"
37
- )
32
+ bot_params: BotBase | None = Field(default=None, description="Parameters for bot creation")
38
33
 
39
34
  model_config = ConfigDict(
40
35
  extra="allow",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pybinbot
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: Utility functions for the binbot project.
5
5
  Author-email: Carlos Wu <carkodw@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -22,7 +22,7 @@ build-backend = "setuptools.build_meta"
22
22
 
23
23
  [project]
24
24
  name = "pybinbot"
25
- version = "1.3.2"
25
+ version = "1.3.3"
26
26
  description = "Utility functions for the binbot project."
27
27
  authors = [
28
28
  { name="Carlos Wu", email="carkodw@gmail.com" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes