TransInc = TransInc + 1
t = {
["ACTION"] = "MOVE_ORDERS",
["CLASSCODE"] = clssS,
["SECCODE"] = localInstr,
["ACCOUNT"] = clntS,
["CLIENT_CODE"] = clntS,
["MODE"] = "0",
["FIRST_ORDER_NUMBER"] = tostring(id),
["FIRST_ORDER_NEW_PRICE"] = tostring(price),
["FIRST_ORDER_NEW_QUANTITY"] = tostring(val),
["TRANS_ID"] = tostring(TransInc)
}
res = sendTransaction(t)
t = {
["ACTION"] = "MOVE_ORDERS",
["CLASSCODE"] = clssS,
["SECCODE"] = localInstr,
["ACCOUNT"] = clntS,
["CLIENT_CODE"] = clntS,
["MODE"] = "0",
["FIRST_ORDER_NUMBER"] = tostring(id),
["FIRST_ORDER_NEW_PRICE"] = tostring(price),
["FIRST_ORDER_NEW_QUANTITY"] = tostring(val),
["TRANS_ID"] = tostring(TransInc)
}
res = sendTransaction(t)