ib: ignore throttles on `.get_head_time()`
							parent
							
								
									734c818ed0
								
							
						
					
					
						commit
						ac6a1b1521
					
				| 
						 | 
					@ -135,7 +135,10 @@ async def open_history_client(
 | 
				
			||||||
            # fx cons seem to not provide this endpoint?
 | 
					            # fx cons seem to not provide this endpoint?
 | 
				
			||||||
            'idealpro' not in fqsn
 | 
					            'idealpro' not in fqsn
 | 
				
			||||||
        ):
 | 
					        ):
 | 
				
			||||||
 | 
					            try:
 | 
				
			||||||
                head_dt = await proxy.get_head_time(fqsn=fqsn)
 | 
					                head_dt = await proxy.get_head_time(fqsn=fqsn)
 | 
				
			||||||
 | 
					            except RequestError:
 | 
				
			||||||
 | 
					                head_dt = None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        async def get_hist(
 | 
					        async def get_hist(
 | 
				
			||||||
            timeframe: float,
 | 
					            timeframe: float,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue