Skip to content
All library documents

Updating Strategy Parameters While a Trading Strategy Runs

Article vn.py community

Summary

This short forum exchange asks how to change a running strategy’s parameter without stopping it. The example is a strategy operating without a user interface that has a close flag initially disabled; another program would set the flag so the strategy can close positions promptly after receiving the update. The question is about command delivery and runtime control, rather than a market signal or trading rule.

A reply characterizes the strategy as fully automated and suggests using ScriptTrader as a possible route for a more semi-automated workflow. The exchange does not provide an implementation, explain how messages reach the strategy, or discuss synchronization, validation, or failure handling. It is therefore a pointer to a potential platform feature rather than a complete design. Anyone applying the idea would need to consult the referenced tool documentation and determine how parameter changes are safely applied in their own system.

Key ideas

  • The question concerns changing a live strategy parameter without stopping the strategy.
  • The example uses a flag to trigger an immediate position close.
  • The reply points to ScriptTrader for a semi-automated approach.
  • The discussion gives no implementation or guidance on update reliability.

Tags

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