Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 21:44:44 +0000



Post From: Meaning of different negative return values for InternalOrderID

[2017-05-23 18:36:09]
binaryduke - Posts: 360
Thank you. This helps.

1. For testing, my study is placing an order for the following IB symbol: SPX-OPT-20170524-2405-C-SMART-100-USD
2. I have set up the following symbol within Global Symbol Settings (screenshot attached):
Symbol: SPX-OPT-########-####-?-SMART-100-USD
Use pattern matching: enabled
Price Display Format: .01
Tick Size 0.050000
Currency Value Per Tick: 100
Real Time Price Multiplier: 1
Default Order Quantity: 1
I believe this should be correct to enable symbol definition against the IB option symbology.

Orders placed for this symbol with sc.BuyOrder and sc.SellOrder still return a -5 error code.

It is possible to place orders for this symbol via a trade window when the symbol is charted.

Please could you point me in the right direction.

Thanks

Lee.
Date Time Of Last Edit: 2017-05-23 18:36:47
imageIB option symbol.png / V - Attached On 2017-05-23 18:36:37 UTC - Size: 65.32 KB - 239 views
Attachment Deleted.