mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-05 15:10:59 +00:00
Kucoin: Add order execution limits (#1369)
* cmd/exchange_template: Add wrapper function * exchanges: force UpdateOrderExecutionLimits to wrappers as this is important for order deployment * kucoin: Add spot order execution limits * linter: fix * glorious: nits * kucoin: change from name to symbol for correct fee fetching and order deployment * WHAAAAAAAT says Vitalik * kucoin: Add futures limit support, fix insertion of non margin tradable pairs, update naming and add comments. * kucoin: implement master branch changes * Update exchanges/kucoin/kucoin_test.go Co-authored-by: Scott <gloriousCode@users.noreply.github.com> * kucoin/test: update commentary --------- Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io> Co-authored-by: Scott <gloriousCode@users.noreply.github.com>
This commit is contained in:
@@ -2453,14 +2453,6 @@ func TestUpdateCurrencyStates(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestUpdateOrderExecutionLimits(t *testing.T) {
|
||||
t.Parallel()
|
||||
var b Base
|
||||
if err := b.UpdateOrderExecutionLimits(context.Background(), asset.Spot); !errors.Is(err, common.ErrNotYetImplemented) {
|
||||
t.Errorf("received: %v, expected: %v", err, common.ErrNotYetImplemented)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSetTradeFeedStatus(t *testing.T) {
|
||||
t.Parallel()
|
||||
b := Base{
|
||||
|
||||
Reference in New Issue
Block a user