547 浏览
0
<span class="n">order</span> <span class="o">=</span> <span class="n">api</span><span class="o">.</span><span class="n">insert_order</span><span class="p">(</span><span class="n">symbol</span><span class="o">=</span><span class="s2">"SHFE.rb1901"</span><span class="p">,</span> <span class="n">direction</span><span class="o">=</span><span class="s2">"BUY"</span><span class="p">,</span> <span class="n">offset</span><span class="o">=</span><span class="s2">"OPEN"</span><span class="p">,</span> <span class="n">limit_price</span><span class="o">=</span><span class="mi">4310</span><span class="p">,</span><span class="n">volume</span><span class="o">=</span><span class="mi">2</span><span class="p">)
用insert_order下单后,订单的状态有哪些?
</span>
李思恒 已回答的问题 2024年6月4日
0

https://doc.shinnytech.com/tqsdk/latest/reference/tqsdk.objs.html?highlight=order#tqsdk.objs.Order
可以看下这个字段

李思恒 已回答的问题 2024年6月4日