Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pretty impressed

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

    Pretty impressed

    Hi there,

    I have been evaluating NinjaTrader for the last 5 weeks - in this relatively short lapse of time, I managed to become familiar with NinjaScript and port 2 of my existing systems - both of them at this point do backtest pretty much to identical financial performance as they do on my existing platform (1st one uses 1min timeframe, and gets the job done in about 300 lines ; 2nd one uses 2 timeframes, Volume-100 & Second-1, and is about 5,000 lines of code).

    One of my main motivations in evaluating NinjaTrader was R&D efficiency ... both ease & speed of coding, as well as speed of backtesting. I am not disappointed on either front, and actually pretty impressed by the speed of backtesting. I backtest my 2nd strategy on 2 1/2 years of tick data (CL), primary timeframe has about 1.6M bars in that timespan, 2nd timeframe about 21M bars. The dual-timeframe backtesting takes about 7min (Q6600 @ 3GHz, 4Gb RAM, no paging file), which is very good compared to what I am coming from (about 30min for 1 timeframe, and 1 week (!) for tick-by-tick replay of the 2 1/2 years of market data). Early evaluation of MarketReplay would indicate about 1 day for a complete replay of the 2 1/2 years, however I do not have the corresponding MarketReplay data (I would be just happy to replay tick-by-tick the historical database, if that was possible !).

    I found a few issues along the way, which I reported to the Support forum, and I have a few suggestions - but I will keep these for another post.

    At this point, I am starting to evaluate the real-time behavior of those 2 strategies, using MarketReplay. I have 2 others steps planned before making a commitment to NinjaTrader, but I am hopeful these will also be "pass".

    For the fun I attached the backtesting summary for those 2 strategies ...

    Cheers
    Dominique
    Attached Files

    #2
    Originally posted by dom993 View Post
    and is about 5,000 lines of code).


    Cheers
    Dominique

    Comment


      #3
      Thanks for the kind feedback Dominique and sharing your CL results with our forums. Good luck on the next set of steps needed to 'go live' with those.
      BertrandNinjaTrader Customer Service

      Comment


        #4
        Originally posted by sledge View Post
        Actually, I managed to get this done in a fairly modular fashion ... I have one indicator that figures out swings high/low (about 1100 lines, including comments & ninja generated stuff), one indicator that uses those swings high/low to identify trend & signals a particular reversal pattern (about 2300 lines, again including comments & ninja generated stuff), a trade-manager component that I reuse across strategies (about 900 lines), and the strategy itself which job is to filter setups (as signaled by the indicator), define targets & initial stop, and do the trade-management once in the trade (about 1300 lines).

        Each of these components is already or can be reused for other systems. I certainly like the flexibility & re-usability that C# & the NinjaScript framework offer.

        (of course, I have those 2 strategies already developed, validated & running live on another platform, so "all" I had to do was to port them to Ninja)

        Comment


          #5
          When I read 5000 lines I think my face actually did look like that emoticon ... wow.

          The modularity aspect is where I would like to get with my own initial attempts at coding, as I am just starting out learning C#. My goal is a fully automated trading system wherein different NT elements share outputs (e.g., an optimzer output is fed to MA to select stocks based on historical performance, which in turn are put into an instrument list and used to trade off of a separately optimized trading strategy).

          Glad to see that there are some very complex systems working well for others.

          Kevin

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by The_Sec, 04-16-2024, 02:29 PM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_ChristopherS  
          Started by hurleydood, 09-12-2019, 10:45 AM
          15 responses
          1,097 views
          0 likes
          Last Post Leeroy_Jenkins  
          Started by danieldunn2024, Today, 03:06 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by cre8able, Yesterday, 04:16 PM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cre8able, Yesterday, 04:22 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X