Python API call to get Bid and Ask size

Aby
Aby Newcomer

I would like an example to get the bid and ask size for a bin interval using a Python API call.

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @Aby, it seems like rolling up your own bars is the only way to get it.

Answers

  • @Aby Which Tick History data call are you interested in? I can see Bid and Ask size are available for TickHistoryTimeAndSalesExtractionRequest.

  • Aby
    Aby Newcomer

    I was calling the TickHistoryIntradaySummariesExtractionRequest, where there is the Number of Bids/Asks but not the size. I assume it should be possible to get the Bid/Ask size in the bin?

  • Aby
    Aby Newcomer

    The Bid/Ask size in TickHistoryTimeAndSalesExtractionRequest is not binned data and I am not interested in the tick data.

  • Sorry @Aby. That data is not available for Intraday bars.

  • Aby
    Aby Newcomer

    I am looking to get this info for all history so the only way would be to download all the tick data using TickHistoryTimeAndSalesExtractionRequest and have to do the binning at my end for a number of RICs. Is there anyway other way to do this? There are a number of RICs that I am looking to do this for.

    The documentation for Intraday summaries also says that the VWAP is listed but I cannot find that either. Is that available?