Skip to content
All library documents

How Spread Trading Algorithms Route Orders in VeighNa

Article vn.py community

Summary

This forum exchange clarifies the order-routing path in VeighNa's spread trading framework. A participant explains that an algorithm template's send-order method passes the request to the spread algorithm engine, which then forwards it to the main trading engine. The discussion distinguishes the strategy template's start-algorithm interface from the algorithm template's own order-sending method: the concrete algorithm implementation is where the relevant calls can be found.

The thread is useful as a code navigation aid for understanding how an order initiated by a spread algorithm reaches the trading engine. It points readers toward the engine, template, and algorithm modules, but does not explain order semantics, execution behavior, risk checks, or failure handling. It is a short troubleshooting discussion rather than a guide to a trading strategy, and it includes no performance evidence or market analysis.

Key ideas

  • The described routing chain goes from the algorithm template through the spread algorithm engine to the main trading engine.
  • The strategy's start-algorithm interface does not by itself reveal the full order-sending path.
  • The concrete algorithm implementation contains the calls that invoke the template's send-order method.
  • The discussion is limited to code navigation and does not cover execution quality, risk controls, or strategy performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.