Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I have purchased historical tick data to run in NT for some risk strategy building. I know that in MT4 one can back test on on tick data to get 99% for intra bar accuracy; can the same be said of NT when utilizing back testing on tick data?
Can you help answer these questions from other members on NexusFi?
As of today (NT v7) strategies can not be backtested intra-bar. Backtesting historical data can only be performed on the close of the bar. Backtesting historical data defaults to a "fixed" CalculateOnBarClose = true. OnMarketData or OnMarketDepth can not be used on historical data.
You can only use Market Replay to "backtest" against intra-bar, OnMarketData, or OnMarketDepth.
Also there are "intra-bar granularity" issues when backtesting multi-timeframe strategies.
Would there be reasons why a strategy needs to be separated into two so that buy side and sell side have to be back tested separately?
What are some best practices so that there is no conflicts I guess ... Thanks
"Successful trading is one long journey, not a destination" Peter Borish Former Head of Research for Paul Tudor Jones speaking on conversations with John F. Carter
Unexpected behavior of OnOrderUpdate() calls with Intrabar data
Although I am using Intrabar data (1Min), the OnOrderUpdate() was always called on the main time frame (60Min)
Here are the specifics:
Instrument: ES ##-##
Main Time Frame = 60 Min
Secondary Time Frame = 1 Min
Bar in question was on 11/16/2012 at 11:30 AM
The Buy order was filled at 1350.75 at time 11:30AM
The Profit target was filled at 1354.75 at time 11:30AM
Looking at the 1Min Chart, I see that the 1354.75 level was not touched until 12:16PM
So, it looks like the OnOrderUpdate() is called only on the 60Min time frame. I expect
OnOrderUpdate() to be called around time 12:16PM based on the 1Min data.
I printed 'Time[0]' at the beginning of OnOrderUpdate(). Here are the fills of the Buy and the Profit Target:
OnOrderUpdate Time: 11/16/2012 11:30:00 AM
IOrder Order='NT-00081/Sim101' Name='Buy' State=Filled Instrument='ES ##-##' Action=Buy Limit price=0 Stop price=0 Quantity=1 Strategy='RKMTest' Type=Market Tif=Gtc Oco='' Filled=1 Fill price\
=1350.75 Token='27ebb46b1e1f48589cfab756b19f1d66' Gtd='12/1/2099 12:00:00 AM'