Skip to content

Commit 403a3c0

Browse files
authored
274 add azure blob storage state serializer and deserializer for stateless run with statefull support (#303)
* Fix issue with data sources parameters passing * Fix flake8 issues * Add azure storage state handler support * Fix flake8 warnings * Add poetry lock * Pin poetry version to 1.7.1 * Fix failing tests * Fix flake 8 warnings * Fix flask test base * Add deployment to Azure Function * Fix flake8 warnings * Fix tests * Update gitignore * Fix file reference * Fix file reference
1 parent cf6e6a6 commit 403a3c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2684
-3475
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ bumpversion.egg-info/
148148
*.sqlite3
149149

150150
**/backtest_data/*
151-
*/backtest_reports/
151+
**/backtest_reports/
152152
**/backtest_reports/*
153+
**/databases/
153154
.vscode/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,4 @@ You can pick up a task by assigning yourself to it.
338338
**Note** before starting any major new feature work, *please open an issue describing what you are planning to do*.
339339
This will ensure that interested parties can give valuable feedback on the feature, and let others know that you are working on it.
340340

341-
**Important:** Always create your feature or hotfix against the `develop` branch, not `main`.
341+
**Important:** Always create your feature or hotfix against the `develop` branch, not `main`.

examples/deployments/azure_function/app_entry.py renamed to examples/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
load_dotenv()
88

9-
# Define market data sources OHLCV data for candles
9+
# Define market data sources
10+
# OHLCV data for candles
1011
bitvavo_btc_eur_ohlcv_2h = CCXTOHLCVMarketDataSource(
1112
identifier="BTC-ohlcv",
1213
market="BITVAVO",

examples/bitvavo_trading_bot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
# Define your market credential for bitvavo, keys are read from .env file
2424
bitvavo_market_credential = MarketCredential(
2525
market="bitvavo",
26+
api_key="your_api_key",
27+
secret_key="your_secret_key"
2628
)
2729
# Define your market data sources for coinbase
2830
bitvavo_btc_eur_ohlcv_2h = CCXTOHLCVMarketDataSource(

examples/deployments/azure_function/.funcignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/deployments/azure_function/.gitignore

Lines changed: 0 additions & 48 deletions
This file was deleted.

examples/deployments/azure_function/README.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

examples/deployments/azure_function/function_app.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

examples/deployments/azure_function/host.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/deployments/azure_function/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)