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

NinjaTrader Fix Server

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

    NinjaTrader Fix Server

    Original article: https://github.com/FabienCarmagnac/N...ader_FixBridge


    Welcome to the NinjaTrader_FixBridge wiki!
    NinjaTrader

    NinjaTrader7 is a nice proprietary application for trading and developing your own investment strategies in C# 3.5. More than that, it lets you choose your own broker. FIX

    The dedicated protocol for order management and price notification is FIX. This protocol is based on messages of key-value pairs, transmitted on a socket between 2 hosts (exchange, broker, end-user/software). The robustness of the protocol is based on the sequence numbers, incremented for each messages, allowing resending missed message when re-spawning after a crash. The c++ implementation can be found here and its c# implementation here. Sadly this version is not stable enough, so I recommend the use of this version (source code). If you dont want to build yourself the QuickFix.dll, you can directly download it from here. How it works

    After installing the NinjaTrader_FixBridge module, proceed as following:
    1. Connect to a broker " File / Connect / Your favorite broker" (or to the "Market Replay Connection")
    2. In the "Strategies" tab, create a FixConnector strategy (if it does not appear, something went wrong during installation).
    3. Configure the strategy:
      • Symbols box : add the instrument names you want to expose via FIX. Ex: CL ##-##, ES ##-##, $EURUSD
      • BridgeName box : name of this bridge.
      • ConfigFileName box : absolute path to the config file. An example here
      • ActivateTrace : let this to 1 in order to have verbose logs. Set to 0 if your are very confident.
    4. You can set the name of the bridge to identify this instance in the "log" tab
    5. Start the strategy
    6. Verify on the "log" tab the fix server has started.
    Installation

    1. Download QuickFix.dll from here
    2. Download NinjaTrader_FixBridge.dll from here
    3. Copy both dlls into your personnal NinjaTrader folder, ie into %USERPROFILE%\Documents\NinjaTrader 7\bin\Custom
    4. Restart NinjaTrader: it will load the dll on start up.
    Attached Files

    #2
    who can compile? lay out please

    Comment


      #3
      Good to see someone else is working on this same thing. I just started working on this a couple of hours ago. I don't have must to offer yet but will keep you posted.

      Here is someone else last year looking at the same thing :


      btw. the link in point 2 should be http://fcarmagnac.free.fr/public/FIX..._FixBridge.dll

      Hopefully we can get this working


      Comment


        #4
        it would be very super good if you can connect a ninja trader with a neuroshell day trader. I am posting more developments, maybe they can help in this difficult question.
        To use Google Drive, you need to use a supported web browser. Learn what a browser is, which browser you use, and how to update to the latest version. Option

        Comment


          #5
          I'm interested in a quickFIX/n solution for NT8. Please get in touch if I can join any workgroups for this.

          Thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Barry Milan, Yesterday, 10:35 PM
          3 responses
          10 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by WeyldFalcon, 12-10-2020, 06:48 PM
          14 responses
          1,428 views
          0 likes
          Last Post Handclap0241  
          Started by DJ888, 04-16-2024, 06:09 PM
          2 responses
          9 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          41 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Yesterday, 08:51 AM
          2 responses
          16 views
          0 likes
          Last Post bill2023  
          Working...
          X