﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Duplicate order id</title>
  <id>~/topic/8815/duplicate-order-id/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-30T11:35:44Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=8815" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/posts/m/41620/</id>
    <title type="text">Hi I am attaching code that reproduces the error. It is a console application that connects to TWS a...</title>
    <published>2017-11-13T12:23:45Z</published>
    <updated>2017-11-13T12:23:45Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.ru/users/99799/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Hi&lt;br /&gt;&lt;br /&gt;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 &amp;#39;Duplicate order id&amp;#39;.&lt;br /&gt;&lt;br /&gt;Regards</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/41601/</id>
    <title type="text">Hi When I register an new order it does not reflect in IB TWS. In the connector log I get the follow...</title>
    <published>2017-11-10T16:12:13Z</published>
    <updated>2017-11-10T16:12:13Z</updated>
    <author>
      <name>Johan Kirsten</name>
      <uri>https://stocksharp.ru/users/99799/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Hi &lt;br /&gt;&lt;br /&gt;When I register an new order it does not reflect in IB TWS. In the connector log I get the following error:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;strong&gt;Код&lt;/strong&gt;&lt;div class="innercode"&gt;&lt;br /&gt;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 &lt;br /&gt;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 &lt;br /&gt;2017/11/10 15:07:33.750|Debug  |IBSocket  |Msg: ErrorMessage&lt;br /&gt;2017/11/10 15:07:33.751|       |IBSocket  |Duplicate order id&lt;br /&gt;2017/11/10 15:07:33.753|Error  |InteractiveBrokersTrader|OrderRegisterFailed&lt;br /&gt;54387931/ SPXW  171215C02580000@CBOE DU775642 Buy Price=26.8 Volume=1.00 State=Failed Bal=1.00&lt;br /&gt;System.InvalidOperationException: Duplicate order id&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This only occurs when I enable storage, ie initialize storage&lt;br /&gt;&lt;br /&gt;Regards</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>