Duplicate order id
Atom
10.11.2017


Hi

When I register an new order it does not reflect in IB TWS. In the connector log I get the following error:

Код

2017/11/10 15:07:32.572| |InteractiveBrokersTrader|RegisterOrder: 0/ SPXW 171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=None Bal=0
2017/11/10 15:07:32.572| |InteractiveBrokersTrader|New order: 54387931/ SPXW 171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Pending Bal=1.00
2017/11/10 15:07:33.750|Debug |IBSocket |Msg: ErrorMessage
2017/11/10 15:07:33.751| |IBSocket |Duplicate order id
2017/11/10 15:07:33.753|Error |InteractiveBrokersTrader|OrderRegisterFailed
54387931/ SPXW 171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Failed Bal=1.00
System.InvalidOperationException: Duplicate order id


This only occurs when I enable storage, ie initialize storage

Regards

Теги:


Спасибо:


Johan Kirsten

Фотография
Дата: 13.11.2017
Ответить


Hi

I am attaching code that reproduces the error. It is a console application that connects to TWS and then enters an order. When I run it, it gives the error 'Duplicate order id'.

Regards
CreateStorage.zip 540 KB (281)
Спасибо: Mikhail Sukhov Support


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy