which api should I choose? restful api or fix?

Discussion in 'Automated Trading' started by trend2009, Aug 1, 2019.

  1. I use ib_insync
     
    #11     Aug 1, 2019
  2. Robert Morse

    Robert Morse Sponsor

    The boy band?
     
    #12     Aug 1, 2019
  3. It's a decent Python API!
     
    #13     Aug 1, 2019
  4. MattZ

    MattZ Sponsor

    We can provide you with 2 types of API so you can test it.
    You can have FIX API from CTS-T4 and C++ and C# from Rithmic.
    Rithmic also uses R Protocol that could work with python.
    This is for Futures. Please PM if you need a trial.
     
    #14     Aug 1, 2019
  5. WebSockets are magnitudes slower than native sockets (I think 100x last I checked). Why not have a proper socket interface?
     
    #15     Aug 1, 2019
  6. any idea how slow is FIX compared with native socket?
     
    Last edited: Aug 2, 2019
    #16     Aug 2, 2019
  7. Not accurate, clients don't need any fix server. Brokers offer servers. Clients need to get certified by exchanging fix messages with the broker but no server is needed on the client side.

     
    #17     Aug 6, 2019
  8. Having used FIX for a while I can attest to the fact that brokers use completely different fix messages despite some brokers claiming to use the same version. There is a lot of work involved to get Fix messaging right with each individual broker. Adding a new broker and setting up FIX is most often not a trivial task.

     
    #18     Aug 6, 2019
    trend2009 likes this.
  9. Purely latency wide Fix is slower than a very high performance C++ Api. That is why most hft houses use the direct C++ APIs offered by exchanges and don't use FIX. But Fix is still easier (not trivial) to implement than having to target the entirely unique non fix api each broker offers.

     
    #19     Aug 6, 2019
  10. thank you
     
    #20     Aug 6, 2019