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

请问如何在夜盘时间设置一个订单,检测到某只股票价格到达200USD就触发一个委托价为202USD的限价单 #18

Open
jliasdb opened this issue Apr 29, 2024 · 1 comment

Comments

@jliasdb
Copy link

jliasdb commented Apr 29, 2024

如题 谢谢大佬

@huacnlee
Copy link
Contributor

你可以创建一个 LIT - 触价限价单,并设定有效期,动作跟 App 里面的条件单类似

https://open.longportapp.com/docs/trade/trade-definition#ordertype
https://open.longportapp.com/docs/trade/order/submit

可以看 submit API 里面的 order_type, expire_date 参数

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