Sha256: 15592f1baeebb1a9751b8ac0f16a1b780acaf0ef5863040841c499afe9383a22
Contents?: true
Size: 558 Bytes
Versions: 4
Compression:
Stored size: 558 Bytes
Contents
class AddIbUnderlyings < ActiveRecord::Migration def change # Calculated characteristics of underlying Contract (volatile) create_table(:ib_underlyings) do |t| t.references :contract t.integer :con_id # # int: The unique contract identifier specifying the security t.float :delta # double: The underlying stock or future delta t.float :price # double: The price of the underlying t.timestamps end end end __END__ rails generate scaffold underlying contract_id:integer con_id:integer delta:float price:float
Version data entries
4 entries across 4 versions & 1 rubygems