investing-algorithm-framework 2.3__tar.gz → 2.3.1__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.
- {investing_algorithm_framework-2.3/investing_algorithm_framework.egg-info → investing_algorithm_framework-2.3.1}/PKG-INFO +12 -1
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/README.md +11 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/market_data_sources/ccxt.py +1 -1
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1/investing_algorithm_framework.egg-info}/PKG-INFO +12 -1
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/AUTHORS.md +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/LICENSE +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/algorithm.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/app.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/action_handlers/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/action_handlers/action_handler_strategy.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/action_handlers/check_online_handler.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/action_handlers/run_strategy_handler.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/stateless/exception_handler.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/strategy.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/task.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/controllers/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/controllers/orders.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/controllers/portfolio.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/controllers/positions.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/create_app.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/error_handler.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/responses.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/run_strategies.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/schemas/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/schemas/order.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/schemas/portfolio.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/schemas/position.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/app/web/setup_cors.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/create_app.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/dependency_container.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/config.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/constants.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/data_structures.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/decimal_parsing.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/exceptions.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/backtest_profile.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/base_model.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/market/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/market/market_credential.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/order.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/order_fee.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/order_side.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/order_status.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/order/order_type.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/portfolio/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/portfolio/portfolio.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/portfolio/portfolio_configuration.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/portfolio/portfolio_snapshot.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/position/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/position/position.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/position/position_snapshot.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/strategy_profile.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/time_frame.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/time_interval.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/time_unit.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/trade.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/trading_data_types.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/models/trading_time_frame.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/services/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/services/market_data_sources.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/services/market_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/singleton.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/stateless_actions.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/strategy.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/backtesting.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/csv.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/random.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/signatures.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/stoppable_thread.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/domain/utils/synchronized.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/database/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/database/sql_alchemy.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/decimal_parser.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/market_data_sources/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/market_data_sources/csv.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/model_extension.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/order/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/order/order.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/order/order_fee.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/portfolio/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/portfolio/portfolio.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/portfolio/portfolio_snapshot.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/position/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/position/position.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/models/position/position_snapshot.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/order_fee_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/order_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/portfolio_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/portfolio_snapshot_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/position_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/position_snapshot_repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/repositories/repository.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/market_service/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/market_service/ccxt_market_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/performance_service/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/performance_service/backtest_performance_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/infrastructure/services/performance_service/performance_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/backtest_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/configuration_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/market_credential_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/market_data_source_service/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/market_data_source_service/backtest_market_data_source_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/market_data_source_service/market_data_source_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/order_service/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/order_service/order_backtest_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/order_service/order_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/portfolio_configuration_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/portfolio_service/__init__.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/portfolio_service/backtest_portfolio_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/portfolio_service/portfolio_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/portfolio_snapshot_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/position_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/position_snapshot_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/repository_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework/services/strategy_orchestrator_service.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework.egg-info/SOURCES.txt +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework.egg-info/dependency_links.txt +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework.egg-info/requires.txt +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/investing_algorithm_framework.egg-info/top_level.txt +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/setup.cfg +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/setup.py +0 -0
- {investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/tests/test_create_app.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: investing_algorithm_framework
|
|
3
|
-
Version: 2.3
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: A framework for creating an investment algorithm
|
|
5
5
|
Home-page: https://github.com/coding-kitties/investing-algorithm-framework.git
|
|
6
6
|
Download-URL: https://github.com/coding-kitties/investing-algorithm-framework/archive/v0.1.1.tar.gz
|
|
@@ -121,6 +121,13 @@ app.add_portfolio_configuration(
|
|
|
121
121
|
def perform_strategy(algorithm: Algorithm, market_data: dict):
|
|
122
122
|
# By default data is passed as polars dataframe https://pola.rs/
|
|
123
123
|
df = market_data["BTC-ohlcv"].to_pandas()
|
|
124
|
+
ticker_data = market_data["BTC-ticker"]
|
|
125
|
+
algorithm.create_limit_order(
|
|
126
|
+
target_symbol="BTC/EUR",
|
|
127
|
+
order_side="buy",
|
|
128
|
+
amount=0.01,
|
|
129
|
+
price=ticker_data["ask"],
|
|
130
|
+
)
|
|
124
131
|
|
|
125
132
|
if __name__ == "__main__":
|
|
126
133
|
app.run()
|
|
@@ -332,6 +339,10 @@ If you discover a bug in the framework, please [search our issue tracker](https:
|
|
|
332
339
|
first. If it hasn't been reported, please [create a new issue](https://github.com/investing-algorithms/investing-algorithm-framework/issues/new).
|
|
333
340
|
|
|
334
341
|
### Contributing
|
|
342
|
+
The investing algorithm framework is a community driven project.
|
|
343
|
+
We welcome you to participate, contribute and together help build
|
|
344
|
+
the future trading bots developed in pyhton.
|
|
345
|
+
|
|
335
346
|
Feel like the framework is missing a feature? We welcome your pull requests!
|
|
336
347
|
If you want to contribute to the project roadmap, please take a look at the [project board](https://github.com/coding-kitties/investing-algorithm-framework/projects?query=is%3Aopen).
|
|
337
348
|
You can pick up a task by assigning yourself to it.
|
|
@@ -83,6 +83,13 @@ app.add_portfolio_configuration(
|
|
|
83
83
|
def perform_strategy(algorithm: Algorithm, market_data: dict):
|
|
84
84
|
# By default data is passed as polars dataframe https://pola.rs/
|
|
85
85
|
df = market_data["BTC-ohlcv"].to_pandas()
|
|
86
|
+
ticker_data = market_data["BTC-ticker"]
|
|
87
|
+
algorithm.create_limit_order(
|
|
88
|
+
target_symbol="BTC/EUR",
|
|
89
|
+
order_side="buy",
|
|
90
|
+
amount=0.01,
|
|
91
|
+
price=ticker_data["ask"],
|
|
92
|
+
)
|
|
86
93
|
|
|
87
94
|
if __name__ == "__main__":
|
|
88
95
|
app.run()
|
|
@@ -294,6 +301,10 @@ If you discover a bug in the framework, please [search our issue tracker](https:
|
|
|
294
301
|
first. If it hasn't been reported, please [create a new issue](https://github.com/investing-algorithms/investing-algorithm-framework/issues/new).
|
|
295
302
|
|
|
296
303
|
### Contributing
|
|
304
|
+
The investing algorithm framework is a community driven project.
|
|
305
|
+
We welcome you to participate, contribute and together help build
|
|
306
|
+
the future trading bots developed in pyhton.
|
|
307
|
+
|
|
297
308
|
Feel like the framework is missing a feature? We welcome your pull requests!
|
|
298
309
|
If you want to contribute to the project roadmap, please take a look at the [project board](https://github.com/coding-kitties/investing-algorithm-framework/projects?query=is%3Aopen).
|
|
299
310
|
You can pick up a task by assigning yourself to it.
|
|
@@ -112,7 +112,7 @@ class CCXTOHLCVBacktestMarketDataSource(
|
|
|
112
112
|
os.mkdir(self.backtest_data_directory)
|
|
113
113
|
|
|
114
114
|
file_path = self._create_file_path()
|
|
115
|
-
|
|
115
|
+
print(self._data_source_exists(file_path))
|
|
116
116
|
if not self._data_source_exists(file_path):
|
|
117
117
|
if not os.path.isfile(file_path):
|
|
118
118
|
try:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: investing_algorithm_framework
|
|
3
|
-
Version: 2.3
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: A framework for creating an investment algorithm
|
|
5
5
|
Home-page: https://github.com/coding-kitties/investing-algorithm-framework.git
|
|
6
6
|
Download-URL: https://github.com/coding-kitties/investing-algorithm-framework/archive/v0.1.1.tar.gz
|
|
@@ -121,6 +121,13 @@ app.add_portfolio_configuration(
|
|
|
121
121
|
def perform_strategy(algorithm: Algorithm, market_data: dict):
|
|
122
122
|
# By default data is passed as polars dataframe https://pola.rs/
|
|
123
123
|
df = market_data["BTC-ohlcv"].to_pandas()
|
|
124
|
+
ticker_data = market_data["BTC-ticker"]
|
|
125
|
+
algorithm.create_limit_order(
|
|
126
|
+
target_symbol="BTC/EUR",
|
|
127
|
+
order_side="buy",
|
|
128
|
+
amount=0.01,
|
|
129
|
+
price=ticker_data["ask"],
|
|
130
|
+
)
|
|
124
131
|
|
|
125
132
|
if __name__ == "__main__":
|
|
126
133
|
app.run()
|
|
@@ -332,6 +339,10 @@ If you discover a bug in the framework, please [search our issue tracker](https:
|
|
|
332
339
|
first. If it hasn't been reported, please [create a new issue](https://github.com/investing-algorithms/investing-algorithm-framework/issues/new).
|
|
333
340
|
|
|
334
341
|
### Contributing
|
|
342
|
+
The investing algorithm framework is a community driven project.
|
|
343
|
+
We welcome you to participate, contribute and together help build
|
|
344
|
+
the future trading bots developed in pyhton.
|
|
345
|
+
|
|
335
346
|
Feel like the framework is missing a feature? We welcome your pull requests!
|
|
336
347
|
If you want to contribute to the project roadmap, please take a look at the [project board](https://github.com/coding-kitties/investing-algorithm-framework/projects?query=is%3Aopen).
|
|
337
348
|
You can pick up a task by assigning yourself to it.
|
|
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
|
{investing_algorithm_framework-2.3 → investing_algorithm_framework-2.3.1}/tests/test_create_app.py
RENAMED
|
File without changes
|