Skip to content
All library documents

Sending Market Orders in VeighNa Strategies

Article vn.py community

Summary

The discussion asks whether VeighNa strategies can submit market orders and gives a practical example: close a position after it has been open for 30 minutes if neither its profit target nor stop has been reached. The reply suggests either placing an order manually or customizing the strategy module, then points to the engine’s order-submission function as the place to change behavior.

This offers a starting point for traders who need time-based exits or order types beyond the framework’s ordinary limit-order flow. However, the response is brief and does not provide implementation steps, code, or a worked example. It also does not explain how market orders interact with the broker gateway, price slippage, partial fills, or strategy state. The conversation is therefore useful as a pointer to the relevant customization area, but users would need to inspect the framework and validate order handling in their own setup before relying on it.

Key ideas

  • The question concerns closing positions by market order after a time limit when neither target nor stop has triggered.
  • The reply suggests manual orders or customization of the strategy module.
  • It identifies the engine’s order-submission function as a place to investigate for changing order behavior.
  • No implementation example or guidance on fills, slippage, or gateway support is provided.

Tags

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