Trading robot DSL for automated trading programs released
Yes, version 0.0.1 released - only historical mode works. Tomorrow i’ll add online mode (during trading session) and order placement.
This example simple get quotes for GOOG and CSCO tickers and print simple average (period=3):
robot connect do login 'test_opentick', '123123' history :duration => 300, :from => Time.now-10*24*3600, :to => Time.now query GOOG.Q,CSCO.Q do p avg GOOG.Q, 3 p avg CSCO.Q, 3 end # query end # robot
see Download page
December 28th, 2007 at 4:34 pm
AVG download