17 lines
280 B
Go
17 lines
280 B
Go
package exam
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestFetchOHLCV(t *testing.T) {
|
|
symbol := "BTC/USDT"
|
|
timeframe := "1D"
|
|
since := int64(1672502400000)
|
|
limit := int64(100)
|
|
params := map[string]interface{}{
|
|
"rateLimit": true,
|
|
}
|
|
FetchOHLCV(symbol, timeframe, since, limit, params)
|
|
}
|