diff --git a/examples/rfqs/00_create_rfq.py b/examples/rfqs/00_create_rfq.py index f9bcf632..8e69a2d1 100644 --- a/examples/rfqs/00_create_rfq.py +++ b/examples/rfqs/00_create_rfq.py @@ -86,26 +86,6 @@ def handle_quote(quotes: List[BestQuoteChannelResultSchema]): amount=D("1"), direction=Direction.sell, ), - # LegUnpricedSchema( - # instrument_name="ETH-20260125-3050-P", - # amount=D("1.0"), - # direction=Direction.sell, - # ), - # LegUnpricedSchema( - # instrument_name="ETH-20260125-2900-P", - # amount=D("1.0"), - # direction=Direction.sell, - # ), - # LegUnpricedSchema( - # instrument_name="ETH-20260125-3000-P", - # amount=D("1.0"), - # direction=Direction.buy, - # ), - # LegUnpricedSchema( - # instrument_name="ETH-20260126-2900-P", - # amount=D("1.0"), - # direction=Direction.buy, - # ), ] asyncio.run( create_and_execute_rfq( diff --git a/examples/rfqs/01_simple_rfq_quoter.py b/examples/rfqs/01_simple_rfq_quoter.py index 0324b228..b21360bd 100644 --- a/examples/rfqs/01_simple_rfq_quoter.py +++ b/examples/rfqs/01_simple_rfq_quoter.py @@ -99,7 +99,7 @@ async def on_quote(self, quotes_list: List[QuoteResultSchema]): # Here we could proceed to perform some type of hedging or other action based on the filled quote. if quote.status == Status.expired and quote.rfq_id in self.quotes: del self.quotes[quote.rfq_id] - self.logger.info(f" ✗ Our quote {quote.quote_id} expired Better luck next time!") + self.logger.info(f" ✗ Our quote {quote.quote_id} expired. Better luck next time!") async def run(self): await self.client.connect() diff --git a/examples/rfqs/02_delta_hedged_quoter.py b/examples/rfqs/02_delta_hedged_quoter.py index 41df392d..316c6e82 100644 --- a/examples/rfqs/02_delta_hedged_quoter.py +++ b/examples/rfqs/02_delta_hedged_quoter.py @@ -104,7 +104,7 @@ async def calculate_delta_from_quote( is_error = True break leg_delta = ticker.option_pricing.delta * leg.amount - # we are the SELLER of the quote so we are in efffect taking the opposite side of the leg direction + # we are the SELLER of the quote so we are in effect taking the opposite side of the leg direction # we therefore subtract the delta for buy legs and add for sell legs if leg.direction == Direction.sell: total_delta += leg_delta @@ -255,7 +255,7 @@ async def on_quote(self, quotes_list: List[QuoteResultSchema]): async with self.quoting_lock: if quote.status == Status.expired and quote.rfq_id in self.quotes: del self.quotes[quote.rfq_id] - self.logger.info(f" ✗ Our quote {quote.quote_id} expired Better luck next time!") + self.logger.info(f" ✗ Our quote {quote.quote_id} expired. Better luck next time!") elif quote.status == Status.filled and quote.rfq_id in self.quotes: del self.quotes[quote.rfq_id] self.logger.info(f" ✓ Our quote {quote.quote_id} was accepted!")