mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-22 07:54:18 +01:00
(feat) clean up visualization
This commit is contained in:
@@ -5,7 +5,6 @@ from frontend.visualization import theme
|
|||||||
|
|
||||||
|
|
||||||
def get_candlestick_trace(df):
|
def get_candlestick_trace(df):
|
||||||
df.index = pd.to_datetime(df.timestamp, unit='ms')
|
|
||||||
return go.Candlestick(x=df.index,
|
return go.Candlestick(x=df.index,
|
||||||
open=df['open'],
|
open=df['open'],
|
||||||
high=df['high'],
|
high=df['high'],
|
||||||
|
|||||||
Reference in New Issue
Block a user