中文 | En

二择一

报两笔指定一高一低价格的单子,行情波动较快时,满足两笔其中任意一笔成交。

位置:下单板 - Smart Order - 二择一

视频:三分钟学会用二择一下预埋单 by 橘子

⚠️ 风险提示:除服务器单之外,无限易的算法皆为本地算法单,依赖行情 / 成交来触发,若因网络延迟 / 断线 / 软件关闭等原因导致算法无法正常运行,无限易不为此担责。

功能描述

设置上限/下限价格,激活时同时报两笔基于价格为触发条件的预埋单,一笔价格较高,另一笔价格较低。当行情触发到其中一笔时,则在触发价的基础上超价设定的 tick 进行报单。其中一笔触发或是终止,另一笔自动终止。

使用方法

  1. 点击 Smart Order,下拉框中选择二择一,填写参数,点击开始使用。

  2. 在下单板设置好 委托数量 并下单。

  • 点击 Smart Order 的  USERGUIDE   可修改参数。

  • 『算法列表 - Smart Order』窗口可管理和查看执行明细。

USERGUIDE

应用场景

预期逢低买进,但是低点未至下限触发买入,尽管行情快速上涨,仍能在上限位置触发买入。预期逢高卖出,但是高点未至上限触发卖出,尽管行情快速下跌,仍能在下限位置触发卖出。

算法列表

下单后可在『算法列表』窗口中查看并管理委托。

位置:交易 - 算法列表 - Smart Order

  • 算法单皆委托在本地,软件关闭,算法不会继续运行和保存(下次打开时无记录)
  • 手动(右键 - 储存为任务下单)或 自动『定时管家』窗口设置)储存执行中、已暂停的算法,下次导入文件继续执行,详见 任务下单说明

  • 执行过程中遇到 错单 (资金不足、不在交易时间等)、 手动撤单,算法自动终止。

注释

  • 上限价格不能小于最新价;下限价格不能大于最新价。

  • 上限价格需大于下限价格。

  • 委托触发之前可在『算法列表 -- SmartOrder』中查看算法进程以及明细;触发之后在实时回报中展示。

  • 二择一,仍有不成交的可能,可通过超价增加成交几率,请留意参数设置的合理性。




中文 | En

OCO

OCO (One-Cancels-the-Other) is a local price-triggered pre-set order. It creates two orders at specified prices, one higher and one lower. When either order is triggered or terminated, the other order is automatically terminated.

This function is useful when the market moves quickly and you want either of two price conditions to place an order.

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.

Path: Trade Board - Smart Order - OCO

How It Works

Set UpperLimit Price and LowerLimit Price. When the algorithm is activated, it creates two price-triggered pre-set orders at the same time:

Order Trigger Price
Higher-price order UpperLimit Price
Lower-price order LowerLimit Price

When market data triggers either order, the order is sent at the trigger price with the configured Pay up ticks applied.

After either order is triggered or terminated, the other order is automatically terminated.

How to Use

  1. In the Smart Order drop-down list on the Trade Board, select OCO.

  2. Enter the parameters and click Submit.

  3. On the Trade Board, set Vol and place the order.

Click the icon next to Smart Order to modify the parameters.

Manage the algorithm and view execution details in Algos - Smart Order.

USERGUIDE

Use Cases

Use OCO when you want either of two price conditions to execute first.

Scenario How OCO Helps
Buy on a pullback If the price does not fall to the lower trigger, OCO can still trigger a buy at the upper price when the market rises quickly.
Sell on a rally If the price does not rise to the upper trigger, OCO can still trigger a sell at the lower price when the market falls quickly.

Order Management

After placing the order, view and manage it in Algos.

Path: Trade - Algos - Smart Order

USERGUIDE

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.
  • UpperLimit Price cannot be lower than Last.
  • LowerLimit Price cannot be higher than Last.
  • UpperLimit Price must be greater than LowerLimit Price.
  • Before the order is triggered, view the algorithm progress and details in Algos - Smart Order. After triggering, view the order in Order Book.
  • OCO orders may still remain unfilled. Use Pay up to increase the chance of execution, and make sure the parameters are set reasonably.
Copyright © InfiniTrader all right reserved,powered by Gitbook该文件修订时间: 2026-05-22 15:01:09

results matching ""

    No results matching ""

    results matching ""

      No results matching ""