NexusFi: Find Your Edge


Home Menu

 





All days executions


Discussion in NinjaTrader

Updated
    1. trending_up 1,581 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
alexbbfg
Moscow/Russia
 
Posts: 2 since Sep 2013
Thanks Given: 0
Thanks Received: 0

Hello to all --

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. NT7 support does not support this type of questions but they said me NT7 keeps all trades in Ninjatrader.sdf file. Also I noticed that NT7 has log file of current day. I think that the script gives data from that log file.

Do anybody know how to make script work with all tredes? What are methods which assigned the script to work with all trades?



Thank you in advance.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
No book, only a stair: journaling fills where price move …
Cryptocurrency
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
 




Last Updated on January 18, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts