Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies with eSignal

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

    Strategies with eSignal

    Hi

    I am trying to run strategies in eSignal datafeed. For testing at this stage. I know that I need to be connected to IB to submit orders but I would like to at least get an email from my NT strategy when an entry/exit condition even if tws is disconnected. My strategies seem to work when I am connected to TWS but not when I am connected to eSignal. Thank you.

    Chris

    #2
    Hello Cmfaulkner,

    Welcome to the NinjaTrader forums!

    This requires custom programming with NinjaScript. You can monitor for connection changes with the OnConnectionStatus() method. Sending mail is done with the SendMail() command.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi Ryan,

      Thank you for your reply. I have a couple follow-up questions. Is there a way to run strategy with the esignal connection only? For testing a strategy in r/t like an atm?

      Chris

      Comment


        #4
        Yes, the strategy can be run using any connection. The only important thing is that there is data available.

        If you're wondering if you can run the strategy in real-time only, this is done by adding if (Historical) return; to the strategies OnBarUpdate() method.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by chbruno, Today, 04:10 PM
        0 responses
        1 view
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        6 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frslvr, 04-11-2024, 07:26 AM
        9 responses
        127 views
        1 like
        Last Post caryc123  
        Working...
        X