• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecution Doubt

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

  • NinjaTrader_Bertrand
    replied
    Hi Rodrigo, per se an execution would be just an execution / fill, it would not be tied to any specific time and could occur for all of course. You can still get the info desired, for example via the FromEntrySignal or Name (same as the one directly from the execution) string that would allow you checking into which signal names generated the order.

    http://www.ninjatrader.com/support/h...nt7/iorder.htm

    Leave a comment:


  • rgaleote
    replied
    One more question under this same topic, as a parameter this method receives iexecution, mu question goes, what is the object/property I can use to know if the order is an Entry or an Exit order type? I tried order type, but it's no it. I also tried different properties on the execution.order object, but couldn't find one.

    Thanks

    Rodrigo

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Hi Rodrigo, I don't see a downside to doing so except perhaps if you're processing a lot of orders, so it resources would be better used more focusedly on the execution aspects.

    Leave a comment:


  • rgaleote
    started a topic OnExecution Doubt

    OnExecution Doubt

    Hello everyone,

    I want to use the OnExecution override in my script just to send me an email every time an order is executed (eg. stop loss order that might get executed anytime of the day), my question might seem dumb but I wanna make sure it won't affect my strategy, here it goes: if I override this method in my script and put just a sendmail command in it, will that affect in any negative way my script?

    Eg.
    protected override void OnExecution(IExecution execution)


    Thanks,

    Rodrigo

Latest Posts

Collapse

Topics Statistics Last Post
Started by ntdev, Today, 07:31 AM
1 response
6 views
0 likes
Last Post NinjaTrader_Kate  
Started by Kabua, Today, 07:19 AM
1 response
4 views
0 likes
Last Post NinjaTrader_Jim  
Started by brianshih, Today, 02:40 AM
1 response
8 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by ubreun, Yesterday, 10:27 PM
1 response
39 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by 7robert, Yesterday, 06:19 PM
1 response
18 views
0 likes
Last Post NinjaTrader_Marco  
Working...
X