中文 | En

价格触发

价格触发 是一种本地条件单。创建后,系统会监控所选的价格类型;当价格满足触发条件时,自动发送委托。

该功能适合 盘中使用。如果需要在开盘前设置条件单,推荐使用 大于小于,因为大于小于可以手动指定触发方向。

⚠️ 重要提示:服务器单 外,无限易的算法单均为本地算法单,依赖行情或成交回报触发。若因网络延迟、断线、软件关闭等原因导致算法无法正常运行,无限易不承担相关责任。

如需在软件关闭或断网后继续运行,请使用 服务器单(仅支持 CTP)。

位置:下单板 → Smart Order → 价格触发

视频:3 分钟学会价格触发下预埋单 by 草莓同学

使用方法

USERGUIDE
  1. 开启价格触发算法

    下单板Smart Order 下拉框中选择 价格触发。在弹窗中设置参数后,点击 开始使用

  2. 创建价格触发单

    下单板 设置好 价格、数量、开平、账号 等信息,然后下单。

只有 Smart Order 开启 时,才能下算法单。

Smart Order 关闭 时,下单会变为普通委托;关闭 Smart Order 不会影响此前已经创建的算法单。

如果将价格触发作为止盈止损单使用,请注意下单板上的 开平 方向是否正确。

USERGUIDE

触发条件

价格触发会根据创建算法时的 价格类型委托价,自动判断触发方向。

价格类型 支持:

  • 对手价
  • 最新价

委托价 是触发价格,即下单板中填写的价格。

创建算法时的价格关系 自动生成的触发条件 含义
委托价 > 当前价格类型价格 价格类型 ≥ 委托价 等价格上涨到委托价后触发
委托价 < 当前价格类型价格 价格类型 ≤ 委托价 等价格下跌到委托价后触发

🟡 盘前使用说明

开盘前通常没有有效的 对手价最新价。此时系统会使用 结算价 作为判断触发方向的参考价格。

因此,盘前使用价格触发时,系统自动生成的大于号或小于号方向可能不符合你的真实意图。

盘前建议使用 大于小于,手动指定触发方向。

如果一定要盘前使用价格触发,请在 算法列表 中检查 触发条件 栏位,确认不等号方向是否正确。

触发后的报单价格

触发条件满足后,系统会按照设置发送实际委托。

报单价格 支持:

  • 对手价
  • 最新价
  • 排队价
  • 触发价

其中,触发价 就是上文的 委托价,也就是下单板中填写的价格。

超价 用于提高成交概率:

  • 买入时:在报单价格基础上 + n 个 Tick
  • 卖出时:在报单价格基础上 - n 个 Tick
  • n = 0 时,不附加超价

Tick 是合约的最小变动单位。例如股指期货中,1 Tick = 0.2。

触发模式

价格触发支持两种模式:

  • 双向触发
  • 单向触发

一般情况下,选择 双向触发 即可。

双向触发

双向触发表示:无论是买入还是卖出,只要价格满足条件,都会创建价格触发算法。

创建算法时的价格关系 买入 卖出
委托价 > 最新价 等最新价上涨到委托价后买入 等最新价上涨到委托价后卖出
委托价 < 最新价 等最新价下跌到委托价后买入 等最新价下跌到委托价后卖出
USERGUIDE

无限下单窗口



单向触发

单向触发只对以下方向创建价格触发算法:

  • 买涨
  • 卖跌

相反方向会作为普通委托,直接报入交易所。

创建算法时的价格关系 买入 卖出
委托价 > 最新价 等最新价上涨到委托价后买入 直接作为普通委托报入交易所
委托价 < 最新价 直接作为普通委托报入交易所 等最新价下跌到委托价后卖出
USERGUIDE

无限下单窗口



委托管理

委托后,可在 算法列表 中管理价格触发单。

位置:菜单 → 交易 → 算法列表

USERGUIDE

未触发

当触发状态为 未触发 时,订单尚未发送至交易所。

此时,如果算法状态为 执行中已暂停,可以在算法列表中双击对应位置,修改价格或数量。

修改价格后,系统会重新比较价格类型和委托价,并自动更新触发条件中的不等号方向。其他条件不变。

已触发

触发条件满足后:

  • 运行状态变为 已完成
  • 触发状态变为 已触发

只要触发条件已经满足,无论最终是否成交,算法状态都会变为 已完成

触发后,可通过以下位置查看委托和成交状态:

⚠️ 注意事项

  • 价格触发是本地算法单。软件关闭后,算法不会继续运行,也不会保存记录;下次打开软件时无法查看此前未保存的本地算法单。
  • 执行中已暂停 的算法可以保存后下次继续执行: 手动保存:右键 - 储存为任务下单 自动保存:在 定时管家 中设置 详情见 任务下单说明
  • 执行过程中如果出现 错单,例如资金不足、不在交易时间等,或发生 手动撤单,算法会自动终止。




中文 | En

Stop

Stop is a local price-triggered conditional order. It places an order when the specified price condition is met. This function is suitable for intraday use. Before market open, use Above/Below instead.

⚠️ Important: Except for Server Trader, all InfiniTrader algorithms are local algo orders. They rely on market data and fills to trigger. If the software is closed, disconnected, or affected by network latency, the algorithm may fail to run. InfiniTrader is not liable for losses caused by these issues.

If you need the order to remain active when the software is closed or disconnected, use Server Trader. This is supported only for CTP.

Path: Trade Board → Smart Order → Stop

How to Use

USERGUIDE
  1. Enable the algorithm.

    In the Smart Order drop-down list on the Trade Board, select Stop. In the pop-up window, set the parameters and click Submit.

  2. Create the algorithm.

    On the Trade Board, set Price, Vol, O/C, Account, and other order information, then place the order.

Notes:

  • Algo orders can be placed only when Smart Order is enabled.
  • When Smart Order is disabled, orders are submitted as Normal orders. Disabling Smart Order does not affect algo orders already placed.
  • The O/C setting follows the selection on the Trade Board. When using Stop as a take-profit / stop-loss order, check the O/C switch before placing the order.
USERGUIDE

Trigger Conditions

The order is sent when the selected Price Type is greater than or equal to, or less than or equal to, the Order-Px.

Price Type supports:

  • Aggressive
  • Last

Order-Px is the trigger price entered on the Trade Board.

When the algorithm is created, it automatically determines whether to use >= or <= by comparing Price Type with Order-Px:

  • If Order-Px > Price Type, the trigger condition is Price Type >= Order-Px.
  • If Order-Px < Price Type, the trigger condition is Price Type <= Order-Px.

Before market open, Aggressive and Last are unavailable. The settlement price is used instead to determine the inequality direction. For this reason, use Above/Below before market open so you can manually set the direction.

If you must use Stop before market open, check whether the inequality direction in the Trigger-Condition column of Algos matches your intended direction.

Order Price Settings

This section defines the actual order price used after the trigger condition is met.

Price supports:

  • Aggressive
  • Last
  • Passive
  • Trigger Price

Trigger Price is the same as Order-Px, which is the price entered on the Trade Board.

Pay up adjusts the order price to increase the chance of execution:

  • For buy orders, add n ticks to the selected order price.
  • For sell orders, subtract n ticks from the selected order price.
  • When n = 0, no pay-up is added.

A tick is the minimum price increment. For example, for stock index futures, 1 tick = 0.2.

Trigger Mode

Two trigger modes are available: Single and Both. In most cases, select Both.

Both

In Both mode, a Stop algorithm is created for all directions, regardless of whether the order is a buy or sell order.

Using Last as the trigger reference:

Condition Result
Order-Px > Last The buy or sell order is triggered when Last rises to Order-Px.
Order-Px < Last The buy or sell order is triggered when Last falls to Order-Px.

Single

In Single mode, a Stop algorithm is created only for buy-on-rise or sell-on-fall orders. The opposite direction is submitted directly to the exchange as a Normal order.

Using Last as the trigger reference:

Condition Buy Order Sell Order
Order-Px > Last Waits until Last rises to Order-Px, then submits the order. Submitted immediately as a Normal order.
Order-Px < Last Submitted immediately as a Normal order. Waits until Last falls to Order-Px, then submits the order.

Order Management

After placing the order, manage Stop orders in Algos.

Path: Menu → Trade → Algos

USERGUIDE

Before the Trigger Condition Is Met

The trigger status is Not Triggered.

In this status, the order has not been sent to the exchange.

For algorithms in Executing or Paused status, double-click the corresponding area in Algos to modify the price or volume. When the price is modified, the inequality sign in the trigger condition is recalculated automatically. Other conditions remain unchanged.

After the Trigger Condition Is Met

The running state becomes Finished, and the trigger status becomes Triggered.

Once the trigger condition is met, the status changes to Finished regardless of whether the order is filled.

After triggering, view the order and fill status in Order Book, or open Details in Algos.

Notes

  • Algo orders are stored locally. If the software is closed, the algorithm will not continue running or be saved. No record will be available the next time the software is opened.
  • Algorithms in Executing or Paused status can be saved manually by right-clicking and selecting Save As Designated Order, or automatically through settings in Time Master. The saved file can be imported next time to continue execution. See Designated Trader for details.
  • If a Fail order occurs during execution, such as insufficient funds or non-trading hours, or if the order is manually canceled, the algorithm is automatically terminated.
Copyright © InfiniTrader all right reserved,powered by Gitbook该文件修订时间: 2026-05-22 12:31:49

results matching ""

    No results matching ""

    results matching ""

      No results matching ""