github.com/frankrap/okex-api@v1.0.4/outer_api_test.go (about)

     1  package okex
     2  
     3  import "testing"
     4  
     5  func TestGetFinancialRates(t *testing.T) {
     6  	c := NewTestClient()
     7  	result, err := c.GetFinancialRates()
     8  	if err != nil {
     9  		t.Error(err)
    10  		return
    11  	}
    12  	t.Logf("%#v", result)
    13  }