ANVIL API (Assent) Developer Thread

Discussion in 'Trading Software' started by ctarmor-et, Dec 10, 2007.

  1. tfjield

    tfjield

    It sounds to me like this has something to do with your project settings -- it's not an API specific problem.

    Off the top of my head, I couldn't tell you what is wrong. If you wanted to zip up your entire project and send it to me, I might be able to help. You can PM me if you want.
     
    #61     Mar 6, 2008
  2. tfjield

    tfjield

    Did you ever track this down to a root cause? I'm having issues occasionally where Anvil doesn't recognize that it's lost connectivity with the server (usually the Market Summary server.) I just stop receiving data.

    If I go into the settings, Accounts tab, and change the Summary Server, I can get it to reconnect (I'll see the "connection lost" message and the "connected" message in the Anvil window...

    But I'm not sure what I can do if the API doesn't realize it's lost connectivity...

    I'm wondering if this problem is related.
     
    #62     Mar 6, 2008
  3. No, the problem still persits. Tech support says that the ANVIL log shows no disconnection so they do not know why my verison is getting that disconnect message.

    Your diagnose is the same that I am getting. Werind diconnection issues and the API stops receveing data suring the time the acct disconnects. I did try the summary server change, but still get the same issue.
     
    #63     Mar 6, 2008

  4. It sounds the example code you have does not match the API version you have. This can cause unpredictable issues.
     
    #64     Mar 6, 2008
  5. riskaverse305

    riskaverse305 Guest

    yeah, i was using one ver back, we'll see if that fixes it
     
    #65     Mar 7, 2008
  6. Has anyone work with the API to access the historical bars stored in ANVIL ? They have multiple APIs but I am unclear how to use them.

    Some of the APIs from StockBase are:
    ---> bool LoadHistoryChart(unsigned int from, unsigned int to, unsigned int unit)
    ---> const void* GetHistoryChart(unsigned int day)
    ---> const ChartPoint* WINAPI B_GetHistoryChartPoint(const void* chart, unsigned int minute);


    It would be great to post some sample code on how to:

    - Create historical chart (1min, 5min, etc)
    - Retrieve current and past bars ChartPoint
    - Create multiple time frames

    Anyone ?
     
    #66     Mar 10, 2008
  7. Hi,

    Does anyone know what is the maximum number of orders / second sent for the ANIL API?

    Thanks
     
    #67     Mar 23, 2008
  8. I do not have real numbers but it is pretty fast considering the ordesr are placed the GUI thread...it al;so depends the latency on your conenction to the asent servers. ...

    I have seen orders placed in about 100s from the moment I place it ...
     
    #68     Mar 23, 2008
  9. they up to said 15,000 messages / sec. I highly doubt that
     
    #69     Mar 24, 2008
  10. Do you mean 15,000 orders per second ? I doubt you can get that many orders through the Anvil API per second.
     
    #70     Mar 24, 2008