DUPLICATE_TRANSACTION error code when canceling order

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slahy
    Junior Member
    • Feb 2014
    • 2

    #1

    DUPLICATE_TRANSACTION error code when canceling order

    Hi,

    I am trying to place orders in running and when not matched I want to cancel them, I have placed up to a 5 second delay between the place order and the cancel order but I keep getting a "DUPLICATE_TRANSACTION" error response from the RPC call.Is there a way to time out bets in running so if not matched after x amount of time cancel the order ? Or another way to avoid this duplicate transaction error ?

    Thanks

    Slahy
  • slahy
    Junior Member
    • Feb 2014
    • 2

    #2
    It was a duplicate customerReference causing the issue, I might read the documentation next time before posting !

    Comment

    Working...
    X