Skip to content
All library documents

Validating Order Prices Before Submission in VeighNa

Article vn.py community

Summary

This short forum exchange addresses how to detect an invalid order price before submitting an order through VeighNa. The response says the framework does not generally filter prices in advance, although its graphical interface prevents users from entering negative values. For other invalid prices, behavior depends on the trading interface: an exchange or gateway may reject the order and report the rejection through a callback. In the SimNow environment, the order status may instead update to canceled.

The discussion therefore distinguishes local input restrictions from validation performed by an external interface after submission. It does not provide a universal price-validation rule, code, or a list of market-specific price bands. Traders integrating order entry should account for interface-specific rejection callbacks and status updates, and should not assume that a lack of pre-trade filtering means an order will be accepted. The answer is a brief implementation note rather than a full guide to order validation.

Key ideas

  • VeighNa does not generally pre-filter order prices through its framework.
  • The graphical order-entry interface prevents negative price input.
  • Trading interfaces may reject other invalid prices and report the rejection through callbacks.
  • In SimNow, an invalid-price order may appear with a canceled status.

Tags

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