26 lines
418 B
Go
26 lines
418 B
Go
package main
|
|
|
|
import (
|
|
"lbank-connector-go/sve"
|
|
)
|
|
|
|
const (
|
|
apiKey = ""
|
|
secretKey = ""
|
|
)
|
|
|
|
var client = sve.NewClient(apiKey, secretKey)
|
|
|
|
func TestSupplementApiRestrictions() {
|
|
client.Debug = true
|
|
client.SetHost(sve.LbankApiHost)
|
|
data := map[string]string{
|
|
"symbol": "lbk_usdt",
|
|
"size": "1",
|
|
}
|
|
client.NewWalletService().SupplementApiRestrictions(data)
|
|
}
|
|
|
|
func main() {
|
|
TestSupplementApiRestrictions()
|
|
} |