dydxprotocol / dydx-v3-python

Python client for dYdX (API v3)
Apache License 2.0
304 stars 174 forks source link

Error on testnet for orders #201

Open Msantanche opened 1 year ago

Msantanche commented 1 year ago

Hello,

I am able to call all public and private endpoints I tested (eg. get account), but for some reason I get an invalid signature error for the create_order function. I suspect it is due to positionId, although I'm using the one from the account. Also, the very same functions work on mainnet.

Any suggestions?

chasseurmic commented 1 year ago

I think I have the same error with the Typescript client. I’m able to call all other methods but when I create the order it fails the signature. Still have to try on the mainnet.

dansleboby commented 1 year ago

For me I was need to set network_id=5 in my client initialization to make it work on testnet, I don't know why and how, just check the process in JS website of dydx to find it