Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Testing strategy on playback connection

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

  • 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:


  • 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

Latest Posts

Collapse

Topics Statistics Last Post
Started by bortz, 11-06-2023, 08:04 AM
47 responses
1,603 views
0 likes
Last Post aligator  
Started by jaybedreamin, Today, 05:56 PM
0 responses
8 views
0 likes
Last Post jaybedreamin  
Started by DJ888, 04-16-2024, 06:09 PM
6 responses
18 views
0 likes
Last Post DJ888
by DJ888
 
Started by Jon17, Today, 04:33 PM
0 responses
4 views
0 likes
Last Post Jon17
by Jon17
 
Started by Javierw.ok, Today, 04:12 PM
0 responses
12 views
0 likes
Last Post Javierw.ok  
Working...
X