PyAlgoEngine 0.8.0a11__tar.gz → 0.8.0a13__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 (56) hide show
  1. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PKG-INFO +2 -6
  2. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PyAlgoEngine.egg-info/PKG-INFO +2 -6
  3. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/__init__.py +1 -1
  4. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/market_data.pyi +4 -0
  5. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/market_data_buffer.pyi +5 -2
  6. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/setup.py +1 -5
  7. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/LICENSE +0 -0
  8. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PyAlgoEngine.egg-info/SOURCES.txt +0 -0
  9. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PyAlgoEngine.egg-info/dependency_links.txt +0 -0
  10. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PyAlgoEngine.egg-info/requires.txt +0 -0
  11. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/PyAlgoEngine.egg-info/top_level.txt +0 -0
  12. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/README.md +0 -0
  13. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/__init__.py +0 -0
  14. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/backtest/__init__.py +0 -0
  15. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/backtest/doc_server.py +0 -0
  16. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/backtest/tester.py +0 -0
  17. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/backtest/web_app.py +0 -0
  18. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/bokeh_server.py +0 -0
  19. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/demo/__init__.py +0 -0
  20. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/demo/test.py +0 -0
  21. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/sim_input/__init__.py +0 -0
  22. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/sim_input/client.py +0 -0
  23. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/sim_input/sim_keyboard.py +0 -0
  24. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/sim_input/sim_mouse.py +0 -0
  25. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/apps/sim_input/window.py +0 -0
  26. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/backtest/__init__.py +0 -0
  27. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/backtest/__main__.py +0 -0
  28. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/backtest/metrics.py +0 -0
  29. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/backtest/replay.py +0 -0
  30. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/backtest/sim_match.py +0 -0
  31. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/__init__.py +0 -0
  32. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/candlestick.pyi +0 -0
  33. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/console_utils.py +0 -0
  34. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/finance_decimal.py +0 -0
  35. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/market_utils_nt.py +0 -0
  36. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/market_utils_posix.py +0 -0
  37. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/technical_analysis.py +0 -0
  38. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/telemetrics.py +0 -0
  39. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/tick.pyi +0 -0
  40. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/trade_utils.pyi +0 -0
  41. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/base/transaction.pyi +0 -0
  42. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/engine/__init__.py +0 -0
  43. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/engine/algo_engine.py +0 -0
  44. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/engine/event_engine.py +0 -0
  45. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/engine/market_engine.py +0 -0
  46. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/engine/trade_engine.py +0 -0
  47. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/monitor/__init__.py +0 -0
  48. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/monitor/advanced_data_interface.py +0 -0
  49. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/profile/__init__.py +0 -0
  50. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/profile/cn.py +0 -0
  51. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/strategy/__init__.py +0 -0
  52. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/strategy/strategy_engine.py +0 -0
  53. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/utils/__init__.py +0 -0
  54. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/utils/commit_regularizer.py +0 -0
  55. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/algo_engine/utils/data_utils.py +0 -0
  56. {pyalgoengine-0.8.0a11 → pyalgoengine-0.8.0a13}/setup.cfg +0 -0
@@ -1,17 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyAlgoEngine
3
- Version: 0.8.0a11
3
+ Version: 0.8.0a13
4
4
  Summary: Basic algo engine
5
5
  Home-page: https://github.com/BolunHan/PyAlgoEngine
6
6
  Author: Bolun.Han
7
7
  Author-email: Bolun.Han@outlook.com
8
- Classifier: Programming Language :: Python :: 3.8
9
- Classifier: Programming Language :: Python :: 3.9
10
- Classifier: Programming Language :: Python :: 3.10
11
- Classifier: Programming Language :: Python :: 3.11
12
8
  Classifier: Programming Language :: Python :: 3.12
13
9
  Classifier: Operating System :: OS Independent
14
- Requires-Python: >=3.1
10
+ Requires-Python: >=3.12
15
11
  Description-Content-Type: text/markdown
16
12
  License-File: LICENSE
17
13
  Requires-Dist: numpy
@@ -1,17 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyAlgoEngine
3
- Version: 0.8.0a11
3
+ Version: 0.8.0a13
4
4
  Summary: Basic algo engine
5
5
  Home-page: https://github.com/BolunHan/PyAlgoEngine
6
6
  Author: Bolun.Han
7
7
  Author-email: Bolun.Han@outlook.com
8
- Classifier: Programming Language :: Python :: 3.8
9
- Classifier: Programming Language :: Python :: 3.9
10
- Classifier: Programming Language :: Python :: 3.10
11
- Classifier: Programming Language :: Python :: 3.11
12
8
  Classifier: Programming Language :: Python :: 3.12
13
9
  Classifier: Operating System :: OS Independent
14
- Requires-Python: >=3.1
10
+ Requires-Python: >=3.12
15
11
  Description-Content-Type: text/markdown
16
12
  License-File: LICENSE
17
13
  Requires-Dist: numpy
@@ -1,4 +1,4 @@
1
- __version__ = "0.8.0.alpha11"
1
+ __version__ = "0.8.0.alpha13"
2
2
 
3
3
  import logging
4
4
  import os
@@ -15,9 +15,13 @@ class PyDataType(enum.IntEnum):
15
15
 
16
16
  class MarketData:
17
17
  _additional: dict[str, Any]
18
+ _dtype: int
18
19
 
19
20
  def __init__(self, ticker: str, timestamp: float, **kwargs: Any) -> None: ...
20
21
 
22
+ @classmethod
23
+ def buffer_size(cls) -> int: ...
24
+
21
25
  @classmethod
22
26
  def from_buffer(cls, buffer: bytes) -> 'MarketData': ...
23
27
 
@@ -16,6 +16,9 @@ class MarketDataBuffer:
16
16
  capacity: int = ...
17
17
  ) -> None: ...
18
18
 
19
+ @classmethod
20
+ def buffer_size(cls, n_transaction_data: int = 0, n_order_data: int = 0, n_tick_data_lite: int = 0, n_tick_data: int = 0, n_bar_data: int = 0) -> int: ...
21
+
19
22
  @classmethod
20
23
  def from_buffer(cls, buffer: Any) -> MarketDataBuffer: ...
21
24
 
@@ -37,7 +40,7 @@ class MarketDataBuffer:
37
40
  def __len__(self) -> int: ...
38
41
 
39
42
 
40
- class MarketDataRingBuffer(MarketDataBuffer):
43
+ class MarketDataRingBuffer:
41
44
  def __init__(
42
45
  self,
43
46
  buffer: Any,
@@ -65,7 +68,7 @@ class MarketDataRingBuffer(MarketDataBuffer):
65
68
  def count(self) -> int: ...
66
69
 
67
70
 
68
- class MarketDataConcurrentBuffer(MarketDataBuffer):
71
+ class MarketDataConcurrentBuffer:
69
72
  def __init__(
70
73
  self,
71
74
  buffer: Any,
@@ -109,14 +109,10 @@ setuptools.setup(
109
109
  package_data={
110
110
  },
111
111
  classifiers=[
112
- "Programming Language :: Python :: 3.8",
113
- "Programming Language :: Python :: 3.9",
114
- "Programming Language :: Python :: 3.10",
115
- "Programming Language :: Python :: 3.11",
116
112
  "Programming Language :: Python :: 3.12",
117
113
  "Operating System :: OS Independent",
118
114
  ],
119
- python_requires='>=3.1',
115
+ python_requires='>=3.12',
120
116
  install_requires=[
121
117
  'numpy',
122
118
  'pandas',
File without changes