mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 07:26:52 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -346,7 +346,7 @@ func (b *Binance) batchAggregateTrades(ctx context.Context, arg *AggregatedTrade
|
||||
//
|
||||
// KlinesRequestParams supports 5 parameters
|
||||
// symbol: the symbol to get the kline data for
|
||||
// limit: optinal
|
||||
// limit: optional
|
||||
// interval: the interval time for the data
|
||||
// startTime: startTime filter for kline data
|
||||
// endTime: endTime filter for the kline data
|
||||
|
||||
@@ -2410,7 +2410,7 @@ func TestExecutionTypeToOrderStatus(t *testing.T) {
|
||||
for i := range testCases {
|
||||
result, _ := stringToOrderStatus(testCases[i].Case)
|
||||
if result != testCases[i].Result {
|
||||
t.Errorf("Exepcted: %v, received: %v", testCases[i].Result, result)
|
||||
t.Errorf("Expected: %v, received: %v", testCases[i].Result, result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ type OrderBook struct {
|
||||
type DepthUpdateParams []struct {
|
||||
PriceLevel float64
|
||||
Quantity float64
|
||||
ingnore []interface{}
|
||||
ignore []interface{}
|
||||
}
|
||||
|
||||
// WebsocketDepthStream is the difference for the update depth stream
|
||||
@@ -894,7 +894,7 @@ type update struct {
|
||||
lastUpdateID int64
|
||||
}
|
||||
|
||||
// job defines a synchonisation job that tells a go routine to fetch an
|
||||
// job defines a synchronisation job that tells a go routine to fetch an
|
||||
// orderbook via the REST protocol
|
||||
type job struct {
|
||||
Pair currency.Pair
|
||||
|
||||
Reference in New Issue
Block a user