pybinbot 1.13.8__tar.gz → 2.0.0__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 (78) hide show
  1. {pybinbot-1.13.8/pybinbot.egg-info → pybinbot-2.0.0}/PKG-INFO +12 -6
  2. {pybinbot-1.13.8 → pybinbot-2.0.0}/README.md +7 -1
  3. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/__init__.py +24 -0
  4. {pybinbot-1.13.8 → pybinbot-2.0.0/pybinbot.egg-info}/PKG-INFO +12 -6
  5. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot.egg-info/requires.txt +3 -3
  6. {pybinbot-1.13.8 → pybinbot-2.0.0}/pyproject.toml +5 -5
  7. {pybinbot-1.13.8 → pybinbot-2.0.0}/LICENSE +0 -0
  8. {pybinbot-1.13.8 → pybinbot-2.0.0}/MANIFEST.in +0 -0
  9. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/binance/base.py +0 -0
  10. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/binance/exceptions.py +0 -0
  11. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/binbot/base.py +0 -0
  12. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/binbot/exceptions.py +0 -0
  13. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/coingecko.py +0 -0
  14. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/base.py +0 -0
  15. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/exceptions.py +0 -0
  16. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/futures.py +0 -0
  17. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/market.py +0 -0
  18. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/orders.py +0 -0
  19. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/apis/kucoin/rest.py +0 -0
  20. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/__init__.py +0 -0
  21. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/autotrade_settings.py +0 -0
  22. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/bot.py +0 -0
  23. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/bot_base.py +0 -0
  24. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/deal.py +0 -0
  25. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/derivatives.py +0 -0
  26. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/grid_ladder.py +0 -0
  27. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/order.py +0 -0
  28. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/routes.py +0 -0
  29. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/signals.py +0 -0
  30. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/models/symbol.py +0 -0
  31. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/py.typed +0 -0
  32. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/__init__.py +0 -0
  33. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/beta.py +0 -0
  34. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/breadth.py +0 -0
  35. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/cache.py +0 -0
  36. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/candles.py +0 -0
  37. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/enums.py +0 -0
  38. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/handlers.py +0 -0
  39. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/heikin_ashi.py +0 -0
  40. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/indicators.py +0 -0
  41. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/logging_config.py +0 -0
  42. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/maths.py +0 -0
  43. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/price_crossings.py +0 -0
  44. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/telegram_delivery.py +0 -0
  45. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/timestamps.py +0 -0
  46. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/types.py +0 -0
  47. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/shared/utils.py +0 -0
  48. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/streaming/binance/async_socket_client.py +0 -0
  49. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/streaming/binance/socket_client.py +0 -0
  50. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/streaming/binance/socket_manager.py +0 -0
  51. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot/streaming/kucoin/kucoin_async_client.py +0 -0
  52. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot.egg-info/SOURCES.txt +0 -0
  53. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot.egg-info/dependency_links.txt +0 -0
  54. {pybinbot-1.13.8 → pybinbot-2.0.0}/pybinbot.egg-info/top_level.txt +0 -0
  55. {pybinbot-1.13.8 → pybinbot-2.0.0}/setup.cfg +0 -0
  56. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_beta.py +0 -0
  57. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_binbot_api.py +0 -0
  58. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_bot_futures_leverage.py +0 -0
  59. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_breadth.py +0 -0
  60. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_candles.py +0 -0
  61. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_coingecko.py +0 -0
  62. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_conditional_futures_orders.py +0 -0
  63. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_deal_model.py +0 -0
  64. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_derivatives_api.py +0 -0
  65. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_futures_place_order.py +0 -0
  66. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_grid_ladder.py +0 -0
  67. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_handlers.py +0 -0
  68. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_heikin_ashi.py +0 -0
  69. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_indicators.py +0 -0
  70. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_kucoin_api.py +0 -0
  71. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_logging_config.py +0 -0
  72. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_matching_engine.py +0 -0
  73. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_maths.py +0 -0
  74. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_price_crossings.py +0 -0
  75. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_symbol_model.py +0 -0
  76. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_telegram_delivery.py +0 -0
  77. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_timestamps.py +0 -0
  78. {pybinbot-1.13.8 → pybinbot-2.0.0}/tests/test_utils.py +0 -0
@@ -1,15 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pybinbot
3
- Version: 1.13.8
3
+ Version: 2.0.0
4
4
  Summary: Utility functions for the binbot project.
5
5
  Author-email: Carlos Wu <carkodw@gmail.com>
6
- Requires-Python: >=3.11
6
+ Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
9
  Requires-Dist: pydantic[email]>=2.0.0
10
- Requires-Dist: numpy==2.2.0
11
- Requires-Dist: pandas>=2.2.3
12
- Requires-Dist: pandas-stubs>=2.3.3.251219
10
+ Requires-Dist: numpy==2.5.4
11
+ Requires-Dist: pandas==3.1.1
12
+ Requires-Dist: pandas-stubs==3.1.0.261029
13
13
  Requires-Dist: requests>=2.32.5
14
14
  Requires-Dist: kucoin-universal-sdk>=1.3.0
15
15
  Requires-Dist: aiohttp<3.15,>=3.14.1
@@ -37,7 +37,13 @@ This module re-exports the internal ``shared`` and ``models`` packages and the m
37
37
 
38
38
  from pybinbot import round_numbers, ExchangeId
39
39
 
40
- The implementation deliberately avoids importing heavy third-party libraries at module import time.
40
+ Python 3.12 or newer is required. Pandas and NumPy versions are pinned in
41
+ pybinbot so applications using the same pybinbot release share the same numerical
42
+ dependencies. Consumers can import the modules or commonly used types and functions:
43
+
44
+ ```python
45
+ from pybinbot import DataFrame, Series, numpy as np, pandas as pd
46
+ ```
41
47
 
42
48
 
43
49
  ## Installation
@@ -8,7 +8,13 @@ This module re-exports the internal ``shared`` and ``models`` packages and the m
8
8
 
9
9
  from pybinbot import round_numbers, ExchangeId
10
10
 
11
- The implementation deliberately avoids importing heavy third-party libraries at module import time.
11
+ Python 3.12 or newer is required. Pandas and NumPy versions are pinned in
12
+ pybinbot so applications using the same pybinbot release share the same numerical
13
+ dependencies. Consumers can import the modules or commonly used types and functions:
14
+
15
+ ```python
16
+ from pybinbot import DataFrame, Series, numpy as np, pandas as pd
17
+ ```
12
18
 
13
19
 
14
20
  ## Installation
@@ -5,6 +5,18 @@ models, while still allowing access to the structured subpackages via
5
5
  ``pybinbot.shared`` and ``pybinbot.models``.
6
6
  """
7
7
 
8
+ import numpy as numpy
9
+ import pandas as pandas
10
+ from numpy import isnan as isnan, log as log, nan as nan
11
+ from pandas import (
12
+ DataFrame as DataFrame,
13
+ Series as Series,
14
+ concat as concat,
15
+ to_datetime as to_datetime,
16
+ to_numeric as to_numeric,
17
+ )
18
+ from pandas.api.types import is_numeric_dtype as is_numeric_dtype
19
+
8
20
  from pybinbot.shared.maths import (
9
21
  STOP_LIMIT_OFFSET_RATIO,
10
22
  ceil_price_to_tick,
@@ -173,6 +185,18 @@ from . import models, shared, apis
173
185
  configure_logging()
174
186
 
175
187
  __all__ = [
188
+ # Numerical dependencies shared by binbot and binquant.
189
+ "numpy",
190
+ "pandas",
191
+ "DataFrame",
192
+ "Series",
193
+ "concat",
194
+ "to_datetime",
195
+ "to_numeric",
196
+ "is_numeric_dtype",
197
+ "isnan",
198
+ "log",
199
+ "nan",
176
200
  "BinanceFundingRate",
177
201
  "BinanceFundingRatesResponse",
178
202
  "FundingRateHistoryPoint",
@@ -1,15 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pybinbot
3
- Version: 1.13.8
3
+ Version: 2.0.0
4
4
  Summary: Utility functions for the binbot project.
5
5
  Author-email: Carlos Wu <carkodw@gmail.com>
6
- Requires-Python: >=3.11
6
+ Requires-Python: >=3.12
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
9
  Requires-Dist: pydantic[email]>=2.0.0
10
- Requires-Dist: numpy==2.2.0
11
- Requires-Dist: pandas>=2.2.3
12
- Requires-Dist: pandas-stubs>=2.3.3.251219
10
+ Requires-Dist: numpy==2.5.4
11
+ Requires-Dist: pandas==3.1.1
12
+ Requires-Dist: pandas-stubs==3.1.0.261029
13
13
  Requires-Dist: requests>=2.32.5
14
14
  Requires-Dist: kucoin-universal-sdk>=1.3.0
15
15
  Requires-Dist: aiohttp<3.15,>=3.14.1
@@ -37,7 +37,13 @@ This module re-exports the internal ``shared`` and ``models`` packages and the m
37
37
 
38
38
  from pybinbot import round_numbers, ExchangeId
39
39
 
40
- The implementation deliberately avoids importing heavy third-party libraries at module import time.
40
+ Python 3.12 or newer is required. Pandas and NumPy versions are pinned in
41
+ pybinbot so applications using the same pybinbot release share the same numerical
42
+ dependencies. Consumers can import the modules or commonly used types and functions:
43
+
44
+ ```python
45
+ from pybinbot import DataFrame, Series, numpy as np, pandas as pd
46
+ ```
41
47
 
42
48
 
43
49
  ## Installation
@@ -1,7 +1,7 @@
1
1
  pydantic[email]>=2.0.0
2
- numpy==2.2.0
3
- pandas>=2.2.3
4
- pandas-stubs>=2.3.3.251219
2
+ numpy==2.5.4
3
+ pandas==3.1.1
4
+ pandas-stubs==3.1.0.261029
5
5
  requests>=2.32.5
6
6
  kucoin-universal-sdk>=1.3.0
7
7
  aiohttp<3.15,>=3.14.1
@@ -22,18 +22,18 @@ build-backend = "setuptools.build_meta"
22
22
 
23
23
  [project]
24
24
  name = "pybinbot"
25
- version = "1.13.8"
25
+ version = "2.0.0"
26
26
  description = "Utility functions for the binbot project."
27
27
  authors = [
28
28
  { name="Carlos Wu", email="carkodw@gmail.com" }
29
29
  ]
30
30
  readme = "README.md"
31
- requires-python = ">=3.11"
31
+ requires-python = ">=3.12"
32
32
  dependencies = [
33
33
  "pydantic[email]>=2.0.0",
34
- "numpy==2.2.0",
35
- "pandas>=2.2.3",
36
- "pandas-stubs>=2.3.3.251219",
34
+ "numpy==2.5.4",
35
+ "pandas==3.1.1",
36
+ "pandas-stubs==3.1.0.261029",
37
37
  "requests>=2.32.5",
38
38
  "kucoin-universal-sdk>=1.3.0",
39
39
  "aiohttp>=3.14.1,<3.15",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes