¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: 321: Error validating request
.totalQuantity is a " *Decimal* " type, see many other threads on the subject of Decimal. I am not sure there is really a bug in the sense of what you describe. Nothing surprising in what you
By Gordon Eldest · #51863 ·
Re: 321: Error validating request
Apologies, for some reason I misread your statement to mean that you had set CashQty to 3000000. Whatever, the fact is that setting TotalQuantity to zero gives exactly the error message you
By Richard L King · #51862 ·
order can be triggered during regular hours only
Hello, I have place a Stop Loss Order with the API, and it was not executed when the price was reached. So I went in TWS, and I have seen that my order is in a particular state "Order?can be
By FrenchFlorent · #51861 ·
Re: Did TWS disabled posibility to fetch historical market data in DEMO account?
I was able to fetch EUR/USD and also AAPL, AMZN But now get this error. There is a reference on which stocks you can get historical data on demo account?
By ofirbux@... · #51860 ·
Re: 321: Error validating request
I had the exact same issue with my C++ code and contacted IB support about it. The tech responded really promptly with this response: there seems to be a bug with how the API interprets the quantity
By Alex@... · #51859 ·
Re: 321: Error validating request
Might help to see your filled "Order" object
By Gordon Eldest · #51858 ·
Re: 321: Error validating request
Certainly, I am using the *quantity* field. It's important to note that when I switch the order type to "Buy order," it executes without any issues.
By A.R.SYD · #51857 ·
Re: 321: Error validating request
I don¡¯t think you can use ¡®number of shares¡¯ for this. Set the amount you want to sell in the Quantity field. Sent: Monday, October 16, 2023 9:26 AM To: [email protected] Subject: [TWS
By Richard L King · #51856 ·
321: Error validating request
Hello everyone, I've placed a sell order with Interactive Brokers, and I used the contract details as an example: *contract.Symbol = "GBP";* *contract.SecType = "Cash";* *contract.Exchange =
By A.R.SYD · #51855 ·
Re: IB's own SAMPLE Excel files still refer to de-supported order attributes so they don't work at all -- how do I bypass / fix??
Update for anyone interested: after nearly a year of trying to get IB to address this, I was finally able to get someone on their API team to replicate and acknowledge that the current Legacy DDE
By grooooper · #51854 ·
Re: Did TWS disabled posibility to fetch historical market data in DEMO account?
For which stocks, exchanges and time intervals ? Last time I checked, it was only possible to request data for XAUUSD and XAGUSD (security type CMDTY, exchange SMART) with the demo account. --
By Orionn · #51853 ·
Did TWS disabled posibility to fetch historical market data in DEMO account?
I was fetching successfully historical data from TWS, but now I've noticed that I get this error: no matter of what STOCK I use. previously it worked and i haven't changed anything. Does TWS disabled
By ofirbux@... · #51852 ·
Re: goodAfterTime attribute not supported for combo orders
Works! Thanks a lot J¨¹rgen!
By Ace · #51851 ·
Re: Get movers in the last 1 (say) minute
Hi Gordon, thanks for your reply. A) Yes, actually the examples you gave are normalized according to IB. Hot Contracts by Price Contracts where: (lastTradePrice-prevClose)/avgDailyChange is
By YubiVan · #51850 ·
Re: goodAfterTime attribute not supported for combo orders
You could try a Time Condition ( https://interactivebrokers.github.io/tws-api/order_conditions.html#time_condition ) instead. J¨¹rgen
By J¨¹rgen Reinold · #51849 ·
goodAfterTime attribute not supported for combo orders
HI, I want to attach a?"Good After" market order to an option combo order to close the position at a predeterrmined time using this attibute: time_order.goodAfterTime = expiration_day + ' ' +
By Ace · #51848 ·
Re: Get movers in the last 1 (say) minute
A>> Can you give a definition of "biggest movers" ? Because if you look at TradeRate or VolumeRate, they can be very high on a big MarketCap while simultaneously the PERC_GAIN stay rather small,
By Gordon Eldest · #51847 ·
Get movers in the last 1 (say) minute
Dear all, I was looking for custom scanner to see biggest movers in the last 1 minute say using IB API. Couldn't find any documentation on the scan params, is the best way to proceed to look for
By YubiVan · #51846 ·
Re: questions about the two thread design (TWS c++ api)
It proves that callbacks CANNOT be process anywhere else. It proves that your callbacks will be processed in same thread and sequentially. (if you have a single eReader which is the typical and the
By Gordon Eldest · #51845 ·
Re: questions about the two thread design (TWS c++ api)
Yes, I was able to find those callback invocations in all?EDecoder.cpp as well. However, this just proves that calling *is* done in the main thread, not that it *isn't done in the other thread*.
By tbrown122387@... · #51844 ·