Closed oliverpolden closed 1 year ago
IG returns data with "None" e.g. limitLevel: None.
I've found that fetch_open_positions() now returns nan when a limitLevel comes in as None.
I've seen: na_action='ignore'. Changing that to na_action=None doesn't appear to fix it.
na_action='ignore'
na_action=None
Strangely, other fields, trailingStep for example, do end up as None.
https://trading-ig.readthedocs.io/en/latest/faq.html#what-if-i-have-a-problem
IG returns data with "None" e.g. limitLevel: None.
I've found that fetch_open_positions() now returns nan when a limitLevel comes in as None.
I've seen:
na_action='ignore'
. Changing that tona_action=None
doesn't appear to fix it.Strangely, other fields, trailingStep for example, do end up as None.