From 314d4022eab4c25b6806b67b30809fe134359cb3 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 20 Feb 2023 17:21:33 +0000 Subject: [PATCH] Add description to AMS policy form --- core/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/forms.py b/core/forms.py index 2592d53..2df4c0c 100644 --- a/core/forms.py +++ b/core/forms.py @@ -414,6 +414,7 @@ class ActiveManagementPolicyForm(RestrictedFormMixin, ModelForm): model = ActiveManagementPolicy fields = ( "name", + "description", "when_trading_time_violated", "when_trends_violated", "when_position_size_violated", @@ -427,6 +428,7 @@ class ActiveManagementPolicyForm(RestrictedFormMixin, ModelForm): ) help_texts = { "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_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.",