Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Realized PnL with ATM in Script

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

    #31
    Hello delek77,

    Please see the forum section, " Reference Samples "http://www.ninjatrader.com/support/forum/forumdisplay.php?f=30 that provide sample coding for a variety of conditions.

    In your particular case I think "Halting a strategy once user defined conditions are met" is what would be helpful here: http://www.ninjatrader.com/support/f...ead.php?t=4804
    Paul H.NinjaTrader Customer Service

    Comment


      #32
      Is possible to try this in Sim101 first? Im trying Sim101 Strategy: Getting PnL from an ATM strategy and orders dont autoexcute...



      In the strategy where it says

      [Description("Enter the description of your strategy here")]
      public class SampleHaltBasicStrategy : Strategy

      should i modify the red letters with something... my strategy name?
      Last edited by delek77; 06-15-2015, 02:08 PM.

      Comment


        #33
        Hello delek77,

        Yes, you can and should test in sim101 first.

        Regarding, "Im trying Sim101 Strategy: Getting PnL from an ATM strategy and orders dont autoexcute..." You need to have an ATM with the name "AtmStrategyTemplate" already in place. Please see the comments/notes in the code of the strategy.
        Paul H.NinjaTrader Customer Service

        Comment


          #34
          Originally posted by delek77;415314...
          In the strategy where it says

          [Description("Enter the description of your strategy here")
          public class SampleHaltBasicStrategy : Strategy

          should i modify the red letters with something... my strategy name?
          Hello delek77,

          I'm not entirely certain I understand as there are no red letters showing. When you edit the strategy code, in the editor, the only text that would show red would be: [Description("Enter the description of your strategy here")] If that is your question then what is entered here is a short description of what your strategy does and is entirely optional.
          Paul H.NinjaTrader Customer Service

          Comment


            #35
            Today i tried again injSim101 , with a very tight profit target to execute the Halt strategy but didnt work...
            Can i send u a screenshot?

            When the strategy is calculating profits and losses=PNL does include comissions?

            Comment


              #36
              Hello delek77,

              Yes, please feel free to email Platformsupport[at]ninjatrader[dot]com and put atten: Paul and http://www.ninjatrader.com/support/f...ad.php?t=13688 in the subject line.
              I look forward to hearing from you.
              Paul H.NinjaTrader Customer Service

              Comment


                #37
                Paul,

                I sent the email 1 min ago.

                When the strategy is calculating profits and losses=PNL does include comissions?

                Comment


                  #38
                  Paul,
                  Its possible to trade nyse stocks in N7?

                  Comment


                    #39
                    Hello delek77,

                    Thanks for your post. The short answer is yes, the long answer is yes if you have a supporting datafeed that supplies it and a broker that is connected to it.
                    Paul H.NinjaTrader Customer Service

                    Comment


                      #40
                      so far im using topsteptrader , via rithmic... are these one's compatible?

                      Comment


                        #41
                        Hello delek77,

                        The Rithmic connection only supports Futures data. Please see the helpguide link to data providers here: http://ninjatrader.com/support/helpG...rical_data.htm specifically the section: Understanding the data provided by your connectivity provider
                        Paul H.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by lightsun47, Today, 03:51 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post lightsun47  
                        Started by 00nevest, Today, 02:27 PM
                        1 response
                        8 views
                        0 likes
                        Last Post 00nevest  
                        Started by futtrader, 04-21-2024, 01:50 AM
                        4 responses
                        44 views
                        0 likes
                        Last Post futtrader  
                        Started by Option Whisperer, Today, 09:55 AM
                        1 response
                        13 views
                        0 likes
                        Last Post bltdavid  
                        Started by port119, Today, 02:43 PM
                        0 responses
                        9 views
                        0 likes
                        Last Post port119
                        by port119
                         
                        Working...
                        X