You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when fetch one day's minute bars of all stock/index, _batch_get_persisted_bars will cost almost 120 secs in debug mode (53 seconds almost if not in debug).
Time consumed at:
read content from http request and unzip, almost 20 seconds
convert csv to dataframe, 3.7 secs if using 'c' engine and 1.x secs if 'pyarrow' engine is picked
group and convert dataframe to numpy structured array, 50 secs.
influxdb will cost almost 20 secs.
we need decrease time cost by both 1 and 3 to seconds.
for 1, maybe we can try:
use httpx instead of aiohttpclient
let pandas to do the unzip
for 3, no idea at all.
The text was updated successfully, but these errors were encountered:
omicron >= 2.0.0.a35
when fetch one day's minute bars of all stock/index, _batch_get_persisted_bars will cost almost 120 secs in debug mode (53 seconds almost if not in debug).
Time consumed at:
we need decrease time cost by both 1 and 3 to seconds.
for 1, maybe we can try:
for 3, no idea at all.
The text was updated successfully, but these errors were encountered: