8000 Question about volume and number of order · Issue #2 · hkgsas/LOB · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Question about volume and number of order #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dennislx opened this issue Jan 9, 2022 · 0 comments
Open

Question about volume and number of order #2

dennislx opened this issue Jan 9, 2022 · 0 comments

Comments

@dennislx
Copy link
dennislx commented Jan 9, 2022

Thank you by sharing this valuable dataset to quantitative researchers around the globe.

I have questions about these two lines in your paper:

  1. Volumes are normalized by dividing by the top 10% volume quantile level, but limited to 1
  2. Number of orders are normalized similar to volumes, dividing by the 10% order number
    quantile level, but limited to 1.

It seems you are dividing the column with its top 10% quantile. The frequency, however, does not seem to match what you have described in the paper

>>> Counter(data[:, 11])    #this is the 12th column, which is bid volume at level 1
Counter({1.0: 234366,                                                                            
         0.01: 1230,                                                                             
         0.02: 913,                                                                              
         0.03: 847,                                                                              
         ....
}
>>> m = Counter(data[:, 11])
>>> sum(m[k] for k in m if k != 1.0)/len(data)
0.15361085731001334

Other columns with normalization show the same problem to me. I am probably wrong somewhere. Can you please share a separate raw volume data that could help clear my confusions?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0