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

Information about multiple orders.

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

    Information about multiple orders.

    What is the best was to access information ablout multiple fills.

    IE Say I have 3 orders filled and I need to access the Average fill price of each order individually how would I do this?

    #2
    Originally posted by GKonheiser View Post
    What is the best was to access information ablout multiple fills.

    IE Say I have 3 orders filled and I need to access the Average fill price of each order individually how would I do this?
    You would assign to IOrders and look at the IOrder.AvgFillPrice for each order.

    Comment


      #3
      Is that the same as the signalName used in SubmitOrder method? if not when would I set this?

      Comment


        #4
        Hello,

        He is referring to tracking the IOrder objects in the script so you can later access their information.

        This is not the same as the SignalName, the IOrder is the return object from the SubmitOrder method.

        If you take a look at the documentation for SubmitOrder there is a example that shows how the IOrder object is used with your SubmitOrder.



        Also there is good information on the IOrder object its self here:



        Using the example from the first link, you could use any of the IOrder specific properties anywhere the variable is accessible.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Radano, 06-10-2021, 01:40 AM
        19 responses
        605 views
        0 likes
        Last Post Radano
        by Radano
         
        Started by KenneGaray, Today, 03:48 AM
        0 responses
        4 views
        0 likes
        Last Post KenneGaray  
        Started by thanajo, 05-04-2021, 02:11 AM
        4 responses
        470 views
        0 likes
        Last Post tradingnasdaqprueba  
        Started by aa731, Today, 02:54 AM
        0 responses
        5 views
        0 likes
        Last Post aa731
        by aa731
         
        Started by Christopher_R, Today, 12:29 AM
        0 responses
        11 views
        0 likes
        Last Post Christopher_R  
        Working...
        X