ExchangeSharp icon indicating copy to clipboard operation
ExchangeSharp copied to clipboard

Okex api error 10007 - "Signature does not match"

Open vlebedev7 opened this issue 5 years ago • 3 comments
trafficstars

When I'm trying to make an Okex api call (for example GetAmountsAsync) I get error 10007 - "Signature does not match" as a response. Howerer if I try this api implementaion: https://github.com/okcoin-okex/open-api-v3-sdk then it works fine with the same api key credentials

vlebedev7 avatar Feb 06 '20 16:02 vlebedev7

Thanks for filing this bug. If you send a pull request with the solution, we'll be happy to merge it. If you don't know how, you can also post the updated code here.

vslee avatar Feb 06 '20 20:02 vslee

I found the source of this error. It happens because I try to use okex api v3 (which is apparantly not supported yet by this library). I can still use api v1, but okex says they will turn off v3 by the end of this month, which means that we won't be able to use okex with this library anymore

vlebedev7 avatar Mar 12 '20 11:03 vlebedev7

Good find. If you want to update the methods important to you to V3, I can merge those changes. In the meantime, I'll probably release a new NuGet today.

vslee avatar Mar 12 '20 21:03 vslee

@vslee, we can close this one.

BZ-CO avatar Dec 30 '22 13:12 BZ-CO