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

order fields

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

    order fields

    Hello, i wanted to check if the Name field in the order object can be used to store some custom informational detail ie a string - so this can be used when reviewing the orders tab in the control panel. OR is this used by the broker and will overwrite anything written there - if this field is not available which field can be used to store a custom string
    thanks

    #2
    Hello explorer101,

    Thank you for your note.

    The name field is just a string representing the name of an order which can be provided by the entry or exit signal name. If you are placing an order from a NinjaScript strategy, you can put whatever string you like in this field for signal name.

    Here's a link to our help guide on the Order object:


    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      I am using the Addon Account->CreateOrder which is then submitted via Submit() i see the Name field here is max 50 characters and is NOT using StartAtmStrategy()
      so this would also be fine ? is this the only field i can really use to put in a custom string?
      thanks

      Comment


        #4
        Hello explorer101,

        Thank you for your reply.

        Yes, that would be the only option to put your custom string. It's the same as the Name when using an order object from a strategy.

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by gemify, 11-11-2022, 11:52 AM
        6 responses
        803 views
        2 likes
        Last Post ultls
        by ultls
         
        Started by ScottWalsh, Today, 04:52 PM
        0 responses
        3 views
        0 likes
        Last Post ScottWalsh  
        Started by ScottWalsh, Today, 04:29 PM
        0 responses
        7 views
        0 likes
        Last Post ScottWalsh  
        Started by rtwave, 04-12-2024, 09:30 AM
        2 responses
        22 views
        0 likes
        Last Post rtwave
        by rtwave
         
        Started by tsantospinto, 04-12-2024, 07:04 PM
        5 responses
        70 views
        0 likes
        Last Post tsantospinto  
        Working...
        X