Sha256: 303453367221d0f058fc99cc96c1cab838dcb8e05f63c53a11058677056717d7
Contents?: true
Size: 461 Bytes
Versions: 21
Compression:
Stored size: 461 Bytes
Contents
- nearest_strike = stock.last.round - u = position.purse.unit - every_n = position.purse.mark_every_n_usd .grid-mark.mark0 .label .labelC= nearest_strike - (1...@n_dollars).each_with_index do |idx| - idx = idx * every_n .grid-mark{ class: "mark#{idx}", style: "left: #{idx * u}px" } .label .labelC= nearest_strike + idx .grid-mark{ class: "mark-#{idx}", style: "left: -#{idx * u}px" } .label .labelC= nearest_strike - idx
Version data entries
21 entries across 21 versions & 1 rubygems