I used tye following code to get execution details
foreach (Account acct in Cbi.Globals.Accounts)
{
if (acct.Executions != null)
{
ExecutionCollection execution = acct.Executions;
foreach (Execution eX in execution)
{
Print("Account " + eX.Account + "Instrument " + eX.Instrument + "Time " + eX.Time + "Price " + eX.Price + "Quantity " + eX.Quantity + "mp " + eX.MarketPosition);
}
}
}
but it gives only the current day trades and does not previous day trades. The other thing is that if I close the terminal and open it again the code gives me the trades. It means that NT7 keeps trades somwere but the script has default settings to work with only the current day trades.
What is the settings how to change them.
Thank you in advance.
Comment