aboutsummaryrefslogtreecommitdiffstats
path: root/python/api_quotes/quotes.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/api_quotes/quotes.py')
-rw-r--r--python/api_quotes/quotes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/api_quotes/quotes.py b/python/api_quotes/quotes.py
index 7ef23145..7302b411 100644
--- a/python/api_quotes/quotes.py
+++ b/python/api_quotes/quotes.py
@@ -12,7 +12,7 @@ class QuoteDetails(Deal, table="markit_quote_details", deal_type=None):
@dataclass
-class SNCdsQuote(Deal, table="sn_cds_quotes", deal_type=None):
+class Quote(Deal, table="sn_cds_quotes", deal_type=None):
msg_id: id
quote_id: text
redcode: str
@@ -43,5 +43,5 @@ class SNCdsQuote(Deal, table="sn_cds_quotes", deal_type=None):
)
@property
- def parent(self):
+ def message(self):
return QuoteDetails.from_tradeid(self.msg_id)