Search results

  1. B

    IBRK - collecting and processing tick-by-tick data

    Thank you joyfultrader, SPY gets roughly 400k trades a day (between 9:30am 4:00 pm). So we can compute average speed. Sometimes it peaks, but I don't really know how much. I would guess something around nanoseconds. At least this is what moder HFT systems are built for with with FPGA and other...
  2. B

    IBRK - collecting and processing tick-by-tick data

    You are right, I need to get distributed system design book. Because of it, I do not understand the rest of your answer.
  3. B

    IBRK - collecting and processing tick-by-tick data

    Queue is good idea, it is thread safe. I already tried it. Since checkForTrades gets called every 1 or 2 seconds, queue might accumulate 20-30 values, so I have to fully empty queue. But I guess when I do it, I fall behind collectData thread and lose some values. Plus I don't really need full...
  4. B

    IBRK - collecting and processing tick-by-tick data

    Thank you for the reply! Using append is a good idea, it is probably will be faster. But I am not sure if we can drop thread lock. Imagine there is another thread (call it analysis thread) running data analysis function below. def checkForTrades(self.last_size, self_last_price...
  5. B

    IBRK - collecting and processing tick-by-tick data

    I use below Python code to collect tick-by-tick daily trades for SPY (using IBRK). Code works fine without thread locking, but if I introduce thread locking I start missing many ticks. My guess is that thread locking is very time consuming and server buffer is really small, so some data gets...
  6. B

    Seek pre-1990 vix daily data

    Was it officially computed at that time?
  7. B

    Cost of real-time feed per provider per exchange.

    Hello Everyone, I am trying to understand cost of real-time data. For example, I would like to access VIX futures feed through CTS T4 API. I need to pay $25 for CTS T4 API, but I will probably need to pay something for accessing particular exchange, in this case CBOE. I found the following link...
  8. B

    Margin interest expenses carry over.

    Hello, I have margin interest expenses this year and I don't have associated investment gains to deduct it against. Is it possible to carry over margin interest as investment losses to the next year? I also assume that margin interest should be reported on form 4952. Is it correct? Regards...
  9. B

    CTS T4 API Development forum?

    Hi inosent, Did you end up creating forum? I am also trying to conquer the CTS T4 API, but unlike you, I am not so good with software. So far there is not trial and error method available. Regards, BrazilForever
  10. B

    IB API C# request HistoricalData

    Both CST and EST produced the same negative result. I will try to contact IB API support.
  11. B

    IB API C# request HistoricalData

    @TheGoonior Thank you, I tried to join the group. I clicked "Join", then I was prompted to create public profile, and upon clicking on it I was redirected to yahoo home page. Are there special instructions to join? Recently, I have been noticing some small annoying bugs on Yahoo web-site.
  12. B

    Tradier API

    Thank you both JCBarry and Risk619! Indeed, it would be helpful to have a complete list of products covered by Tradier. I am interested in SPX options. Overall, I am trying to find broker with friendly API, which is not too expensive. So far Tradier tech support is the most responsive and...
  13. B

    IB API C# request HistoricalData

    Thank you for the reply, TheGoonior. I am actually working in demo environment (I am choosing among different brokers with API offerings). I tried to simplify my example: Samples.EWrapperImpl ibClient = new Samples.EWrapperImpl(); ibClient.ClientSocket.eConnect("", 7496, 0)...
  14. B

    Tradier API

    Hello Everyone, I came accross Tradier API (https://developer.tradier.com/). It looks promissing, but there are not examples. I looked at the following code (https://developer.tradier.com/documentation/markets/get-quotes) and it is not clear to me whether I should talk to curl from C# or...
  15. B

    IB API C# request HistoricalData

    Hello Everyone, I am trying to request historical option data. Here is my code below: Samples.EWrapperImpl ibClient = new Samples.EWrapperImpl(); ibClient.ClientSocket.eConnect("", 7496, 0); Contract contract1 = new Contract(); contract1.ConId...
  16. B

    IB C# API - Price options chain (interactive brokers)

    @nanama Sorry for off topic, but can you feed VIX futures with tradier api?
  17. B

    Time stamp for bid/ask IB API C#

    Hello Everyone, I am curious, if it is possible to retrieve time stamp for bid/ask. In the example below I am requesting data on SPX option. Contract contract1 = new Contract(); contract1.ConId = DataCollection[0].Summary.ConId; contract1.Symbol = DataCollection[0].Summary.Symbol...
Back
Top