Duplicate Orders in Excel

A few people have posted in the past that they use Excel to send orders to C2 via the C2 order-entry API, but that Excel orders sometimes are duplicated twice. This appears to happen as a result of the way the excel library function GETs each file resource twice, which results in duplicate API calls.



If you are experiencing this (not sure if it is still a problem in recent versions of Excel), try adding the parameter:



&excel=1



to your C2 API new signal calls. This will tell C2 to refuse duplicate orders sent within 4 seconds of each other.



Matthew