开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: Python API vs C/C++ API advantage?
Newbie here - just starting out with IB. I have coded my own algo systems in the past but not with IB. Those have been in Python(even though C++ was also an offered interface) and I have never had
By Ajay Joglekar · #46382 ·
Re: Python API vs C/C++ API advantage?
You've gotten some good answers, I'll give an answer from a different perspective. There are latencies you can't do anything about - quotes and orders traveling from exchanges to IB, within IB's
By Nick <news1000@...> · #46381 ·
Re: Python API vs C/C++ API advantage?
The max speed of interacting with TWS is NOT determined by the language you write in.? C++ is faster than Python but that doesn't matter as TWS's I/O is throttled (pacing violations).? Your code
By Hunter C Payne · #46380 ·
Re: Python API vs C/C++ API advantage?
Specific benchmarks are probably not useful here. C/C++ are in general "faster" than python, all things equal, but it's not that simple. Working with the IB api is mostly I/O-bound, meaning
By Robert Crim · #46379 ·
Python API vs C/C++ API advantage?
Hi, Has anyone benchmarked speed of making requests and receiving data (the full cycle) with C/C++ VS Python? Does it make a difference to go with either or in speed? (Excluding after the fact
By Bruce B · #46378 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Thank you the suggestion Orionn. I found that the easiest alternate was to split the quantity as required for the parent order and place two bracket orders as described in TWS manual on bracket order
By Pavan M · #46377 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Two lots of commission though.
By Richard L King · #46376 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
My suggestion is that you create two sets of orders. Each set includes the parent limit order and two attached OCA child orders (profit taker and stop loss). The limit price of the profit taker orders
By Orionn · #46375 ·
tif of child orders
If I place a buy limit order with a stop loss order attached as a child order and the original order is valid just for the day it will be the same for the stop order, correct? Meaning if the trade is
By Despair · #46374 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Thank You Richard. Thank You Yair. -- Pavan
By Pavan M · #46373 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Note that when you attach multiple child orders, IB may place limitations on the possible combinations of allowed child-order parameters. For example, when you add a MOC exit order to the standard
By Yair Altman · #46372 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
No it isn't possible, that's why I suggested what I did. If I had thought it were possible, I'd have said so: it was obvious from your question that that was what you were hoping for. When you
By Richard L King · #46371 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Thank You for your response Richard. Actually I should have been a little more specific.? Is it possible to pack them into 1 order. Meaning - IB treats a Bracket Order (Limit Order with 1 Profit
By Pavan M · #46370 ·
Re: reqHistoricalData Duplicate Bars?
Thanks for the feedback. I would like to close off this topic with the answer to the problem. In my code I was occasionally accidentally loading the same day twice due to some timezone calc error
By David Armour · #46369 ·
Re: Since Today, scanner not working
Yes, the stable version works.? Thanks.
By TSgates · #46368 ·
Locked Re: , MFA client doubles account in 6 weeks
This post has been deleted by the Moderator and the topic has been locked to prevent further posts. .
C/C++ code for Market Depth Level 2 Streaming?
Hello, Does anyone have a C/C++ Market Depth Level 2 Streaming code posted anywhere? *(single file preferred rather than a full project library).* Bonus if it saves data to RDIS or another
By Bruce B · #46366 ·
Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Place your limit order on its own (or with just a protective stop-loss in case you lose your connection before you do the next bit). When the limit order is filled, place two separate OCA orders,
By Richard L King · #46363 ·
Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock
Hello, I am using Python TWS API. For a Stock, I want to place a Limit Order with 2 Profit Takers and 1 Stop Loss. If Profit Taker 1 is hit, then the stop loss should decrease by the commensurate
By Pavan M · #46362 ·
reqMatchingSymbols not working today
Hello everybody, reqMatchingSymbols doesn?t work today it seems. I do not get any results. I?m using Excel VBA. Does someone experience the same problem? Kind regards, Marc
By ApiMadness · #46360 ·