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
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