Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot Function Fails when trying to read from csv #3

Open
strikar21 opened this issue Jul 9, 2020 · 0 comments
Open

Plot Function Fails when trying to read from csv #3

strikar21 opened this issue Jul 9, 2020 · 0 comments

Comments

@strikar21
Copy link

ax = plot_stock_data(data)
plot_stock_data
candlestick_ohlc(ax1, data.to_numpy(), width=8, colorup='#77d879', colordown='#db3f3f')

this seems to give the error below:

TypeError: unsupported operand type(s) for -: 'str' and 'float'

i've modified the code to read from csv instead of fetching data from yahoo.
also modified mpl_finance to mplfinance.originalflavour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant