We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tested the perpetual contract of gateio, and the setleverage method was not implemented
The text was updated successfully, but these errors were encountered:
In the meantime you can hook directly into package level method if needed.
example:
e, ok := exch.(*gateio.Gateio) if !ok { panic("sad") } pair := currency.NewPair(currency.BTC, currency.USDT) pair.Delimiter = "_" // Required formatting leverage := 100 // lfg settlement := currency.USDT.Lower().String() _, err := e.UpdateFuturesPositionLeverage(context.Background(), settlement, pair, leverage, 0 /*this bad boy here is cross leverage limit*/) if err != nil { panic(err.Error()) }
Sorry, something went wrong.
shazbert
No branches or pull requests
New Issue
I tested the perpetual contract of gateio, and the setleverage method was not implemented
The text was updated successfully, but these errors were encountered: