Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:06:22 +0000



Post From: Error with Sim Lock & Orders being executed

[2024-07-21 15:22:21]
User431178 - Posts: 503
Does this function return unrealized P&L?

Don't take this the wrong way, but why don't your read the information for that function?
The answer is written there plain as day.

sc.GetTotalNetProfitLossForAllSymbols()

im using this piece of code to Flatten a position but when I test it, nothing happens.
You mean none of the conditional lines are exceuted or just that sc.FlattenPosition does appear not work for you?

Are there any messages in the trade service log?