0%

交易订单类型介绍

Filled相关Order类型:

  1. Market Order

    • 当订单规模很大时,broker可能会将订单拆分成多个规模较小的订单,导致以不同价格成交不同订单
    • bid-ask spreads 较大时风险较大
  2. Limit Order

    • Some brokers may charge different commissions between Market & Limit Orders.
  3. Market On Close(MOC) Order

    A Market-on-Close (MOC) order is a market order that is submitted to execute as close to the closing price as possible.

  4. Limit On Close(LOC) Order

    A Limit-on-close (LOC) order will be submitted at the close and will execute if the closing price is at or better than the submitted limit price.

  5. Market On Open(MOO) Order

    A Market-on-Open (MOO) order combines a market order with the OPG time in force to create an order that is automatically submitted at the market’s open and fills at the market price.

  6. Limit On Open(LOO) Order

    A Limit-on-Open (LOO) order combines a limit order with the OPG time in force to create an order that is submitted at the market’s open, and that will only execute at the specified limit price or better. Orders are filled in accordance with specific exchange rules.

  7. Martet To Limit(MTL) Order

    A Market-to-Limit (MTL) order is submitted as a market order to execute at the current best market price. If the order is only partially filled, the remainder of the order is canceled and re-submitted as a limit order with the limit price equal to the price at which the filled portion of the order executed.

  8. Iceberg/Reserve Orders

    提交大额股票、权证、期货和期权定单的投资者可能希望取消其定单的所有欲交易量以避免其他市场参与者可以预见并采取相应行动。冰山/保留属性(可在显示尺寸区域设置)可以帮助投资者以增量方式提交提交大宗定单,同时又只公开显示整体定单尺寸的某一特定部分。客户可以通过设置布局管理者或选择相应的区域向TWS的交易页面添加显示尺寸区域,输入定单时客户可以填充此项以显示整个定单的一部分。

    Investors submitting large volume orders for stocks, warrants, futures and options may wish to conceal the full size of their order to avoid anticipatory action from other market participants. The Iceberg/Reserve attribute, applied through the Display Size field, provides a way to submit large volume orders to the market in increments while publicly displaying only a specified portion of the total order size. The Display Size field can be added to a trading page within TWS by configuring the Layout Manager and selecting the appropriate field, which can be user-populated at the time of order input, to display just a fraction of the entire order.

TIMING / DURATION:

档提交一个订单后,当我们希望订单在指定时间内有效或订单的持续时间,可以使用如下订单类型

  1. Day Order

    A day order is an order to buy or sell a security that automatically expires if not executed on the day the order was placed. If it is not filled, it is canceled, and it is not filled if the limit or stop order price was not met during the trading session. It is one of several different order duration types that determines how long the order is in the market before it is canceled.

  2. Good Till Cancelled(GTC)

    A good 'til canceled (GTC) order can be placed by an investor to buy or sell a security at a specified price that remains active until it is either rescinded by the investor or the trade is executed. GTC orders offer an alternative to placing a sequence of day orders, which expire at the end of each trading day. Rather than leave orders open ended, which poses the risk of being forgotten by investors until an eventual execution, GTC orders are commonly set to expire of 30 to 90 days after the trades are entered.

    • GTC Buy Orders
    • GTC Sell Orders
  3. Good Till Date/Time(GTD)

    The GTD (Good-til-Date/Time) time in force lets you select an expiration date and time up until which an order will continue to work. Setting this attribute requires both a time in force selection of GTD, a date entry in the Expiration Date field, and a time entry in the Expiration Time field if that level of detail is required. Note that if you only enter a good-till date, the unfilled order will cancel at the close of the market on the specified day.

  4. Time Of Day Order

    An order to buy or sell an asset that is placed at a specific time period during a trading session. A time-of-day order enters the market at a predetermined minute and remains good until canceled, unless otherwise specified.

CONTIGENCY ORDERS

如果我们希望订单在满足某些特定条件才执行的话,特别是当你无法一直监视市场的时候。
这些订单类型允许交易者在一定条件满足时自动开仓或平仓。

  1. Fill Or Kill(FOK): 全额即时订单

    全额即时订单也称为全部即刻执行否则撤销订单,指要求立即以特定的价格(通常只能为限价)予以执行,否则撤销订单。全额即时订单只能全部成交,而不能成交订单数量的一部分。

    Fill or kill (FOK) is a type of time-in-force designation used in securities trading that instructs a brokerage to execute a transaction immediately and completely or not at all. This type of order is most likely to be used by active traders and is usually for a large quantity of stock. The order must be filled in its entirety or canceled (killed).

  2. Fill And Kill(FAK): 非全额即时订单

    非全额即时订单指要求立即以特定的价格(可以为限价或市价)予以执行,否则撤销的订单。非全额即时订单允许部分成交,在部分成交时未成交的部分立刻撤销。

  3. Immediate Or Cancel(IOC)

    The Immediate-or Cancel (IOC) time in force applied to an order dictates that any portion of the order that does not fill immediately will be canceled.

  4. All Or None(AON)

    All or none (AON) is an instruction used on a buy or sell order that instructs the broker to fill the order completely or not at all. ** If there are not enough shares available to fill the order completely, the order is canceled when the market closes. ** An AON order is considered a duration order because the investor provides instructions to the trader about how the order must be filled, which impacts how long the order remains active.

For Automatic OPENING of a Position

  1. Market If Touched(MIT) Order

    触价指令是指市场价格只要触及客户所规定的价格水平时就生效的指令。当市场价格触及指定价格时才执行买进或卖出动作。

    A Market if Touched (MIT) is an order to buy (or sell) an instrument below (or above) the market. Its purpose is to take advantage of sudden or unexpected changes in share or other prices and provides investors with a trigger price to set an order in motion. Investors may be waiting for excessive strength (or weakness) to cease, which might be represented by a specific price point. MIT orders can be used to determine whether or not to enter the market once a specific price level has been achieved. This order is held in the system until the trigger price is touched, and is then submitted as a market order. An MIT order is similar to a stop order, except that an MIT sell order is placed above the current market price, and a stop sell order is placed below.

  2. Limit If Touched(LIT) Order: 触及限价定单

    触及限价定单是一种以特定或更优的价格,以及低于(或高于)市价的价格买入(或卖出)金融产品的定单。这类定单被持有在系统中直到触发价格被触及。触及限价定单与限价止损定单相似,除了触及限价卖出定单以高于当前市场价格被下达,而限价止损卖出定单则是以低于市价被下达的。
    使用触及限价定单帮助确保,如果定单被执行的话,定单将不会以劣于限价的价格执行。

For Automatic CLOSING of a Position

  1. Stop Order: 止损定单

    止损定单指令系统在用户指定的止损触发价格被达到提交一份买或卖的市价单。止损定单不担保某个特定的执行价格且有可能执行价格远离其止损价格。卖出止损定单总是以低于当前的市场价格下达,通常用于限制某个多头股票头寸的损失或保护其利润。买入止损定单总是以高于当前的市场价格下达,通常用于限制某个卖空头寸的损失或帮助其保护利润。

  2. Stop Limit Order: 止损限价单

    止损限价单指令系统在用户指定的止损触发价格被触碰或超越时提交一份买或卖限价单。该定单由两个基本部分组成:止损价和限价。当一笔交易以止损价或通过止损价发生时,定单成为可执行的并以限价单(以某个特定的价格或更好的价格买入或卖出的定单)的形式进入市场。
    止损限价单避免了止损单具有的价格风险(此风险是指不能担保执行价格),但投资人需承担即使在止损价格达到时定单仍不能执行的风险。投资人有可能完全“失去市场”。

  3. Trailing Stop Order: 追踪止损定单

    一个卖出追踪止损定单将止损价格设置为低于市场价格的一个固定金额,并带有附加的“追踪”金额。随着市场价格上涨,止损价格上涨的幅度为追踪金额,但如果股票价格下跌,止损价格不改变,当止损价格被触及时,一份市价定单将被提交。这种方法被设计用来允许投资者对可能损失的最大值指定限额,而不用对可能收益的最大值设定限额。“买入”追踪止损定单是卖出追踪止损定单的镜像,最适合用在下跌的市场中。

  4. Trailing Stop Limit Order: 追踪止损限价定单

    追踪止损限价定单允许投资者对可能损失的最大值指定限额,而不用对可能收益的最大值设定限额。追踪止损限价卖出定单与市场价格一起移动,并根据用户定义的“追踪”金额,连续地以低于市价的固定金额重新计算止损触发价格。限价定单价格同样根据限价抵消被连续地计算。随着市场价格上涨,止损价格和限价的上涨幅度分别为追踪金额和限价抵消,但如果股票价格下跌,止损价格保持不变,当止损价格被触及时,一份限价定单将以最后计算的限价被提交。追踪止损限价“买入”定单是追踪止损限价卖出定单的镜像,并通常被用在下跌的市场中。

More COMPLEX Types of Contingency Orders

  1. Conditional / Contingent Order

  2. Bracketed Order: 括号定单

    括号定单旨在通过用两个方向相反的定单将定单“括”起来以帮助您限制损失、锁定利润。给买单加括号,使用的是一份高位卖出限价定单和一份低位卖出止损定单。给卖单加括号,使用的是一份高位买入止损定单和一份低位买入限价定单。
    高位和低位括号定单的定单数量与最初的定单数量相匹配。默认情况下,括号定单从当前价格偏离1.0。您能够在特定定单的定单行上更改该偏离金额,也可使用全局配置中的定单预设功能修改产品、合约或策略的默认水平值。

  3. One Cancels Other(OCO) & One Cancels All(OCA) Orders

    A one-cancels-the-other order (OCO) is a pair of orders stipulating that if one order is executed, then the other order is automatically canceled. A one-cancels-the-other order (OCO) combines a stop order with a limit order on an automated trading platform. When either the stop or limit level is reached and the order executed, the other order will be automatically canceled. Seasoned traders use OCO orders to mitigate risk.
    one-Cancels All (OCA) order type allows an investor to place multiple and possibly unrelated orders assigned to a group. The aim is to complete just one of the orders, which in turn will cause TWS to cancel the remaining orders. The investor may submit several orders aimed at taking advantage of the most desirable price within the group. Completion of one piece of the group order causes cancellation of the remaining group orders while partial completion causes the group to rebalance. An investor might desire to sell 1000 shares of only ONE of three positions held above prevailing market prices. The OCA order group allows the investor to enter prices at specified target levels and if one is completed, the other two will automatically cancel. Alternatively, an investor may wish to take a LONG position in eMini S&P stock index futures in a falling market or else SELL US treasury futures at a more favorable price. Grouping the two orders using an OCA order type offers the investor two chances to enter a similar position, while only running the risk of taking on a single position.

  4. One Triggers Other(OTO) & One Triggers All(OTA) Orders

订单优先原则

  1. 价格优先原则

    价格优先原则指交易所(或做市商)在对投资者的订单进行撮合时,按照价格的高低原则进行排序,较高价格的买进订单优先于较低价格的买进订单,较低价格的卖出订单优先于较高价格的卖出订单。

  2. 时间优先原则

    按比例分配原则是指所有订单在价格相同的情况下,成交数量基于订单数量按比例进行分配。纽约证券交易所的大厅交易、芝加哥期权交易所等采取了按比例分配的订单优先原则。

  3. 按比例分配原则

    按比例分配原则是指所有订单在价格相同的情况下,成交数量基于订单数量按比例进行分配。纽约证券交易所的大厅交易、芝加哥期权交易所等采取了按比例分配的订单优先原则。

  4. 数量优先原则

    在价格一样、甚至价格一样且无法区分时间先后的情况下,有些交易所规定应遵循数量优先原则。数量优先原则而有两种形式,一是在订单价格相同且时间也相同的情况下,订单数量较大者优先于订单数量较小者;二是在数量上完全匹配的订单(即买进订单和卖出订单在数量上相等)优先于数量不一致的订单。第一种形式使得经纪商优先处理数量较大的订单,因而提高了流动性;第二种形式则减少了订单部分执行的情况。

  5. 客户优先原则

    客户优先原则通常指在同一价格条件下,公共订单优先于经纪商自营账户的订单。纽约证券交易所采取这一原则,客户的订单优先于专家的订单。客户优先原则减轻了客户与经纪商自营之间的利益冲突。

参考

https://www.interactivebrokers.com/cn/index.php?f=3361
https://www.zhihu.com/question/23667442

Python量化交易实战
欢迎您扫码订阅我的微信公众号: pyquant
坚持原创技术分享,您的支持将鼓励我继续创作!

欢迎关注我的其它发布渠道