开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: Question about behavior of reqPositionsMulti
Hi Josh, I am calling it multiple times - as it turns out I misunderstood how the message works, not realizing it was subscription based and I would continue to receive updates after the end
By rognorak@... · #38792 ·
RTD in Excel: getting a bunch of "TWSRtdServer error: Not connected" (possible throttling issue?)
I'm taking first crack at RTD server to import ~500 lines of option-contract data into Excel (DDE became unusable performance-wise). Can't figure out this bug: - When I first open my Excel workbook,
By grooooper · #38791 ·
Re: Error ID 253, code 511
To me it looks like the API socket was closed at the time cancelMktData was invoked. In that case you wouldn't be able to do anything until eConnect is called again. Did the API previously disconnect
By Josh · #38790 ·
Re: Question about behavior of reqPositionsMulti
There should be one positionMultiEnd after all positions are returned, and then only updates when positions change. Are you sure you're not calling reqPositionsMulti multiple times?
By Josh · #38789 ·
Any symbol in IB for Bitcoin price?
When I type 'Bitcoin' into any IB product window, it pulls up 8 assets...but none of them seem to track approx BTC in real-time. Closest one seems to be the ' NYXBT : NYSE Bitcoin Index (NYSE)', but
By grooooper · #38788 ·
Re: FutureWithLocalSymbol - must use symbol field
Its just like in the example. The legs are still 'NYMEX'.
By Josh · #38787 ·
Question about behavior of reqPositionsMulti
Hi All,? I am noticing in my logs, that messages from?reqPositionsMulti never seem to actually end.? Is this expected behavior, or a bug?? Or Am I doing something wrong - All 3 parts of the cycle
By rognorak@... · #38786 ·
Error ID 253, code 511
During the last week have I received twice the following error message: Error. Id: 253, Code: 511, Msg: Cancel Market Data Sending Error - java.net.SocketException: Broken pipe (Write failed) The
By J G · #38785 ·
Re: api support for earnings calendar
I figured out the answers to my last couple of questions. You have a reqScannerParameters() and that will return XML of all the available scanners with their codes (tag is scanCode). I'm supposing
By rjaustin · #38784 ·
Re: api support for earnings calendar
Thanks for the help Josh. A couple of followups: Are the codes documented? I can't seem to find where you pulled these codes from. The API documentation says that "some" scans are supported. What's
By rjaustin · #38783 ·
Re: FutureWithLocalSymbol - must use symbol field
thank you Josh.? Do i have to specify exchange in legs and if i do which one do i need to use?? the contract routing is set to SMART.
By Andrew Z. · #38782 ·
Re: FutureWithLocalSymbol - must use symbol field
To close out a position, you would just change the action in the Order class, just like other contracts. A combo with the actions of the legs inverted is actually a different combo contract. Having
By Josh · #38781 ·
Re: FutureWithLocalSymbol - must use symbol field
@Josh, ?that explains it. thank you very much.? finally i got this piece to work. Another piece of confusion is an order results. Orders are : ?buy, leg1 - buy CL, leg2 -sell BZ ?sell , leg1 -
By Andrew Z. · #38780 ·
Re: api support for earnings calendar
Roji, There are API market scanner codes which can be used with the Wall Street Horizons subscription: ??? WSH_NEXT_ANALYST_MEETING, ??? WSH_NEXT_EARNINGS, ??? WSH_NEXT_EVENT, ???
By Josh · #38779 ·
Re: Chart trading
I'd recommend coding up your strategy in Python using libraries numpy / pandas. Low barrier to entry and very powerful. Google for Python algorithm strategy tutorial
By chris · #38778 ·
Re: Chart trading
*Thanks Richard,* *I'll do my best here. * *My answers are in bold.* written.* - Do you want to be able to write the strategies in a .Net language, or would other languages/platforms be
By Ted Penner <tedpenner@...> · #38777 ·
Re: IB Python API realtimeBar
Josh, This solved my problem! Thanks a lot. Will
By Will Wang · #38776 ·
Re: Chart trading
Ted It would be much easier to answer this question if you gave rather more information. For example: * Do you want a complete replacement for Multicharts, or are you looking for a better way
By Richard L King · #38775 ·
Chart trading
I have IB with TWS. I am currently using Multicharts .net to write strategies and would like to know if there is an open-source charting platform for writing the strategies that are more
By Ted Penner <tedpenner@...> · #38774 ·
Re: IB Python API realtimeBar
Will, The volume, count, and vwap information is only returned when whatToShow is set to 'TRADES' in the historical data
By Josh · #38773 ·