diff --git a/core/views/trades.py b/core/views/trades.py index 58a7a75..edaadd5 100644 --- a/core/views/trades.py +++ b/core/views/trades.py @@ -21,8 +21,8 @@ log = logs.get_logger(__name__) class TradeAction(LoginRequiredMixin, OTPRequiredMixin, ObjectRead): - context_object_name_singular = "position" - context_object_name = "positions" + context_object_name_singular = "trade" + context_object_name = "trades" detail_url_name = "trade_action" detail_url_args = ["type", "account_id", "trade_id"]