Sha256: b8e1b850ddc1385fd33e8ec9d5f07eada286cd0c8f0f48ea413ec22dab551df1
Contents?: true
Size: 1.21 KB
Versions: 96
Compression:
Stored size: 1.21 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| - if params[:iro_purse_id] = hidden_field_tag 'iro_strategy[iro_purse_id]', params[:iro_purse_id] .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
96 entries across 96 versions & 1 rubygems