tradier API

Discussion in 'App Development' started by Keith Leesus, May 29, 2014.

  1. thanks, that makes it a lot clearer. It would be very helpful to include all this information on your website because I at least find the information on the website greatly lacking in this regards. How to code against the API is explained but the big picture is entirely missing.

     
    #21     Jun 22, 2014
  2. JCBarry

    JCBarry ET Sponsor

    This is good feedback. We're actively re-working some parts of our web sites and we'll make sure to clarify some of the details above.
    Thanks!

     
    #22     Jun 23, 2014
  3. Thanks for the answers. What kind of latency does the streaming data feed deliver?
     
    #23     Jun 23, 2014
  4. JCBarry

    JCBarry ET Sponsor

    That's a lot trickier to measure, because so much depends on where you're connecting from, quality of your ISP and lines, etc. That being said, I'll see if there is something I can dig up.
     
    #24     Jun 23, 2014
  5. Thanks. Are your data servers in NY4?
     
    #25     Jun 23, 2014
  6. why does THIS friggin matter? You are submitting orders through a REST Api, it really does not matter whether their servers are located in NYC, Omaha Nebraska or Tokyo, Japan.

     
    #26     Jun 23, 2014
  7. JCBarry

    JCBarry ET Sponsor

    We worked closely with Amazon to host as much as possible using high availability/performance instances in the cloud. That being said, as executions go, we still needed to establish direct connectivity to market makers. We accomplished that with the help of folks at AWS and the major data centers in the NY/NJ area (including NY4).

    For market data, we consume a consolidated feed from our data provider who houses their plants in Amazon as well. We tried to measure a bit for you. Comparing NTP and our streaming data, we were able to compare local time and the timestamps of bid/ask prices as marked by the market centers.

    Here is the script and results: http://pastie.org/9319852
    We ran this from a laptop connected through wifi in Charlotte, NC.

    Note: We're aware this code can be significantly optimized (Ruby?), but we wanted to put something quick together to get some sample data.
     
    #27     Jun 24, 2014
  8. Ha, dude I love how angry you are 100% of the time. For some reason it makes me happy. Thanks.
     
    #28     Jun 24, 2014

  9. Thanks for doing that, appreciate it. I'm assuming your provider is NxCore. Are they providing timestamps to the ms yet? If so, any chance you could rerun the script with ms granularity?
     
    #29     Jun 24, 2014
  10. JCBarry

    JCBarry ET Sponsor

    Hey jtrader33,
    I was mistaken earlier regarding the timestamps -- the precision of the stamp goes to milliseconds but the actual stamp only goes to decisecond (1/10th of a second). You can check it out here: http://pastie.org/9320294 (Same deal as before: wifi, Charlotte, etc.)

    Hope this helps.
    Thanks!
     
    #30     Jun 24, 2014