aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/manual_instrument_upload.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/manual_instrument_upload.py b/python/manual_instrument_upload.py
index a2e6d256..443b2ef4 100644
--- a/python/manual_instrument_upload.py
+++ b/python/manual_instrument_upload.py
@@ -2,12 +2,12 @@ import sys
sys.path.append("/home/flint/projects/ops/serenitas/")
from ops.funds import SeleneProd
-from ops.trade_dataclasses import SwaptionDeal
+from ops.trade_dataclasses import IRSDeal
-trade_ids = [322, 324]
+trade_ids = [1]
buffers = []
for tradeid in trade_ids:
- buffers.append(SwaptionDeal.from_tradeid(tradeid).product.to_citco())
+ buffers.append(IRSDeal.from_tradeid(tradeid).product.to_citco())
SeleneProd.staging_queue.extend(buffers)
SeleneProd.build_buffer()