openapi-sdk icon indicating copy to clipboard operation
openapi-sdk copied to clipboard

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

Open jliasdb opened this issue 1 year ago • 1 comments

如题 谢谢大佬

jliasdb avatar Apr 29 '24 18:04 jliasdb

你可以创建一个 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 参数

huacnlee avatar Apr 30 '24 01:04 huacnlee

Hi, 我们正在努力清理问题,并关闭可能不再相关的旧问题。如果你依然还有类似的问题,请通过评论此问题让我们知道,我们会重新开启。如果您无法重现,请随时自行关闭问题,我们也有定期任务清理 14 天之前的旧问题。 We are actively cleaning up issues and closing those that may no longer be relevant. If you still have similar issues, please comment on this issue to reopen it. If you cannot reproduce the issue, please close it yourself, and we also have a scheduled task to clean up issues older than 14 days. Thank you!

github-actions[bot] avatar Mar 26 '25 05:03 github-actions[bot]

由于没有活动,此问题已关闭。如果您仍遇到此问题,请打开一个新问题并附上此问题的链接。 This issue was closed due to inactivity. If you still encounter this issue, please open a new issue and link to this issue. Thank you.

github-actions[bot] avatar Apr 07 '25 03:04 github-actions[bot]