RubyGems Navigation menu

tradingrobotdsl 0.0.2

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

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.2 - November 23, 2007* (9.5 KB)
  2. 0.0.1 - November 18, 2007* (8.0 KB)

Runtime 依赖 (1):

hoe >= 1.3.0

业主:

作者:

  • Timur Adigamov

SHA 256 校验和:

b9d56d0aa33277ffad2c6e401576b7e09529b3ebdecde8351f38a03fee3f15e1

下载总量 7,742

这个版本 4,445

许可:

需要的 Ruby 版本: > 0.0.0

链接: