¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: Market Open or Closed
I've found that if I ask for contract details for today when the market is open (during the session), it will generally give back that today for m_liquidhours (which is different from m_tradinghours)
By uberquant <no_reply@...> · #34663 ·
Re: Market Open or Closed
Actually you can use ContractDetails and look for m_tradingHours. 2015-12-25 8:42 GMT+01:00 Ed Gonen ed.gonen@... [TWSAPI] < TWSAPI@...>: -- Best regards, Chernikov
By §¡§Ý§Ö§Ü§ã§Ñ§ß§Õ§â §¹§Ö§â§ß§Ú§Ü§à§Ó · #34662 ·
Re: TWS 50/sec limit
All, I did extensive work with this java client and found it very frustrating. I first added an expiration date to the contract definition and it began to work. This confirmed that the request
By Patrick. · #34661 ·
Re: Market Open or Closed
As far as I know there is no such method in the API. I suggest to keep as simple as possible and use a plain text file with the list of the market holidays times. You will update the file on a yearly
By Edward · #34660 ·
Re: TWS 50/sec limit
@Nick news1000, I'm not sure how important it is, but the above exercise with java demo app also shows that it is actually TWS who initiate the disconnect when client brakes some rules (number of
By Dmitry Shevkoplyas · #34659 ·
Market Open or Closed
today market closed at 1pm, I had a trade fire at 2pm. How best can I tell that the market is open using the API, c# is what I'm using. Thanks,
By Jason Pulaski · #34658 ·
Re: Stale quantity in open order event
It may not work for you but I ignore order status. After all, IB's inner workings are not my concern. All I care about is executions which I can get from exec or position messages.
By Nick <news1000@...> · #34657 ·
Stale quantity in open order event
I had the following sequence: 1. Submit order 2. Receive partial fill 45 ms later. 3. Change quantity 60 ms later 4. Receive three open order events with new quantity. ==>5. Receive three open order
By Frank Bell · #34656 ·
Re: TWS 50/sec limit
Right- and based on other replies, my suggestion is that you separate out the functions into two steps: 1) Retrieving all of the contract ID's for all of the options series on a given underlying 2)
By rholowczak <no_reply@...> · #34655 ·
Re: TWS 50/sec limit
Confirming: java demo client loses connection when "Options" -> "Option Chains" tab used to get all calls/puts for "IBM". But it is just a poor design/implementation of java demo application
By Dmitry Shevkoplyas · #34654 ·
Re: TWS 50/sec limit
If you connect via IB Gateway instead of TWS, you will be able to make about 120 requests/sec (don't have the exact number right now).
By Norbert Schatz · #34653 ·
Re: TWS 50/sec limit
I just requested the full option chain (all expiries) for the SPX. The system returned 7646 contracts with an elapsed time of about one minute. If you're getting timeouts or disconnects, I suspect
By rwk · #34652 ·
Re: TWS 50/sec limit
rholowczak I am using the Greeks for trade decisions.
By todell826@... · #34651 ·
Re: TWS 50/sec limit
Please read my post in topic "Building an options trading algo using TWS. Need help". It explains in detail what I am trying to achieve.
By todell826@... · #34650 ·
Re: TWS 50/sec limit
I found that 2 tws never disconnect tws also does not send all option data when requested lots of 0 on the bid /ask if 0 on the bid i usually take the strike -current + current or something like
By nickhere@... · #34649 ·
Re: TWS 50/sec limit
Disconnects are caused by an error in your program. TWS does not disconnect for pacing violations. There is no limit on the amount or speed of data sent by TWS to the API program. Trying to create
By Nick <news1000@...> · #34648 ·
Re: TWS 50/sec limit
Maybe I am not the only one with this question: When you say "option chains" are you only looking for the specifications (strike, expiration, right (call/put)) of options currently trading on an
By rholowczak <no_reply@...> · #34647 ·
Re: TWS 50/sec limit
Can I get the data from another source and use it in my TWS API.?
By todell826@... · #34646 ·
Re: TWS 50/sec limit
Can I filter by Delta and days till expiration to reduce the amount of data? Can I slow down the download of data. This roadblock is hard to believe. Options chains are basic info.
By todell826@... · #34645 ·
Re: TWS 50/sec limit
Limit requests to 50/sec. There is no other option. 2015-12-23 12:53 GMT+01:00 todell826@... [TWSAPI] < TWSAPI@...>: -- Best regards, Chernikov Aleksandr, e-mail:
By §¡§Ý§Ö§Ü§ã§Ñ§ß§Õ§â §¹§Ö§â§ß§Ú§Ü§à§Ó · #34644 ·