question

Upvotes
Accepted
1 1 1 2

Python API call to get Bid and Ask size

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

pythontick-history-rest-apifields
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Aby, thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text beneath the most appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

@Aby

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
22k 59 14 21

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
22k 59 14 21

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 2

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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 2

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
22k 59 14 21

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 2

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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.