PyAlgoEngine 0.7.7a5__tar.gz → 0.8.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.
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PKG-INFO +14 -7
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PyAlgoEngine.egg-info/PKG-INFO +14 -7
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PyAlgoEngine.egg-info/SOURCES.txt +7 -3
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/__init__.py +1 -1
- pyalgoengine-0.8.0/algo_engine/backtest/__init__.py +19 -0
- pyalgoengine-0.8.0/algo_engine/backtest/replay.py +596 -0
- pyalgoengine-0.8.0/algo_engine/backtest/sim_match.py +505 -0
- pyalgoengine-0.8.0/algo_engine/base/__init__.py +65 -0
- pyalgoengine-0.8.0/algo_engine/base/candlestick.pyi +115 -0
- pyalgoengine-0.8.0/algo_engine/base/market_data.pyi +54 -0
- pyalgoengine-0.8.0/algo_engine/base/market_data_buffer.pyi +98 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/market_utils_posix.py +8 -2
- pyalgoengine-0.8.0/algo_engine/base/tick.pyi +127 -0
- pyalgoengine-0.8.0/algo_engine/base/trade_utils.pyi +226 -0
- pyalgoengine-0.7.7a5/algo_engine/base/trade_utils.py → pyalgoengine-0.8.0/algo_engine/base/trade_utils_native.py +1 -1
- pyalgoengine-0.8.0/algo_engine/base/transaction.pyi +226 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/engine/algo_engine.py +1 -1
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/engine/market_engine.py +36 -55
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/engine/trade_engine.py +22 -22
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/monitor/advanced_data_interface.py +134 -39
- pyalgoengine-0.8.0/algo_engine/profile/__init__.py +236 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/strategy/strategy_engine.py +4 -4
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/setup.py +48 -8
- pyalgoengine-0.7.7a5/algo_engine/backtest/__init__.py +0 -19
- pyalgoengine-0.7.7a5/algo_engine/backtest/replay.py +0 -274
- pyalgoengine-0.7.7a5/algo_engine/backtest/sim_match.py +0 -333
- pyalgoengine-0.7.7a5/algo_engine/base/__init__.py +0 -44
- pyalgoengine-0.7.7a5/algo_engine/base/market_buffer.py +0 -571
- pyalgoengine-0.7.7a5/algo_engine/base/market_utils.py +0 -3092
- pyalgoengine-0.7.7a5/algo_engine/profile/__init__.py +0 -121
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/LICENSE +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PyAlgoEngine.egg-info/dependency_links.txt +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PyAlgoEngine.egg-info/requires.txt +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/PyAlgoEngine.egg-info/top_level.txt +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/README.md +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/backtest/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/backtest/doc_server.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/backtest/tester.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/backtest/web_app.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/bokeh_server.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/demo/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/demo/test.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/sim_input/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/sim_input/client.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/sim_input/sim_keyboard.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/sim_input/sim_mouse.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/apps/sim_input/window.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/backtest/__main__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/backtest/metrics.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/console_utils.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/finance_decimal.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/market_utils_nt.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/technical_analysis.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/base/telemetrics.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/engine/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/engine/event_engine.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/monitor/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/profile/cn.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/strategy/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/utils/__init__.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/utils/commit_regularizer.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/algo_engine/utils/data_utils.py +0 -0
- {pyalgoengine-0.7.7a5 → pyalgoengine-0.8.0}/setup.cfg +0 -0
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyAlgoEngine
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
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.
|
|
10
|
+
Requires-Python: >=3.12
|
|
15
11
|
Description-Content-Type: text/markdown
|
|
16
12
|
License-File: LICENSE
|
|
17
13
|
Requires-Dist: numpy
|
|
@@ -22,6 +18,17 @@ Provides-Extra: webapps
|
|
|
22
18
|
Requires-Dist: flask; extra == "webapps"
|
|
23
19
|
Requires-Dist: waitress; extra == "webapps"
|
|
24
20
|
Requires-Dist: bokeh; extra == "webapps"
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
Dynamic: provides-extra
|
|
29
|
+
Dynamic: requires-dist
|
|
30
|
+
Dynamic: requires-python
|
|
31
|
+
Dynamic: summary
|
|
25
32
|
|
|
26
33
|
# PyAlgoEngine
|
|
27
34
|
python algo trading engine
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PyAlgoEngine
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
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.
|
|
10
|
+
Requires-Python: >=3.12
|
|
15
11
|
Description-Content-Type: text/markdown
|
|
16
12
|
License-File: LICENSE
|
|
17
13
|
Requires-Dist: numpy
|
|
@@ -22,6 +18,17 @@ Provides-Extra: webapps
|
|
|
22
18
|
Requires-Dist: flask; extra == "webapps"
|
|
23
19
|
Requires-Dist: waitress; extra == "webapps"
|
|
24
20
|
Requires-Dist: bokeh; extra == "webapps"
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license-file
|
|
28
|
+
Dynamic: provides-extra
|
|
29
|
+
Dynamic: requires-dist
|
|
30
|
+
Dynamic: requires-python
|
|
31
|
+
Dynamic: summary
|
|
25
32
|
|
|
26
33
|
# PyAlgoEngine
|
|
27
34
|
python algo trading engine
|
|
@@ -26,15 +26,19 @@ algo_engine/backtest/metrics.py
|
|
|
26
26
|
algo_engine/backtest/replay.py
|
|
27
27
|
algo_engine/backtest/sim_match.py
|
|
28
28
|
algo_engine/base/__init__.py
|
|
29
|
+
algo_engine/base/candlestick.pyi
|
|
29
30
|
algo_engine/base/console_utils.py
|
|
30
31
|
algo_engine/base/finance_decimal.py
|
|
31
|
-
algo_engine/base/
|
|
32
|
-
algo_engine/base/
|
|
32
|
+
algo_engine/base/market_data.pyi
|
|
33
|
+
algo_engine/base/market_data_buffer.pyi
|
|
33
34
|
algo_engine/base/market_utils_nt.py
|
|
34
35
|
algo_engine/base/market_utils_posix.py
|
|
35
36
|
algo_engine/base/technical_analysis.py
|
|
36
37
|
algo_engine/base/telemetrics.py
|
|
37
|
-
algo_engine/base/
|
|
38
|
+
algo_engine/base/tick.pyi
|
|
39
|
+
algo_engine/base/trade_utils.pyi
|
|
40
|
+
algo_engine/base/trade_utils_native.py
|
|
41
|
+
algo_engine/base/transaction.pyi
|
|
38
42
|
algo_engine/engine/__init__.py
|
|
39
43
|
algo_engine/engine/algo_engine.py
|
|
40
44
|
algo_engine/engine/event_engine.py
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
from .. import LOGGER
|
|
4
|
+
|
|
5
|
+
LOGGER = LOGGER.getChild('BackTest')
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def set_logger(logger: logging.Logger):
|
|
9
|
+
global LOGGER
|
|
10
|
+
LOGGER = logger
|
|
11
|
+
|
|
12
|
+
replay.LOGGER = LOGGER.getChild('Replay')
|
|
13
|
+
sim_match.LOGGER = LOGGER.getChild('SimMatch')
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from .replay import PyDataScope, MarketDateCallable, MarketDataLoader, MarketDataBulkLoader, Replay, SimpleReplay, ProgressReplay, ProgressiveReplay
|
|
17
|
+
from .sim_match import SimMatch
|
|
18
|
+
|
|
19
|
+
__all__ = ['PyDataScope', 'MarketDateCallable', 'MarketDataLoader', 'MarketDataBulkLoader', 'Replay', 'SimpleReplay', 'ProgressReplay', 'ProgressiveReplay', 'SimMatch']
|