Qubx 0.6.44__tar.gz → 0.6.47__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.
Potentially problematic release.
This version of Qubx might be problematic. Click here for more details.
- {qubx-0.6.44 → qubx-0.6.47}/PKG-INFO +3 -2
- {qubx-0.6.44 → qubx-0.6.47}/pyproject.toml +3 -2
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/context.py +3 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/initializer.py +7 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/interfaces.py +18 -0
- {qubx-0.6.44 → qubx-0.6.47}/LICENSE +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/README.md +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/build.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/_nb_magic.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/account.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/broker.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/data.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/management.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/ome.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/optimization.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/runner.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/simulated_data.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/simulated_exchange.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/simulator.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/backtester/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/cli/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/cli/commands.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/cli/deploy.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/cli/misc.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/cli/release.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/account.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/broker.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/data.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exceptions.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/binance/broker.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/binance/exchange.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/bitfinex/bitfinex.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/bitfinex/bitfinex_account.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/exchanges/kraken/kraken.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/factory.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/reader.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/ccxt/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/tardis/data.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/connectors/tardis/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/account.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/basics.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/deque.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/errors.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/exceptions.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/helpers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/loggers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/lookups.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/metrics.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/market.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/processing.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/subscription.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/trading.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/mixins/universe.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/series.pxd +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/series.pyi +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/series.pyx +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/utils.pyi +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/core/utils.pyx +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/composite.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/helpers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/hft.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/readers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/registry.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/data/tardis.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/base.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/composite.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/csv.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/prometheus.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/emitters/questdb.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/composite.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/formatters/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/formatters/base.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/formatters/incremental.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/formatters/slack.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/redis_streams.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/exporters/slack.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/core.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/orderbook.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/price.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/trades.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/features/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/gathering/simplest.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/health/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/health/base.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/loggers/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/loggers/csv.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/loggers/factory.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/loggers/inmemory.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/loggers/mongo.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/math/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/math/stats.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/notifications/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/notifications/composite.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/notifications/slack.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/notifications/throttler.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/pandaz/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/pandaz/ta.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/pandaz/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/_build.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-binance.cm.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-binance.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-binance.um.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-bitfinex.f.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-bitfinex.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-kraken.f.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/resources/instruments/symbols-kraken.json +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restarts/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restarts/state_resolvers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restarts/time_finders.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/balance.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/factory.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/interfaces.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/position.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/signal.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/state.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/restorers/utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/ta/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/ta/indicators.pxd +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/ta/indicators.pyi +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/ta/indicators.pyx +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/advanced.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/composite.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/rebalancers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/riskctrl.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/trackers/sizers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/_pyxreloader.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/charting/lookinglass.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/charting/mpl_helpers.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/collections.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/marketdata/binance.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/marketdata/ccxt.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/marketdata/dukas.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/misc.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/ntp.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/numbers_utils.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/orderbook.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/dashboard.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/data.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/interfaces.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/renderers/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/plotting/renderers/plotly.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/questdb.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/__init__.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/_jupyter_runner.pyt +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/accounts.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/configs.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/factory.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/runner/runner.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/time.py +0 -0
- {qubx-0.6.44 → qubx-0.6.47}/src/qubx/utils/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: Qubx
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.47
|
|
4
4
|
Summary: Qubx - Quantitative Trading Framework
|
|
5
5
|
Author: Dmitry Marienko
|
|
6
6
|
Author-email: dmitry.marienko@xlydian.com
|
|
@@ -11,7 +11,6 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Requires-Dist: aiohttp (>=3.10.11,<3.11.0)
|
|
14
|
-
Requires-Dist: bitfinex-api-py (>=3.0.4,<4.0.0)
|
|
15
14
|
Requires-Dist: ccxt (>=4.2.68,<5.0.0)
|
|
16
15
|
Requires-Dist: croniter (>=2.0.5,<3.0.0)
|
|
17
16
|
Requires-Dist: cython (==3.0.8)
|
|
@@ -40,6 +39,7 @@ Requires-Dist: pymongo (>=4.6.1,<5.0.0)
|
|
|
40
39
|
Requires-Dist: python-binance (>=1.0.19,<2.0.0)
|
|
41
40
|
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
|
42
41
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
|
42
|
+
Requires-Dist: qubx-bitfinex-api (>=3.0.7,<4.0.0)
|
|
43
43
|
Requires-Dist: questdb (>=2.0.3,<3.0.0)
|
|
44
44
|
Requires-Dist: redis (>=5.2.1,<6.0.0)
|
|
45
45
|
Requires-Dist: scikit-learn (>=1.4.2,<2.0.0)
|
|
@@ -50,6 +50,7 @@ Requires-Dist: statsmodels (>=0.14.2,<0.15.0)
|
|
|
50
50
|
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
|
|
51
51
|
Requires-Dist: toml (>=0.10.2,<0.11.0)
|
|
52
52
|
Requires-Dist: tqdm
|
|
53
|
+
Requires-Dist: websockets (==15.0.1)
|
|
53
54
|
Project-URL: Repository, https://github.com/xLydianSoftware/Qubx
|
|
54
55
|
Description-Content-Type: text/markdown
|
|
55
56
|
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "Qubx"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.47"
|
|
8
8
|
description = "Qubx - Quantitative Trading Framework"
|
|
9
9
|
authors = [ "Dmitry Marienko <dmitry.marienko@xlydian.com>", "Yuriy Arabskyy <yuriy.arabskyy@xlydian.com>",]
|
|
10
10
|
readme = "README.md"
|
|
@@ -72,7 +72,8 @@ ipywidgets = "^8.1.5"
|
|
|
72
72
|
questdb = "^2.0.3"
|
|
73
73
|
orjson = "^3.10.15"
|
|
74
74
|
aiohttp = "~3.10.11"
|
|
75
|
-
|
|
75
|
+
websockets = "15.0.1"
|
|
76
|
+
qubx-bitfinex-api = "^3.0.7"
|
|
76
77
|
|
|
77
78
|
[tool.ruff.lint]
|
|
78
79
|
extend-select = [ "I",]
|
|
@@ -198,6 +198,9 @@ class StrategyContext(IStrategyContext):
|
|
|
198
198
|
self.strategy.on_init(self.initializer)
|
|
199
199
|
self._strategy_state.is_on_init_called = True
|
|
200
200
|
|
|
201
|
+
if subscription_warmup := self.initializer.get_subscription_warmup():
|
|
202
|
+
self.set_warmup(subscription_warmup)
|
|
203
|
+
|
|
201
204
|
if base_sub := self.initializer.get_base_subscription():
|
|
202
205
|
self.set_base_subscription(base_sub)
|
|
203
206
|
|
|
@@ -31,6 +31,7 @@ class BasicStrategyInitializer(IStrategyInitializer):
|
|
|
31
31
|
mismatch_resolver: Optional[StateResolverProtocol] = None
|
|
32
32
|
auto_subscribe: Optional[bool] = None
|
|
33
33
|
simulation: Optional[bool] = None
|
|
34
|
+
subscription_warmup: Optional[dict[Any, str]] = None
|
|
34
35
|
|
|
35
36
|
# Additional configuration that might be needed
|
|
36
37
|
config: Dict[str, Any] = field(default_factory=dict)
|
|
@@ -106,3 +107,9 @@ class BasicStrategyInitializer(IStrategyInitializer):
|
|
|
106
107
|
|
|
107
108
|
def get_pending_instrument_subscriptions(self) -> dict[str, set[Instrument]]:
|
|
108
109
|
return self._pending_instrument_subscriptions
|
|
110
|
+
|
|
111
|
+
def set_subscription_warmup(self, configs: dict[Any, str]) -> None:
|
|
112
|
+
self.subscription_warmup = configs
|
|
113
|
+
|
|
114
|
+
def get_subscription_warmup(self) -> dict[Any, str]:
|
|
115
|
+
return self.subscription_warmup if self.subscription_warmup else {}
|
|
@@ -1695,6 +1695,24 @@ class IStrategyInitializer:
|
|
|
1695
1695
|
"""
|
|
1696
1696
|
...
|
|
1697
1697
|
|
|
1698
|
+
def set_subscription_warmup(self, configs: dict[Any, str]) -> None:
|
|
1699
|
+
"""
|
|
1700
|
+
Set the warmup period for the subscription.
|
|
1701
|
+
|
|
1702
|
+
This method is used to set the warmup period for the subscription in on_init stage.
|
|
1703
|
+
Then this config is used to translate warmup configs to StrategyContext
|
|
1704
|
+
|
|
1705
|
+
Args:
|
|
1706
|
+
configs: A dictionary of subscription types and their warmup periods.
|
|
1707
|
+
"""
|
|
1708
|
+
...
|
|
1709
|
+
|
|
1710
|
+
def get_subscription_warmup(self) -> dict[Any, str]:
|
|
1711
|
+
"""
|
|
1712
|
+
Get the warmup period for the subscription.
|
|
1713
|
+
"""
|
|
1714
|
+
...
|
|
1715
|
+
|
|
1698
1716
|
|
|
1699
1717
|
class IStrategy(metaclass=Mixable):
|
|
1700
1718
|
"""Base class for trading strategies."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|