We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea90a32 commit 427a3acCopy full SHA for 427a3ac
roffild.lua
@@ -530,9 +530,11 @@ function roffild.sendStopOrder(stop_order)
530
trans.OPERATION = "S"
531
end
532
if (stop_order.stopflags & 0x8) ~= 0 then
533
+ trans.OFFSET = roffild.roundPrice(stop_order.offset, 2)
534
trans.OFFSET_UNITS = "PERCENTS"
535
536
if (stop_order.stopflags & 0x10) ~= 0 then
537
+ trans.SPREAD = roffild.roundPrice(stop_order.spread, 2)
538
trans.SPREAD_UNITS = "PERCENTS"
539
540
if tonumber(stop_order.expiry) <= tonumber(os.date("%Y%m%d")) then
0 commit comments