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

Web References

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

    Web References

    Hi,

    does anyone have experience with using Web References in Ninja Trader? I need to connect to a running service - which runs on the same computer where Ninja does - via proxy. This all is rather straightforward in Visual C# but i can't figure out if and how this is possible in NT.

    Thanks,

    Tomas

    #2
    Tomas,

    Generally it would be done in the same fashion. Unfortunately this is outside the scope of what we can offer support for though. You can try searching the forums. If memory serves there were a few threads about this before.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,

      it works well now and it was (after a couple of dead ends) rather straightforward. I used wsdl.exe to connect to my proxy and to create a corresponding .cs class. Then i have copied this class to Documents\NinjaTrader 6.5\bin\Custom\Type (so that i do not mix it with Indicators and Strategies) and recompiled an indicator. After that i can easily access class and consequently proxy services from within an indicator or a strategy straightaway .

      Cheers,

      Tomas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by RideMe, 04-07-2024, 04:54 PM
      5 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by f.saeidi, Today, 08:13 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by DavidHP, Today, 07:56 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by kujista, Today, 06:23 AM
      3 responses
      10 views
      0 likes
      Last Post kujista
      by kujista
       
      Started by Mindset, Yesterday, 02:04 AM
      2 responses
      18 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Working...
      X