Replies: 2 comments
-
I have successfully implemented this with pyplot, but pyplot sucks, would be pretty awesome if this could be done with finplot Function to load data from CSVdef load_data(file_path): Function to plot datadef plot_data(df, file_name): Key event handling functiondef on_key(event): Directory containing the CSV filesfolder = "Charts" if not csv_files:
|
Beta Was this translation helpful? Give feedback.
-
Sure you can! The complicated.py example shows how to clear the plot and create new ones when you select some new asset. Similar things can be seen in other examples. Basically you just do this: def change_asset():
ax.reset() # remove previous plots
fplt.plot(df['close']) |
Beta Was this translation helpful? Give feedback.
-
Hi! Amazing work you have done! I'm tired of paying for subscriptions that do nothing when I'm already paying for market data from 3 places... Is it possible to switch between files with arrow key or with a button or something. lets say i've saved all the tickers in a folder with AAPL.csv, MSFT.csv, NVDA.csv etc. and i want to browse the different tickers without relaunching, is this possible?
Beta Was this translation helpful? Give feedback.
All reactions