v5_rest_test.go 238 B

12345678910111213
  1. package yu_okx
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func TestV5(t *testing.T) {
  7. j_v5rest := NewV5Rest()
  8. defer j_v5rest.Close()
  9. j_v5rest.SetProxy("http://159:915@8.217.164.172:1195")
  10. fmt.Println(j_v5rest.PublicMark_price("BTC-USDT-SWAP"))
  11. }