Opentick history quotes disadvantage

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Yahoo Bloglines Bookmark.it Ask Mister Wong Netvouz

If you request quotes for a single symbol, for example MSFT, it works fine - no troubles.


robot do
  ...
  query MSFT do
     # trading robot body
  end # query
end # robot

But if you request quotes for two or more symbols, then opentick servers process you request step by step, i.e. you’ll receive all history quotes for the first requested symbol, then for the next and etc.


robot do
  ...
  query MSFT, GOOG, CSCO do
      # trading robot body
  end # query
end # robot

In the last case you’ll need to wait until all requested historical quotes for all symbols will be received, and only after that, trading robot body will be executed.
How can we solve this problem? The simplest way is to create query command which will request quotes in a little at a time. For example, you request history for a year, but our command requests history day by day and execute trading robot body for received day.

P.S. added to project development TODO list.

One Response to “Opentick history quotes disadvantage”

  1. MSFT News Aggregator » Opentick history quotes disadvantage Says:

    […] Original post here […]

Leave a Reply