[关闭]
@BurdenBear 2017-04-11T07:56:36.000000Z 字数 1943 阅读 651

常用高级订单类型和算法

引擎使用文档


FxDayu为交易者封装了一些常用高级下单接口以及算法下单接口,通过这些接口交易者可以便捷地对订单进行更加精细化的操作,这在实盘交易中尤为有用。

订单组

将一系列订单归为一个订单组,订单组之间由不同ID进行区分,FxDayu将监听订单组中的订单成交事件,并进行相关处理。以下的高级下单方法均基于此实现。

高级下单方式:

One-Cancels-the-Other Order(OCO) 单个成交取消其他订单

One-Triggers-the-Other Order(OTO) 单个成交触发其他订单

Bracket Order 括号订单

Bracket 订单可以由OTO和OCO订单组合而成

图片来源:

https://www.fidelity.com/learning-center/trading-investing/trading/conditional-order-types

参考资料:

  1. https://www.interactivebrokers.com/en/index.php?f=617 (OCO Order)
  2. https://www.interactivebrokers.com/en/index.php?f=583 (Braceket Order)
  3. https://en.wikipedia.org/wiki/Order_(exchange)
  4. https://www.fidelity.com/learning-center/trading-investing/trading/conditional-order-types
  5. https://www.quantopian.com/posts/a-framework-to-manage-bracket-orders-with-sl-tp-and-additional-features-trailingstop-breakeven-expiration-and-advanced-statistics
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注