aboutsummaryrefslogtreecommitdiffstats
path: root/python/manual_instrument_upload.py
blob: 7091b5fba5727c8b2e44fa307035c0db98d2762a (plain)
1
2
3
4
5
6
7
8
9
10
from serenitas.ops.funds import SeleneProd
from serenitas.ops.trade_dataclasses import CDSDeal

trade_ids = [4919]

buffers = []
for tradeid in trade_ids:
    buffers.append(CDSDeal.from_tradeid(tradeid).product.to_citco())
SeleneProd.staging_queue.extend(buffers)
SeleneProd.build_buffer()