Sha256: fb1c931521d5bd471b458ace73d59616fe698dc236266579f38fb14efa156a08
Contents?: true
Size: 1.73 KB
Versions: 1
Compression:
Stored size: 1.73 KB
Contents
.strategies--form = form_for strategy do |f| .actions = f.submit .row .col-md-6 .field %label Kind = f.select :kind, options_for_select( Iro::Strategy::KINDS, selected: strategy.kind ) .field %label long or short? = f.select :long_or_short, options_for_select([nil, Iro::Strategy::LONG, Iro::Strategy::SHORT], selected: strategy.long_or_short) .field %label stock = f.select :stock_id, options_for_select(@stocks_list, selected: strategy.stock_id), class: 'select2' .col-md-6 .field %label slug = f.text_field :slug %hr .field = f.label :buffer_above_water = f.number_field :buffer_above_water, placeholder: "0.49", step: 0.01 .field = f.label :min_dte = f.number_field :min_dte, placeholder: "0" -# .field -# = f.label :next_max_outer_delta -# = f.number_field :next_max_outer_delta, placeholder: "0.25", step: 0.01 .field = f.label :next_inner_delta = f.number_field :next_inner_delta, placeholder: "0.25", step: 0.001 .field = f.label :next_inner_strike = f.number_field :next_inner_strike, placeholder: "20.0", step: 0.01 .field = f.label :next_spread_amount = f.number_field :next_spread_amount, placeholder: "20", step: 0.1 .field = f.label :next_buffer_above_water = f.number_field :next_buffer_above_water, placeholder: "80", step: 0.01 .field = f.label :threshold_delta = f.number_field :threshold_delta, placeholder: "0.14", step: 0.001 .field = f.label :threshold_netp = f.number_field :threshold_netp, placeholder: "0.69", step: 0.001 .actions = f.submit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iron_warbler-2.0.7.26 | app/views/iro/strategies/_form.haml |