question

Upvotes
Accepted
1 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Upvotes
13k 32 12 18

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
13k 32 12 18

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 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea