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

create instrument by symbols #30

Closed
FrankMN opened this issue Nov 30, 2016 · 1 comment
Closed

create instrument by symbols #30

FrankMN opened this issue Nov 30, 2016 · 1 comment

Comments

@FrankMN
Copy link

FrankMN commented Nov 30, 2016

看到文档中说到可以用symbol来创建instrument, 不一定需要知道code.XSHE这类的id
实际操作中,instruments(['平安银行', '000024.XSHE'])会报错:ERROR: order_book_id 平安银行 not exists!

@wh1100717
Copy link
Member

@FrankMN 抱歉,之前的版本确实不支持symbol,新版本的RQAlpha 已经支持通过symbol 来查询instrument了。

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

2 participants