和顺 / 衡律 返回所属 Agent
17.8

执行算法和场所选择

原能力

在已批准边界内选择执行算法和场所,保留价格、费用及容量依据。(合同附件 R7 17.8)

首选项目

NautilusTrader(LGPL-3.0(仓库标注))。 NautilusTrader

匹配范围

Execution algorithm/venue 适配框架用于研究与仿真。

源码

NautilusTrader · pub trait ExecutionAlgorithmNative

crates/trading/src/algorithm/core.rs · 111–124 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
pub trait ExecutionAlgorithmNative: DataActorNative {
    /// Returns the execution algorithm core.
    fn exec_algorithm_core(&self) -> &ExecutionAlgorithmCore;

    /// Returns the mutable execution algorithm core.
    fn exec_algorithm_core_mut(&mut self) -> &mut ExecutionAlgorithmCore;

    /// Returns a clone of the reference-counted portfolio.
    ///
    /// # Panics
    ///
    /// Panics if the execution algorithm has not been registered.
    fn portfolio_rc(&self) -> Rc<RefCell<Portfolio>> {
        self.exec_algorithm_core()
  • // Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.

实现与验收要点

具名执行方法、实盘资格、场所比较和资本权限。