Skip to content

How to create a new Stock Pool (Market) #1888

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
Len1925 opened this issue Feb 15, 2025 · 2 comments
Open

How to create a new Stock Pool (Market) #1888

Len1925 opened this issue Feb 15, 2025 · 2 comments
Labels
question Further information is requested

Comments

@Len1925
Copy link

Len1925 commented Feb 15, 2025

❓ Questions and Help

How can I create a new Stock Pool (Market) in Qlib and define a specific set of stocks? For example, how can I classify certain stocks under a category similar to CSI 300?"
I have checked the documentation, but it seems that there is no relevant information. If there is, could you please provide the exact link? Thank you!

@Len1925 Len1925 added the question Further information is requested label Feb 15, 2025
@SunsetWolf
Copy link
Collaborator

Hi, @Len1925
The documentation you need is here, maybe this one will help you too.

@Len1925
Copy link
Author

Len1925 commented May 20, 2025

Hi, @Len1925 The documentation you need is here, maybe this one will help you too.

Thank you for your response! Following the link provided, I have successfully converted the collected custom data from CSV format to Qlib format. However, when I attempted to process the data and calculate market information using the formula 'Mask($close/Ref($close,1)-1, "sh000906")', I encountered an issue. How should I specify the market information for the custom data?Such as "sh000906".
Thank you!

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

No branches or pull requests

2 participants