HERE is the small CSV file that I'm getting from an API. I tried to follow your docs to plot this but I'm getting all sorts of troubles in doing that.
This is the code I tried it with
#import csv, os
#import shutil as sh
import pandas as pd
import finplot as fplt
#ydir = r'C:\BeingProfessional'
#os.chdir(ydir)
symbol = 'IBM'
df = pd.read_csv('data.csv')
df.dropna(how='any')
ax,ax2 = fplt.create_plot(symbol, rows=2)
candles = df[['timestamp','open','close','high','low']]
fplt.candlestick_ochl(candles, ax=ax)
fplt.show()
data.csv being the csv file. It just takes quite long then execution stops without any error message.
I'd appreciate any help on how to get just a simple plot, nothing fancy or additional layout in there with a simple CSV file?
Moreover they do have an API which reckons about sending data in json, HERE but that doesn't work either.
I'd appreciate any help on either of the cases, preferably on the json one, but csv one is also equally appreciable.
Thank You for the amazing tool btw. I stumbled upon one of your answers on SO and here I am :)
HERE is the small CSV file that I'm getting from an API. I tried to follow your docs to plot this but I'm getting all sorts of troubles in doing that.
This is the code I tried it with
data.csv being the csv file. It just takes quite long then execution stops without any error message.
I'd appreciate any help on how to get just a simple plot, nothing fancy or additional layout in there with a simple CSV file?
Moreover they do have an API which reckons about sending data in json, HERE but that doesn't work either.
I'd appreciate any help on either of the cases, preferably on the json one, but csv one is also equally appreciable.
Thank You for the amazing tool btw. I stumbled upon one of your answers on SO and here I am :)