I really don't know how please help #334
-
I really don't know how please help I get an error when a new candle is created. When you add a function and hover your mouse over the new candle, fplt.add_crosshair_info(self.update_crosshair_text, ax=self.ax) I get an error. Crosshair error: <class 'IndexError'> single positional indexer is out-of-bounds Do you have any solution?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Has to do with this: |
Beta Was this translation helpful? Give feedback.
Has to do with this:
self.df.iloc[x].Close
.x
is out of range.print(len(self.df), x)
and you'll see thatx >=len(self.df))
, which is bad. Next time, try printing yourself first without asking someone else to look at your bugs.