NexusFi: Find Your Edge


Home Menu

 





All days executions


Discussion in NinjaTrader

Updated
    1. trending_up 1,495 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?
Trump Media to sell instant access to market-moving soci …
Traders Hideout
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Datafeed for Atas
Platforms and Indicators
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Daytrading to swingtrading
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks




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