¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: Is it possible to place order at 15:59 or 16:00 and get a fill?
MOC/LOC orders require that TIF is set to "DAY". To put MOC order in the bracket, the following settings must be used for the bracket order peers: This is to allow the MOC order to work in an OCA
By ds-avatar · #51579 ·
Re: Is it possible to place order at 15:59 or 16:00 and get a fill?
Hi J¨¹rgen sorry for the double post, I just re read what you said and looked it up. "All MOC orders must be received at NYSE markets by 15:50 ET, unless entered to offset a published imbalance. NYSE
By omgwtfsalty@... · #51578 ·
Re: Is it possible to place order at 15:59 or 16:00 and get a fill?
Hi J¨¹rgen, I tried on paper and it rejected the order with time conditions. However I did this instead without the time condition and it seemed to go through yesterday a few mins before market
By omgwtfsalty@... · #51577 ·
Gateway loses historical market data every day
Hello, my IB Gateway is configured for automatic restart every night. Each day the historical market data is yellow. See pic.. After close and relogin it is green. 1. Can I manual reconnect the
By Matthias Kurz · #51576 ·
Re: Is it possible to place order at 15:59 or 16:00 and get a fill?
You probably can't, but why don't you give it a quick try in TWS or via the API to get a better feel for how things work? When you place a bracket order, IBKR wraps the attached orders (profit, loss,
By J¨¹rgen Reinold · #51575 ·
Re: Is it possible to place order at 15:59 or 16:00 and get a fill?
Thanks for the suggestion, how would I put this MOC order within my bracket order, would this work? Or do I not need to add a timecondition to an MOC order within this bracket? # previous
By omgwtfsalty@... · #51574 ·
Re: Historical Market Data Service error
I guess the name of your subscription gives it away. Your market data permissions for CME futures is "for Display on Trading Platform" not for consumption in machine readable form via TWS API. Market
By J¨¹rgen Reinold · #51573 ·
Re: Pairs trading: Parent vs Child order placement
If you need different quantities for the same security in a cadence where the execution of one order should enable the other order (trading in opposite direction), you can use pair trades mode for the
By ds-avatar · #51572 ·
Historical Market Data Service error
def get_historical_data ( contract ): ib = IB() ib.connect( '127.0.0.1' , 4002 , clientId = 1 ) bars = ib.reqHistoricalData( contract , endDateTime = '' , durationStr =
By ohrmich207@... · #51571 ·
Re: Pairs trading: Parent vs Child order placement
Thanks again for the very informative message. This highlights a couple of points of confusion with the TWS API. * The API doc describes the order attaching mechanism independently (
By HenryE · #51570 ·
Re: Retrieving live data for demo account via Python API?
***contract*** vs ***eurusd_contract*** Could that be a possibility or did you copy and paste incorrectly? Have you considered using a more strongly typed language?
By buddy · #51569 ·
Retrieving live data for demo account via Python API?
I am trying to get live tick data (or at least data every second) through TWS API Python. I use the *self.reqTickByTickData(reqId, contract, "MidPoint", 0, True)* method to retrieve tick by tick data
By tomic0403@... · #51568 ·
Re: Level2 data falls behind actual market
You're not using wifi by any chance, are you? Anyway, if you're ever wondering which end of your system can't keep up I suggest playing with ```dd progress=status``` for a few minutes. Good luck!
By buddy · #51567 ·
No realized profit and loss for Forex ?
Hi, if i execute m_pClient->reqPnLSingle(...) for the forex pairs i get 0.0 as pnl even if there were trades executed with a result different from 0. Why is that ? does this have something to do with
By Michael · #51566 ·
Re: Order entry time via the API?
Thanks, I will take a look at the flex reports, although I suspect this data is not available. I'll report back here if I find anything.
By andy.sinclair@... · #51565 ·
Re: Level2 data falls behind actual market
Yes No need to upgrade, especially this have nothing to do (or not enough) with GPU. It's only CPU based computation. Better invest in SSD than GPU I guess your testing method (Still unclear to me how
By Gordon Eldest · #51564 ·
Re: Order entry time via the API?
I don't know how. Generally manual and automated are not very easy to run simultaneously. Trend is to add Manual capabilities UI directly on your automate so that your automate DB can store info If
By Gordon Eldest · #51563 ·
Re: Order entry time via the API?
Thanks for the reply. My application is listening for the openOrder callback, but I was expecting to see an order creation/submit time field on the order itself. For example, my application may not
By andy.sinclair@... · #51562 ·
Re: Pairs trading: Parent vs Child order placement
That is how Bracket Orders ( https://www.interactivebrokers.com/en/trading/orders/bracket.php ) are supposed to work. All orders in the bracket match the parent order quantity as the as long as the
By J¨¹rgen Reinold · #51561 ·
Re: Pairs trading: Parent vs Child order placement
Thanks for the explanation of the different order types and the example. Building on your example, I've tried to construct a similar tree of orders by linking parent and child limit orders for the
By HenryE · #51560 ·