@ -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"]