Sha256: 806d8c3d94fb6f5ee864dbc0771bf35fc3c1fd77372c8dfdcb437398d7cce771
Contents?: true
Size: 1.11 KB
Versions: 7
Compression:
Stored size: 1.11 KB
Contents
- url = strategy.new_record? ? iro_strategies_path : iro_strategy_path(strategy) .iro-strategies--form = form_for strategy, url: url, as: :iro_strategy do |f| .field = "#{strategy.id}." if strategy.id = f.label :slug = f.text_field :slug .actions = f.submit 'Submit', :data => { :confirm => 'Are you sure?' } .field = f.label :ticker = f.text_field :ticker .field = f.label :buffer_above_water = f.number_field :buffer_above_water, placeholder: "0.49", step: 0.01 .field = f.label :next_max_delta = f.number_field :next_max_delta, placeholder: "0.25", step: 0.01 .field = f.label :next_min_price = f.number_field :next_min_price, placeholder: "20.0", step: 0.01 .field = f.label :threshold_delta = f.number_field :threshold_delta, placeholder: "0.14", step: 0.01 .field = f.label :threshold_netp = f.number_field :threshold_netp, placeholder: "0.69", step: 0.01 .field = f.label :current_underlying_strike = f.number_field :current_underlying_strike, placeholder: "16.66", step: 0.01
Version data entries
7 entries across 7 versions & 1 rubygems