mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-02-18 11:35:40 +01:00
(feat) normalize spreads distribution graph
This commit is contained in:
@@ -24,7 +24,7 @@ st.write("---")
|
||||
|
||||
inputs = user_inputs()
|
||||
with st.expander("Executor Distribution:", expanded=True):
|
||||
fig = create_executors_distribution_traces(inputs)
|
||||
fig = create_executors_distribution_traces(inputs["buy_spreads"], inputs["sell_spreads"], inputs["buy_amounts_pct"], inputs["sell_amounts_pct"], inputs["total_amount_quote"])
|
||||
st.plotly_chart(fig, use_container_width=True)
|
||||
|
||||
dca_inputs = get_dca_distribution_inputs()
|
||||
|
||||
@@ -20,8 +20,10 @@ backend_api_client = BackendAPIClient.get_instance(host=BACKEND_API_HOST, port=B
|
||||
st.text("This tool will let you create a config for PMM Simple, backtest and upload it to the Backend API.")
|
||||
# Get user inputs
|
||||
inputs = user_inputs()
|
||||
fig = create_executors_distribution_traces(inputs)
|
||||
st.plotly_chart(fig, use_container_width=True)
|
||||
|
||||
with st.expander("Executor Distribution:", expanded=True):
|
||||
fig = create_executors_distribution_traces(inputs)
|
||||
st.plotly_chart(fig, use_container_width=True)
|
||||
|
||||
bt_results = backtesting_section(inputs, backend_api_client)
|
||||
if bt_results:
|
||||
|
||||
Reference in New Issue
Block a user