Opentick history mode (for OHLC) added
Opentick history mode now supported (OHLC mode, not raw ticks)
Plugin loaded by plugin command:
plugin DSL::OpentickHistoryPlugin
configurated by history command:
history :host => 'feed1.opentick.com', :port => 10010, :user => 'opentick account login',:password => 'opentick account password', :from => Time.now - 24*3600, :to => Time.now, :duration => 300
Parameters description:
host, port, user, password - opentick servers connection parameters
from..to - time period for history quote requesting
duration - bar size in seconds
P.S. Later i’ll improve history command to be more user friendly, it will like this:
history do host 'feed1.opentick.com' port 10010 user 'opentick account login' password 'opentick account password' from yesterday to now duration 5 min end
will see ![]()