If you have the same problem when using TWS alone, it is not an API problem.
toggle quoted message
Show quoted text
You might still get help here but it is technically off-topic. Problems should always be addressed in TWS first before API questions become relevant. Otherwise you look in the wrong place for most problems. It is a common mistake. First try things in TWS. Second if you have problems with your code, try things in the API demo apps if possible. In your own code make sure you are receiving error callbacks (and logging or otherwise recording the information) so you can report all appropriate information when you post a question. You do not explain what you mean by "unable to get FOK value" when using TWS alone. If FOK simply does not show up in the popup list, then you probably have not enabled it in the Features under your TWS configuration. At the moment I'm running IB Gateway so I can only run TWS in demo mode. But there I see what I previously suggested to you. Under Configuration > Features > Order Management > Time-in-Force you must make sure Fill-or-Kill is checked. Is this your problem? The curious thing is that IB Gateway does not seem to provide the Features section. Perhaps this means all such features are turned on in IB Gateway. If so using the Gateway might be something else for you to try, at least to get more information, if necessary. -K On 7/12/13 12:24 AM, "narasingarao_kavali" <no_reply@...> wrote:
|