Помогите пожалуйста, выставляю заявку, отрывок
AccMicex = "ХХХ"
seccode50 = "SIM3SIU3"
classcode50="FUTSPREAD"
UID=RAND()&""
Cena50=-350
QUANT50=1
Cena50=Cena50+0 '
send_order ("B",Cena50,"MARGIN",seccode50,classcode50,QUANT50,UID) ' Покупка 1ой акции'
' Функция совершения транзакции
FUNC send_order (Operation,Price,Type,SecCode,ClassCode,Quantity,TransID)
trans_params = ""
trans_params = set_value (trans_params, "TRANS_ID", TransID)
trans_params = set_value (trans_params, "ACTION", "NEW_ORDER")
trans_params = set_value (trans_params, "CLASSCODE", ClassCode)
trans_params = set_value (trans_params, "SECCODE", SecCode)
trans_params = set_value (trans_params, "ACCOUNT", AccMicex)
trans_params = set_value (trans_params, "OPERATION", Operation)
trans_params = set_value (trans_params, "PRICE", Price)
trans_params = set_value (trans_params, "QUANTITY", Quantity)
trans_params = set_value (trans_params, "TYPE", Type)
trans_params = set_value (trans_params, "CLIENT_CODE", ХХХ)
trans_result = SEND_TRANSACTION (5, trans_params)
soobshenie = GET_VALUE(trans_result, "DESCRIPTION")
message (soobshenie,2)
Ошибка УКАЗАННЫЙ ИНСТРУМЕНТ НЕ НАЙДЕН: "SIM3SIU3"
AccMicex = "ХХХ"
seccode50 = "SIM3SIU3"
classcode50="FUTSPREAD"
UID=RAND()&""
Cena50=-350
QUANT50=1
Cena50=Cena50+0 '
send_order ("B",Cena50,"MARGIN",seccode50,classcode50,QUANT50,UID) ' Покупка 1ой акции'
' Функция совершения транзакции
FUNC send_order (Operation,Price,Type,SecCode,ClassCode,Quantity,TransID)
trans_params = ""
trans_params = set_value (trans_params, "TRANS_ID", TransID)
trans_params = set_value (trans_params, "ACTION", "NEW_ORDER")
trans_params = set_value (trans_params, "CLASSCODE", ClassCode)
trans_params = set_value (trans_params, "SECCODE", SecCode)
trans_params = set_value (trans_params, "ACCOUNT", AccMicex)
trans_params = set_value (trans_params, "OPERATION", Operation)
trans_params = set_value (trans_params, "PRICE", Price)
trans_params = set_value (trans_params, "QUANTITY", Quantity)
trans_params = set_value (trans_params, "TYPE", Type)
trans_params = set_value (trans_params, "CLIENT_CODE", ХХХ)
trans_result = SEND_TRANSACTION (5, trans_params)
soobshenie = GET_VALUE(trans_result, "DESCRIPTION")
message (soobshenie,2)
Ошибка УКАЗАННЫЙ ИНСТРУМЕНТ НЕ НАЙДЕН: "SIM3SIU3"