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

Valueerror: #23

Open
Umairnaseem1 opened this issue Sep 18, 2021 · 1 comment
Open

Valueerror: #23

Umairnaseem1 opened this issue Sep 18, 2021 · 1 comment

Comments

@Umairnaseem1
Copy link

Hello sir,

I am creating a bot using your stocktrends library, however i encountered an error in calculations, ca you please help me out, I am using live market data from Binance websocket in form of candles, and converting it into renko. Please help me out! TIA

line 72, in period_close_bricks
bricks = int((close - close_p1) / brick_size)
ValueError: cannot convert float NaN to integer

@ChillarAnand
Copy link
Owner

Thanks, @Umairnaseem1

Can you please share the data for which you are facing this issue?

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

2 participants