Skip to content
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

How to use your code? #8

Open
dichen9412 opened this issue Jun 26, 2019 · 3 comments
Open

How to use your code? #8

dichen9412 opened this issue Jun 26, 2019 · 3 comments

Comments

@dichen9412
Copy link

Hi,
Finally, I made everything correct and it looks like I have successfully built your project.
However, I have no idea how to run your model. Could you please provide a readme for us to use your model? e.g. How to feed the data? How to run?

Best,
Di

@mbasso
Copy link

mbasso commented Jun 29, 2019

Hi @dichen9412,
I'm trying to run it manipulating the dataset I found here. However, I'm not able to make it work correctly. Have you figured out the shape of the dataset or something else?

@dichen9412
Copy link
Author

Not yet. I just successfully compiled this project but I have no idea about his data format or how to run it. If you know, please tell me!

Hi @dichen9412,
I'm trying to run it manipulating the dataset I found here. However, I'm not able to make it work correctly. Have you figured out the shape of the dataset or something else?

@tspooner
Copy link
Owner

Hey @dichen9412 and @mbasso! Sorry for the delayed response - been very busy with follow up work.

First off, I appreciate that there is a lack of documentation with this project which I apologise for. The main point I make to people is that this framework is designed with a very specific kind of data in mind: the combination of "Market Depth" and "Transaction" level data. The former tell us about the shape of the order book at any given time up to N level into the LOB. The latter tells us about the actual transactions/executions that occurred. You can find more details about this in the paper that I have linked in the readme.

This data is very expensive as it is incredibly high-fidelity and includes event-level updates which can occur on the sub-millisecond level. As such, I typically recommend that you take the RL and LOB components from this and implement your own data parser or stochastic simulator to feed into and populate the LOB. The data your refer to @mbasso could potentially be used from what I can see - though it is a very small dataset with only 3 weeks of updates.

What I would recommend is that you check out my "rsrl" repo which I've been working on for some time. This includes fast implementations of RL algorithms with some documentation. I am in the process of integrating this and other works of mine into that framework. When that's done, I'll add much more documentation.

Sorry for any hassle!
Tom

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

3 participants