算法列表
算法列表用于管理算法,并查看算法执行明细,包括 Smart Order、移仓护卫、套利猎人、PythonGO、期权套利等。
位置:交易 → 算法列表
算法明细
默认标签为 全部,展示所有算法的基本信息。执行进度、算法参数等详细信息,需要切换到对应的算法标签查看。
点击 明细 栏中的 图标,打开 算法明细 窗口,查看该算法的执行明细。
管理算法
暂停算法:双击状态为 执行中 的算法,或选中算法后点击 。
暂停自定义套利算法时,系统会撤销其未成交委托;暂停其他算法时不会撤单。
开始算法:双击状态为 已暂停 的算法,或选中算法后点击 。
终止算法:选中算法后点击 。系统会撤销委托并终止算法。
算法执行期间如出现 错单(资金不足、不在交易时间等)或 手动撤单,算法将自动终止。
删除算法:选中算法后点击 ,删除该算法记录。删除未完成的算法时,系统会先终止算法,再删除记录。
再委托
选中算法并点击 再委托,可按照原指令重新下单。
委托数量默认为原指令数量,也可自定义数量。
支持再委托的算法:Smart Order、套利猎人、期权套利、VX 下单、CTP 服务器单。
对自定义套利进行再委托时,数量按份数计算。若实时行情中的自设组合配置发生变化,将按照新配置再次委托,但不包含 账号选择 和 下单比例。
关键字查找
使用 关键字查找,可对列表中的多个字段进行模糊筛选。多个关键字之间使用半角分号 ; 分隔,例如 hc;ic。
保存算法
- 网络断开时,算法无法正常运行。
所有算法均在 本地 运行。关闭软件后,算法将停止运行,且默认不会保存,下次打开软件时不会显示相关记录。
方法一:自动保存
| 支持算法 | 保存范围 | 使用方法 |
|---|---|---|
| 套利猎人 移仓护卫 期权套利 |
仅保存状态为 执行中 或 已暂停 的算法 | 在对应算法标签右上角勾选 |
| 套利猎人 | 将本次软件运行期间的所有算法列表记录保存为 CSV 文件;无法保存 已删除 算法的明细,也不能用于导入 | 在套利猎人标签右上角勾选 |
不同算法需要分别启用自动保存。
使用自动保存时,请勿关闭算法列表窗口。
方法二:手动导出与导入
| 支持算法 | 保存范围 | 使用方法 |
|---|---|---|
| 套利猎人 移仓护卫 期权套利 |
所有状态的算法 | 点击右上角的 |
方法三:储存为任务下单
| 支持算法 | 保存范围 | 使用方法 |
|---|---|---|
| Smart Order | 状态为 执行中 或 已暂停 的算法 | 打开右键菜单并选择 储存为任务下单。之后,在 任务下单 窗口中点击 |
方法四:定时自动导出
| 支持算法 | 保存范围 | 使用方法 |
|---|---|---|
| 套利猎人 移仓护卫 期权套利 Smart Order |
状态为 执行中 或 已暂停 的算法 | 在 定时管家 窗口中设置 定时自动导出 任务。 |
保存注意事项
算法部分成交后再保存,不会保存成交进度,数量将恢复为初始值。
自定义套利保存的是剩余份数。
恢复或导入后的算法处于 已暂停 状态,需要手动开始后才会执行。
保存套利猎人时,实时行情 → 自定义套利 中必须存在与保存前配置相同的组合,否则保存失败。可通过 导出配置,或使用 实时行情 → 自定义套利 窗口右上角的
和
同步配置。
若在 套利猎人 面板下单前为本笔算法(母单)设置了止盈或止损价差,只有母单执行剩余份数大于 0 时,才可自动或手动保存。
保存套利猎人时,如果算法已启用价格触发,请勿随意修改导出 CSV 文件中的 预埋标识:
0表示未开启,1表示已开启。
更改算法
改价
| 算法 | 修改方法 |
|---|---|
| 套利猎人 | 双击 价差 栏。 |
| Smart Order:价格触发、大于小于、开盘抢单 | 双击 触发价格 栏。 |
| Smart Order:随机冰山、经典冰山、幽灵、时间预约(价格为指定价时) | 双击 委托价格 栏。 |
| Smart Order:止盈止损(母单和子单均为预埋单类型时)、二择一 | 在 无限下单 中拖动数字。 |
其他算法暂不支持改价。
改量
| 算法 | 修改方法 |
|---|---|
| Smart Order:价格触发、大于小于、开盘抢单、竞价抢单、随机冰山、经典冰山、高效冰山、幽灵、时间预约 | 双击 算法数量 栏。 |
其他算法暂不支持改量。
Algos
Algos allows you to manage algorithms and view their execution details, including Smart Order, Rolling Guardian, Spread Hunter, PythonGO, and Options.
Go to Trade → Algos.
Video: Algos Explained in 10 Minutes by Juzi (Chinese)
Details
The All tab displays basic information for all algorithms by default. To view details such as execution progress and parameters, switch to the corresponding algorithm tab.
Click the icon in the Details column to open the Details window and view the execution details of the algorithm.
Manage Algorithms
Pause an algorithm: Double-click an algorithm with the Executing status, or select it and click .
Pausing a Custom Spread algorithm cancels its unfilled orders. Pausing other algorithms does not cancel orders.
Start an algorithm: Double-click an algorithm with the Paused status, or select it and click .
Terminate an algorithm: Select the algorithm and click . The system cancels its orders and terminates the algorithm.
The algorithm terminates automatically if an order fails—for example, because of insufficient funds or an invalid trading time—or is canceled manually during execution.
Delete an algorithm: Select the algorithm and click to delete its record. When you delete an incomplete algorithm, the system terminates it before deleting the record.
The terminated status is currently displayed as Terminatied in the application.
Replicate
Select an algorithm and click Replicate to place another order using the original instructions.
The order quantity defaults to the original instruction quantity. You can change it as needed.
Supported algorithms: Smart Order, Spread Hunter, Options, VX Trader, and Server Trader.
When replicating a Custom Spread algorithm, the quantity is calculated in copies. If the Custom Spread configuration in Markets has changed, the replicated order uses the new configuration, excluding Account Selection and Order Ratio.
Keywords
Use Keywords to filter multiple fields in the list by partial matches. Separate multiple keywords with semicolons, for example, hc;ic.
Save Algorithms
- Algorithms cannot run properly when the network is disconnected.
All algorithms run locally. They stop running when the application is closed and are not saved by default, so their records are unavailable the next time you open the application.
Method 1: Auto Save
| Supported algorithms | Scope | Method |
|---|---|---|
| Spread Hunter Rolling Guardian Options |
Algorithms with the Executing or Paused status | Select |
| Spread Hunter | Exports all Algos records created during the current application session to a CSV file; details of Deleted algorithms cannot be exported, and the file cannot be imported | Select |
Enable Auto Save separately for each algorithm type.
Keep the Algos window open while Auto Save is enabled.
Method 2: Manual Export and Import
| Supported algorithms | Scope | Method |
|---|---|---|
| Spread Hunter Rolling Guardian Options |
Algorithms in all statuses | Click |
Method 3: Save As Designated Order
| Supported algorithms | Scope | Method |
|---|---|---|
| Smart Order | Algorithms with the Executing or Paused status | Right-click the algorithm and select Save As Designated Order. In the Designated Trader window, click |
Method 4: Scheduled Auto Export
| Supported algorithms | Scope | Method |
|---|---|---|
| Spread Hunter Rolling Guardian Options Smart Order |
Algorithms with the Executing or Paused status | Add a Scheduled Auto Export task in the Time Master window. |
Saving Notes
If an algorithm is partially filled before it is saved, its fill progress is not saved and the quantity resets to the initial value.
For Custom Spread algorithms, the remaining copies are saved.
Restored or imported algorithms are Paused. Start them manually to resume execution.
To save a Spread Hunter algorithm, an identically configured combination must exist under Markets → Custom Spread. Otherwise, saving fails. Synchronize the configuration by using Export Configuration, or by clicking
and
in the upper-right corner of the Markets → Custom Spread window.
If a take-profit or stop-loss spread was configured for the parent order before it was submitted from the Spread Hunter panel, the algorithm can be saved automatically or manually only when the parent order has remaining copies greater than
0.When saving a Spread Hunter algorithm with price triggering enabled, do not change Pre-set Flag in the exported CSV file.
0means disabled and1means enabled.
Modify Algorithms
Change the Price
| Algorithm | Method |
|---|---|
| Spread Hunter | Double-click the Spread column. |
| Smart Order: Stop, Above/Below, Grab | Double-click the TriggerPrc column. |
| Smart Order: Iceberg Random, Iceberg Classic, Ghost, Timer (when Limit is selected) | Double-click the Price column. |
| Smart Order: Take Profit/Stop Loss (when both the parent and child orders are preset orders), OCO | Drag the value in InfiniTrader. |
Price modification is not currently supported for other algorithms.
Change the Quantity
| Algorithm | Method |
|---|---|
| Smart Order: Stop, Above/Below, Grab, Grab (Auction), Iceberg Random, Iceberg Classic, Iceberg Efficiency, Ghost, Timer | Double-click the ALGO-Qty column. |
Quantity modification is not currently supported for other algorithms.