Closed clcarver1130 closed 5 years ago
"unrealized_intraday_plpc" in api.list_positions() eturns zero for all currently held positons
Call to api.list_positions() returns:
Position({ 'asset_class': 'us_equity', 'asset_id': '3d9e6406-e27a-4c27-a898-ab1670 'avg_entry_price': '36.02', 'change_today': '0.0108665366397325', 'cost_basis': '792.44', 'current_price': '36.28', 'exchange': 'NYSE', 'lastday_price': '35.89', 'market_value': '798.16', 'qty': '22', 'side': 'long', 'symbol': 'MAS', 'unrealized_intraday_pl': '5.72', **'unrealized_intraday_plpc': '0',** 'unrealized_pl': '5.72', 'unrealized_plpc': '0.0072182121043865'}), Position({ 'asset_class': 'us_equity', 'asset_id': '4cdbdf28-5c76-463f-bce0-23bcb2 'avg_entry_price': '153.82', 'change_today': '-0.0079077002851957', 'cost_basis': '769.1', 'current_price': '153.06', 'exchange': 'NYSE', 'lastday_price': '154.28', 'market_value': '765.3', 'qty': '5', 'side': 'long', 'symbol': 'EL', 'unrealized_intraday_pl': '-3.8', **'unrealized_intraday_plpc': '0',** 'unrealized_pl': '-3.8', 'unrealized_plpc': '-0.0049408399427903'}), Position({ 'asset_class': 'us_equity', 'asset_id': '6b447474-ec1e-4de4-a520-4ecd98 'avg_entry_price': '105', 'change_today': '0.0501075929910852', 'cost_basis': '735', 'current_price': '102.48', 'exchange': 'NASDAQ', 'lastday_price': '97.59', 'market_value': '717.36', 'qty': '7', 'side': 'long', 'symbol': 'EA', 'unrealized_intraday_pl': '-17.64', **'unrealized_intraday_plpc': '0',** 'unrealized_pl': '-17.64', 'unrealized_plpc': '-0.024'})]
At the time I made this API call I had only held these stocks for one day so they should match the unrealized_plpc three keys down.
This should have been resolved a week ago or two. Thanks for the report!
"unrealized_intraday_plpc" in api.list_positions() eturns zero for all currently held positons
Call to api.list_positions() returns: