Skip to content

Commit

Permalink
Refactor data sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
MDUYN committed Jul 2, 2024
1 parent 05b421f commit 2581ae0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions examples/bitvavo_trading_bot/bitvavo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="<your_api_key>",
Expand Down Expand Up @@ -72,4 +72,3 @@ def apply_strategy(self, algorithm, market_data):

if __name__ == "__main__":
app.run()

0 comments on commit 2581ae0

Please sign in to comment.