stopped = false
function OnStop()
stopped = true
return 5000
end
class_code = 'TQBR',
sec_code = 'BELU',
param_name = 'LAST',
Z = getParamEx ('TQBR', 'BELU', 'LAST').param_value
function main()
A = {
ACTION = 'NEW_ORDER',
ACCOUNT = 'L0000000000',
OPERATION = 'B',
CLASSCODE = 'TQBR',
SECCODE = 'BELU',
PRICE = tostring (Z - 20),
QUANTITY = tostring (1),
TRANS_ID = tostring (10000),
TYPE = 'L'
}
Err_A = sendTransaction (A
end
function OnStop()
stopped = true
return 5000
end
class_code = 'TQBR',
sec_code = 'BELU',
param_name = 'LAST',
Z = getParamEx ('TQBR', 'BELU', 'LAST').param_value
function main()
A = {
ACTION = 'NEW_ORDER',
ACCOUNT = 'L0000000000',
OPERATION = 'B',
CLASSCODE = 'TQBR',
SECCODE = 'BELU',
PRICE = tostring (Z - 20),
QUANTITY = tostring (1),
TRANS_ID = tostring (10000),
TYPE = 'L'
}
Err_A = sendTransaction (A
end