开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: Pulling reqMktData for multiple tickers
Hunter, thank you so much. But I've got no idea what you just said to me haha. I am a prime example of a "shade tree" python mechanic. I got no idea how to build an alternator in a car, but I know
By Patrick C · #47188 ·
Re: Pulling reqMktData for multiple tickers
So what you want to do is to have a threadpool so that when you get ticks from the TCP socket, you can launch a task on that threadpool (the size of the pool should be the core count - 1 for the TCP
By Hunter C Payne · #47187 ·
Re: Pulling reqMktData for multiple tickers
I'm not picking this method for any reason other then my mind cant figure out any other way to do it. LOL I'm trying to request tickTypes from multiple stocks that will change amount every day.
By Patrick C · #47186 ·
Re: Pulling reqMktData for multiple tickers
Hi Patric, I have one thread and keep sequential thread IDs in DB as I corelate them to data received. The TCP socket is not asynchronous so I am not sure if your threading separately for each
By Bruce B · #47185 ·
Re: Submit orders to TWS via API
Nich Thanks for your reply... i am using the correct port for the live environment... I am able to connect in live mode but it appears that order placed not getting confirmed in live like in demo!
By Ed Bell · #47184 ·
Pulling reqMktData for multiple tickers
Hey guys, what I am trying to perform is a reqMktData pull (I'm pulling the bid,ask,last prices) for multiple tickers. Normally I would just change the ID number for each ticker.. but for this
By Patrick C · #47183 ·
Re: Submit orders to TWS via API
The basic things that I would check are: Usually TWS has one port for paper (7497) and a different port for live (7496). Also, in IB Gateway you have to set the account options to allow login and
By Nich Overend · #47182 ·
Submit orders to TWS via API
Hi , I am attempting to use the piece of code (see below) to place orders to TWS. it works fine executing the orders on the demo account with confirmation from TWS as expected... However when
By Ed Bell · #47181 ·
Re: TWS API earning dates..
No, you can not. A free alternative (although not perfect) is the Yahoo API.
By Despair · #47180 ·
Re: TWS API earning dates..
Thank you! Cani get the upcoming earnings data from IBKR API without wallstreet Horizon?subscription?
By rajmahal · #47179 ·
Re: options order
In your order code object specify transmit as false. It will show in TWS but not send it to exchange. Hope it helps. Thanks, Pankaj Agarwal
By Pankaj Agarwal <pankaj@...> · #47178 ·
Re: options order
So you want to create an order that does not execute, then view in TWS ? Then what ?
By zdave83 · #47177 ·
options order
Is there a way to create the order through the API and the confirmation through the IB workstation?
By moshe.peled@... · #47176 ·
Re: Long on the stock, want to exit but: Order rejected The contract is not available for short sale
In fairness, it's likely one of the best paper systems out there these days.? I just seem to have a nack for finding it's flaws.? Often where permissions from the prod account don't map the same to
By Peter Drier · #47175 ·
Re: TWS API earning dates..
Hi, with Wall Street Horizon subscription, reqFundamentalData(reqId:10000001, Contract:<XOM>, FundamentalType.CalendarReport) gives:
By Artyom T. · #47174 ·
Re: TWS API earning dates..
hi Robbo , I tried the same, not getting results, Do I need WSJ subs? I tried it with that too. but not getting <Annual endMonth="12" fYear="2021" fyNum="0" periodLength="12"
By rajmahal · #47173 ·
Re: The 'EtradeOnly' order attribute is not supported.
If TWS allows a connection from your version of the API then the attributes themselves are supported. It's particular values of the attributes that are no longer accepted so setting to False is the
By Nick <news1000@...> · #47172 ·
Re: The 'EtradeOnly' order attribute is not supported.
This is untested, but since the two attributes are unsupported, I feel comfortable just setting them to False when I create the order object. ``` order_object =
By neil@... · #47171 ·
Re: Long on the stock, want to exit but: Order rejected The contract is not available for short sale
Ace, my experience of the paper-trading system, which I actively use all day every trading day, would lead me to suggest that it's unlikely that what you describe indicates a flaw in the system. My
By Richard L King · #47170 ·
Re: Long on the stock, want to exit but: Order rejected The contract is not available for short sale
Hi Peter, I found the paper trading testing of algo to be pretty good...up to now. Are there other major quirks of the paper trading I should be aware of? Thank you
By Ace · #47169 ·