diff options
author | loit <michael.foiani@gmail.com> | 2025-07-31 14:22:31 -0400 |
---|---|---|
committer | loit <michael.foiani@gmail.com> | 2025-07-31 14:22:31 -0400 |
commit | 6d558749b7bff9250b9f9f48fa4eeb492d231c22 (patch) | |
tree | b91009d1fb940c0b11936f7c1a74be0578c9f0d8 /app.py | |
parent | 2f195e7f14e57e07ec291e8bfeee6da54ef35575 (diff) |
testing different params
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ def display_color(ticker, period, interval): go.Scatter(name='Buys', x=buy_times, y=buy_prices, line=dict(color='rgb(0, 0, 255)'), mode='markers', marker_size=10), go.Scatter(name='Sells', x=sell_times, y=sell_prices, line=dict(color='rgb(255, 255, 0)'), mode='markers', marker_size=10) ] - data = fetch_chart_data_yahoo('XRP-USD', '1m') + data = fetch_chart_data_yahoo('XRP-USD', '1h', None, timedelta(weeks=52)) times = [datetime.fromtimestamp(t).astimezone(pytz.timezone('US/Eastern')) for t in data['timestamps']] comp_scatter = go.Scatter(name='Price (yahoo)', x=times, y=data['prices'], line=dict(color='rgb(255, 0, 0)'), mode='lines') fig = go.Figure( |