Skip to content
All library documents

Separating Pre-Trade Risk Checks from Strategy Stop-Losses in VeighNa

Article vn.py community

Summary

This brief forum exchange distinguishes two kinds of risk control in VeighNa, a trading framework. One participant asks how to force liquidation after a position in an instrument reaches a chosen loss. The reply explains that the framework’s risk controls check and filter orders before they are sent, while a loss-triggered exit belongs in the trading strategy’s own stop-loss logic.

The practical takeaway is to put a position-loss condition in the strategy when the desired behavior is to close an existing position after losses reach a threshold. Pre-order checks serve a different role: they can prevent or filter orders before submission. The exchange does not give implementation steps, code, or details about how to calculate losses or handle partial fills, so it is a conceptual pointer rather than a complete risk-control guide. Readers would need to consult framework documentation and account for their own execution and position-management requirements when implementing the rule.

Key ideas

  • VeighNa risk controls are described as checking and filtering orders before submission.
  • A loss-triggered liquidation should be implemented as stop-loss logic within the strategy.
  • Pre-trade order filtering and position-level loss exits address different control needs.
  • The exchange gives conceptual guidance but no implementation example.

Tags

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