We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974aff3 commit fd541a8Copy full SHA for fd541a8
README.md
@@ -83,6 +83,13 @@ app.add_portfolio_configuration(
83
def perform_strategy(algorithm: Algorithm, market_data: dict):
84
# By default data is passed as polars dataframe https://pola.rs/
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
+ )
93
94
if __name__ == "__main__":
95
app.run()
0 commit comments