app/models/iro/purse.rb in iron_warbler-2.0.7.23 vs app/models/iro/purse.rb in iron_warbler-2.0.7.24

- old
+ new

@@ -12,10 +12,13 @@ has_many :positions, class_name: 'Iro::Position', inverse_of: :purse belongs_to :stock, class_name: 'Iro::Stock', inverse_of: :strategies field :unit, type: :integer, default: 10 - # field :height, type: :integer, default: 100 + + ## for rolling only: + field :height, type: :integer, default: 100 + field :mark_every_n_usd, type: :float, default: 1 field :n_next_positions, type: :integer, default: 5 ## with unit 10, sum_scale .001 ## with unit 100, sum_scale .0001 field :summary_scale, type: :float, default: 0.001