Do you guys have any idea when this will be added to functionality – (It mentions ‘soon’ in documentation). I was also considering adding my own, but can’t find any variables about PNL in the list_positions() or anything like that? I do see a unrealized_pl, but don’t understand these endpoint things – how can I pull unrealized_pl from Python --> is it just:
portfolio = api.list_positions()
for pos in portfolio:
pct_pnl = pos.unrealized_plpc
usd_pnl = pos.unrealized_pl
?