aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/api_quotes/api.py2
-rw-r--r--python/api_quotes/quotes.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/python/api_quotes/api.py b/python/api_quotes/api.py
index 41170d5d..15e080eb 100644
--- a/python/api_quotes/api.py
+++ b/python/api_quotes/api.py
@@ -28,6 +28,8 @@ class MarkitAPI:
"assetClass": _asset_class_to_markit[asset_class],
"apikey": cls.api_key,
"limit": 1000,
+ "sortBy": "receivedDateTime",
+ "descending": "true",
}
path = posixpath.join("parsing", "Quote", service)
diff --git a/python/api_quotes/quotes.py b/python/api_quotes/quotes.py
index 5d3cf8cf..7ef23145 100644
--- a/python/api_quotes/quotes.py
+++ b/python/api_quotes/quotes.py
@@ -14,6 +14,7 @@ class QuoteDetails(Deal, table="markit_quote_details", deal_type=None):
@dataclass
class SNCdsQuote(Deal, table="sn_cds_quotes", deal_type=None):
msg_id: id
+ quote_id: text
redcode: str
ticker: str
maturity: datetime.date