Sha256: e4387dd33898b73d2c3dd9de7b1bb693fa75b1115e1f57f1ee75df105c4a6c29
Contents?: true
Size: 645 Bytes
Versions: 5
Compression:
Stored size: 645 Bytes
Contents
class AddBars < ActiveRecord::Migration def change # This is a single data point delivered by HistoricData or RealTimeBar messages. create_table(:bars) do |t| t.float :open # double: t.float :high # double: t.float :low # double: t.float :close # double: t.float :wap # double: t.integer :volume # t.integer :trades # Number of trades during the time period the bar covers t.boolean :has_gaps, :limit => 1 # Whether or not there are gaps in the data t.string :time, :limit => 18 # String! The order execution time t.timestamps end end end
Version data entries
5 entries across 5 versions & 1 rubygems