Categories: None [Edit]
tradingrobotdsl
This is an alpha test quality release. I specifically DO NOT recommend that it be used for live trading under any circumstances. It has not been tested. I am releasing it in the hopes that the many eyes of the community will help with enhancing it, so that we all will have a robust and reliable library to use. == FEATURES/PROBLEMS: * get quotes from opentick servers * simple average indicator realized :) * order placement (buy/sell) doesn't work == SYNOPSIS: robot do login 'test_opentick', '123123' history :duration => 300, :from => Time.now-10*24*3600, :to => Time.now query MSFT do if (avg MSFT, 9)/(avg MSFT, 25) - 1 > 0.5 puts "buy MSFT" end if (avg MSFT, 9)/(avg MSFT, 25) - 1 < - 0.5 puts "sell MSFT" end end # query end # robot
Total
Ranking: 94,956 of 183,509
Downloads: 7,946
Daily
Ranking: 101,206 of 183,501
Downloads: 3
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
2,106 | 8,608,256 | hoe |
Owners
# | Gravatar | Handle |
---|---|---|
1 | timur |