• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing strategy on playback connection

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • offeraz
    started a topic Testing strategy on playback connection

    Testing strategy on playback connection

    Hi,

    I'm trying to test my real time strategy.
    When I'm running it on live data - it works. It sends orders and enter trades.

    When i'm running it on playback mode - the strategy doesn't send any order.

    What can be a reason for that?


    Thanks,
    Offer

  • NinjaTrader_Jesse
    replied
    Hello offeraz,

    Thank you for the post.

    In this situation, I would suggest speaking with the developer of the script to see about debugging it in playback using the settings you are currently.

    If the SampleMACrossOver is placing trades, this is likely something to do with the strategies logic although this could be the strategy instance. Have you tried removing the strategy from the control center and re adding it after you connected to playback?

    If the developer is unavailable but you have the source code, you could also add prints into the script to do some quick checks to see if the logic is running, although this could be troublesome depending on how complicated the developer made the script. Debugging is not a service our support offers but we can take a look at your script to see if anything sticks out as to why it would not work in playback specifically. In that situation, I would suggest emailing our platform support [at] ninjatrader.com.


    I look forward to being of further assistance.

    Leave a comment:


  • offeraz
    replied
    Allright.

    So i'll wait for someone from NT to answer.

    Thank you

    Leave a comment:


  • sledge
    replied
    Originally posted by offeraz View Post
    I'm using the latest version of NT8, and i do have the source code.

    Can we switch to the Email and than I'll add my developer to the conversation ?
    I'd rather not get involved between you and your developer... I don't work for NT, I just hang out here and help things along or become a PITA at times.

    I suspect they'll [NT] get around to your post during business hours tomorrow.

    But it does sound really odd what you are experiencing...

    Leave a comment:


  • offeraz
    replied
    I'm using the latest version of NT8, and i do have the source code.

    Can we switch to the Email and than I'll add my developer to the conversation ?

    Leave a comment:


  • sledge
    replied
    Yikes, not really... it should work?

    I'm not sure what was coded by someone else for you, but I have had no issues in running replay mode with my strategies.

    Do you have access to the source code or is it protected? Is there some sort of replay check to prevent running in replay?


    You are on NT 8.0.7.1?

    Leave a comment:


  • offeraz
    replied
    I'm using replay data and the charts are working well.

    No error showed in the log.
    I saw in the log "Enabling NinjaScript strategy<strategy name>...".

    The sampleMA Crossover is working in the replay mode.

    I'm not the developer. someone developed it for me.


    Any ideas how to make it work on replay data?

    Leave a comment:


  • sledge
    replied
    Do you have replay data? Are the charts working? Is this market replay or historical data?


    Have you even bothered to try to debug your strategy in replay mode? Is it even enabled or did it disable itself with an error?

    Does the SampleMACrossover strategy even work? If that doesn't work - then your strategy probably has no chance.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by cirzonorkecv, Yesterday, 11:52 PM
0 responses
6 views
0 likes
Last Post cirzonorkecv  
Started by rickyblah12, Yesterday, 01:01 PM
1 response
14 views
0 likes
Last Post Erwin Beckers  
Started by dadarara, Yesterday, 12:18 PM
0 responses
8 views
0 likes
Last Post dadarara  
Started by joemiller, Yesterday, 07:33 AM
2 responses
13 views
0 likes
Last Post joemiller  
Started by TheGameOfProbabilities, 07-18-2019, 06:56 AM
7 responses
38 views
0 likes
Last Post DaveS
by DaveS
 
Working...
X