mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-23 16:24:22 +01:00
(feat) adapt visualizations to seconds
This commit is contained in:
@@ -15,7 +15,7 @@ def get_candlestick_trace(df):
|
||||
|
||||
|
||||
def get_bt_candlestick_trace(df):
|
||||
df.index = pd.to_datetime(df.timestamp, unit='ms')
|
||||
df.index = pd.to_datetime(df.timestamp, unit='s')
|
||||
return go.Scatter(x=df.index,
|
||||
y=df['close'],
|
||||
mode='lines',
|
||||
|
||||
Reference in New Issue
Block a user