Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja Automatic Trading on small tick periods

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

    Ninja Automatic Trading on small tick periods

    Hello everybody!

    Have you ever found any platform malfunctions in autotrading mode, while trading small tick datas? I am refering in particular for 24h trading startegies.

    Please share your experience!

    Thank you in advance!

    #2
    Hello Gargoyle,

    Thank you for your post.

    Are you experiencing such a case?

    Comment


      #3
      No, I am evaluating NinjaTrader for automatic Trading.

      So I am looking for customer's bad experiences with the platform.. I hope to not find any similar cases.

      Comment


        #4
        Automated trading on tick data

        Hi,

        I'm experiencing enormous memory usage when ninjatrader runs on a base period of 1 tick. Memory use will keep increasing and it's only a matter of time before the system runs out of memory. The faster the tick data comes in, the faster memory is used.

        To recreate issue

        Connect to fxcm demo account
        Run a strategy that only does a single thing on base period of 1 tick

        protected override void OnBarUpdate()
        {
        myInput0 = CurrentBar;
        }

        Please share some insight on whether Ninjatrader actually frees up memory for its primary bar series at all.

        Comment


          #5
          To see the effects fast, run the strategy on 20 currency pairs or a faster tick data source and it will be super obvious.

          Comment


            #6
            Not sure if this has an effect, but I have
            save chart data as historical enabled

            Comment


              #7
              Hope this is helpful
              When I run PerfView, it indicates that the objects that keep increasing are

              1) ArrayList
              2) NinjaTrader.Data.Chunk

              Comment


                #8
                Hello androiduser14916,

                Thank you for your post.

                The option 'Save Chart Data as Historical' will have an effect on a memory. Using several instruments with tick data at once can show an increase in memory usage. If you are using FXCM, may I ask why you are enabling the option to save the chart as historical? FXCM provides options to download data from FXCM or NinjaTrader, this data would automatically be saved.

                Comment


                  #9
                  Hi,

                  even with option 'Save Chart Data as Historical', memory use still keeps going up. I suspect it is something else.

                  Comment


                    #10
                    Hello androiduser14916,

                    Thank you for your response.

                    Please shut down NinjaTrader > then go to the following directory on your PC: (My) Documents\NinjaTrader 7\workspaces > then delete the '_Workspaces' file that is a .XML file type (this will not delete your workspaces) > then restart NinjaTrader and runt he strategy without any other windows open in NinjaTrader. Do you still see the same performance issue?

                    Comment


                      #11
                      Doesn't help even after deleting the file. Memory still keeps increasing.

                      Comment


                        #12
                        Hello androiduser14916,

                        Thank you for your response.

                        Are any other windows or workspaces open in NinjaTrader?

                        Comment


                          #13
                          No other windows. The workspace is the default one that is loaded on start.

                          Comment


                            #14
                            Originally posted by androiduser14916 View Post
                            No other windows. The workspace is the default one that is loaded on start.
                            You claim serious memory issues, but you don't say how much?

                            Please quantify with actuals...

                            Are you talking 300 mb? 500mb? 1gb? 5gb?

                            What are your machine specs?

                            Are you swapping so much memory that it is crashing? *there is a post here that does that, but there are actual trades involved..

                            Comment


                              #15
                              4 strategies running on 7 instruments each.
                              40MB gained a day. Even with a 8 GB machine, it is only a matter of time before having to restart Ninjatrader.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Barry Milan, Today, 10:35 PM
                              1 response
                              6 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by WeyldFalcon, 12-10-2020, 06:48 PM
                              14 responses
                              1,427 views
                              0 likes
                              Last Post Handclap0241  
                              Started by DJ888, Yesterday, 06:09 PM
                              2 responses
                              9 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by jeronymite, 04-12-2024, 04:26 PM
                              3 responses
                              40 views
                              0 likes
                              Last Post jeronymite  
                              Started by bill2023, Today, 08:51 AM
                              2 responses
                              16 views
                              0 likes
                              Last Post bill2023  
                              Working...
                              X