instrument_id = 1 #ETH-PERP
amount_eth = 0.01
res = client.rest_create_market_order(instrument_id=instrument_id, is_buy=True, quantity=amount_eth)
lib/python3.10/site-packages/eip712_structs/types.py", line 189, in _encode_value
value.to_bytes(self.length // 8, byteorder='big', signed=False) # For validation
OverflowError: int too big to convert
When is_buy=False code works
instrument_id = 1 #ETH-PERP
amount_eth = 0.01
res = client.rest_create_market_order(instrument_id=instrument_id, is_buy=True, quantity=amount_eth)
lib/python3.10/site-packages/eip712_structs/types.py", line 189, in _encode_value
value.to_bytes(self.length // 8, byteorder='big', signed=False) # For validation
OverflowError: int too big to convert
When is_buy=False code works