3939
4040class TestPolymarketRealExchangeTester (RealExchangeTester ):
4141 EXCHANGE_NAME = "polymarket"
42- SYMBOL = "will-bitcoin-replace-sha-256-before-2027/USDC"
43- SYMBOL_2 = "will-the-us-confirm-that-aliens-exist-before-2027/USDC"
44- SYMBOL_3 = "10pt0-or-above-earthquake-before-2027/USDC"
42+ SYMBOL = "will-bitcoin-replace-sha-256-before-2027/USDC:USDC-261231 "
43+ SYMBOL_2 = "will-the-us-confirm-that-aliens-exist-before-2027/USDC:USDC-261231 "
44+ SYMBOL_3 = "10pt0-or-above-earthquake-before-2027/USDC:USDC-261231 "
4545 TIME_FRAME = TimeFrames .ONE_MINUTE
4646 MARKET_STATUS_TYPE = trading_enums .ExchangeTypes .OPTION .value
4747
@@ -56,9 +56,16 @@ async def test_time_frames(self):
5656 ))
5757
5858 async def test_active_symbols (self ):
59- await self .inner_test_active_symbols (18412 , 18412 )
59+ await self .inner_test_active_symbols (17000 , 19000 )
6060
6161 async def test_get_market_status (self ):
62+ # Debug code to print the symbol of the slugs
63+ # slugs = ['10pt0-or-above-earthquake-before-2027', 'will-bitcoin-replace-sha-256-before-2027', 'will-the-us-confirm-that-aliens-exist-before-2027']
64+ # async with self.get_exchange_manager() as exchange_manager:
65+ # for market in exchange_manager.exchange.connector.client.markets:
66+ # for slug in slugs:
67+ # if market.startswith(slug):
68+ # print(exchange_manager.exchange.connector.client.markets[market])
6269 for market_status in await self .get_market_statuses ():
6370 self .ensure_required_market_status_values (market_status )
6471 self .check_market_status_limits (market_status , has_price_limits = True )
0 commit comments