Add description to AMS policy form
This commit is contained in:
parent
89ef8408e6
commit
314d4022ea
|
@ -414,6 +414,7 @@ class ActiveManagementPolicyForm(RestrictedFormMixin, ModelForm):
|
||||||
model = ActiveManagementPolicy
|
model = ActiveManagementPolicy
|
||||||
fields = (
|
fields = (
|
||||||
"name",
|
"name",
|
||||||
|
"description",
|
||||||
"when_trading_time_violated",
|
"when_trading_time_violated",
|
||||||
"when_trends_violated",
|
"when_trends_violated",
|
||||||
"when_position_size_violated",
|
"when_position_size_violated",
|
||||||
|
@ -427,6 +428,7 @@ class ActiveManagementPolicyForm(RestrictedFormMixin, ModelForm):
|
||||||
)
|
)
|
||||||
help_texts = {
|
help_texts = {
|
||||||
"name": "Name of the active management policy. Informational only.",
|
"name": "Name of the active management policy. Informational only.",
|
||||||
|
"description": "Description of the active management policy. Informational only.",
|
||||||
"when_trading_time_violated": "The action to take when the trading time is violated.",
|
"when_trading_time_violated": "The action to take when the trading time is violated.",
|
||||||
"when_trends_violated": "The action to take a trade against the trend is discovered.",
|
"when_trends_violated": "The action to take a trade against the trend is discovered.",
|
||||||
"when_position_size_violated": "The action to take when a trade exceeding the position size is discovered.",
|
"when_position_size_violated": "The action to take when a trade exceeding the position size is discovered.",
|
||||||
|
|
Loading…
Reference in New Issue