question

Upvotes
1 0 0 0

Is there a way to improve the execution time of the get_history function?

I am using the python lseg-data library and try simple historical request for fx implied volatility. And I observe that the execution time is particularly slow.

#technologypython api
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.

1 Answer

· Write an Answer
Upvotes
87k 294 53 79

@KPLUZANSKI

Thank you for reaching out to us.

You can use the get_data_asyn method in the content layer.

For more information, please refer to the Content layer - How to send parallel requests sample on GitHub.

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.