Skip to content

Commit

Permalink
(feat) adapt page to use only 2 extra rows
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosofede committed May 18, 2023
1 parent 61d49ab commit 6103b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/2_🚀_Strategy_Performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_ohlc(trading_pair: str, exchange: str, interval: str, start_timestamp: i
st.metric(label='Average Buy Price', value=round(strategy_data_filtered.average_buy_price, 4))
st.metric(label='Average Sell Price', value=round(strategy_data_filtered.average_sell_price, 4))

cg = CandlesGraph(candles_df_filtered, show_volume=True, extra_rows=4)
cg = CandlesGraph(candles_df_filtered, show_volume=True, extra_rows=2)
cg.add_buy_trades(strategy_data_filtered.buys)
cg.add_sell_trades(strategy_data_filtered.sells)
cg.add_base_inventory_change(strategy_data_filtered)
Expand Down

0 comments on commit 6103b35

Please sign in to comment.