跟踪止盈止损下单报错
问题描述
跟踪止盈止损下单报错
ctx_trade.submit_order(
symbol = ‘OPTX.US’,
order_type = OrderType.TSLPPCT,
side = OrderSide.Sell,
submitted_quantity = 1,
time_in_force = TimeInForceType.Day,
trailing_percent = 10,
limit_offset = Decimal(0.001),
remark = ‘OPTX.US’+"sell",
)
OPTX.US这个股票在app上可以下跟踪止盈止损单,为什么这里不行?
错误信息或结果截图
Traceback (most recent call last):
Cell In[32], line 7 ctx_trade.submit_order(
OpenApiException: OpenApiException: (code=602032, trace_id=5d771e7af0f27c75aaa417579bf557f3) Order type not supported for this stock
你可以再试试
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!
由于没有活动,此问题已关闭。如果您仍遇到此问题,请打开一个新问题并附上此问题的链接。 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.