From 2581ae014ba07c0401590b827d0add198ab6e2bc Mon Sep 17 00:00:00 2001 From: marcvanduyn Date: Tue, 2 Jul 2024 10:32:11 +0200 Subject: [PATCH] Refactor data sourcing --- examples/bitvavo_trading_bot/bitvavo.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/bitvavo_trading_bot/bitvavo.py b/examples/bitvavo_trading_bot/bitvavo.py index 3d7ebff..46bd11a 100644 --- a/examples/bitvavo_trading_bot/bitvavo.py +++ b/examples/bitvavo_trading_bot/bitvavo.py @@ -5,15 +5,15 @@ create_app, PortfolioConfiguration, Algorithm, SYMBOLS, RESOURCE_DIRECTORY """ -Bitvavo trading bot example with market data sources of bitvavo. +Bitvavo trading bot example with market data sources of bitvavo. Bitvavo does not requires you to have an API key and secret key to access -their market data - -If you just want to backtest your strategy, you don't need to -add a market credential. If your running your strategy live, +their market data. If you just want to backtest your strategy, +you don't need to add a market credential. If your running your strategy live, you need to add a market credential to the app, that accesses your account on bitvavo. """ + + # Define your market credential for bitvavo bitvavo_market_credential = MarketCredential( api_key="", @@ -72,4 +72,3 @@ def apply_strategy(self, algorithm, market_data): if __name__ == "__main__": app.run() -