Added note to exception when missing field in SpotPair class
							parent
							
								
									033ef2e35e
								
							
						
					
					
						commit
						f479252d26
					
				|  | @ -433,7 +433,11 @@ class Client: | ||||||
|                 item['filters'] = filters |                 item['filters'] = filters | ||||||
| 
 | 
 | ||||||
|             pair_type: Type = PAIRTYPES[venue] |             pair_type: Type = PAIRTYPES[venue] | ||||||
|             pair: Pair = pair_type(**item) |             try: | ||||||
|  |                 pair: Pair = pair_type(**item) | ||||||
|  |             except Exception as e: | ||||||
|  |                 e.add_note(f'\nDon\'t panic, check out this https://binance-docs.github.io/apidocs/spot/en/#exchange-information') | ||||||
|  |                 raise | ||||||
|             pair_table[pair.symbol.upper()] = pair |             pair_table[pair.symbol.upper()] = pair | ||||||
| 
 | 
 | ||||||
|             # update an additional top-level-cross-venue-table |             # update an additional top-level-cross-venue-table | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue