mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-22 23:16:48 +00:00
Engine improvements
This commit is contained in:
@@ -116,7 +116,15 @@ func testWrappers(e exchange.IBotExchange) []string {
|
||||
funcs = append(funcs, "GetFundingHistory")
|
||||
}
|
||||
|
||||
_, err = e.SubmitOrder(p, exchange.BuyOrderSide, exchange.LimitOrderType, 1000000, 10000000000, "meow")
|
||||
s := &exchange.OrderSubmission{
|
||||
Pair: p,
|
||||
OrderSide: exchange.BuyOrderSide,
|
||||
OrderType: exchange.LimitOrderType,
|
||||
Amount: 1000000,
|
||||
Price: 10000000000,
|
||||
ClientID: "meow",
|
||||
}
|
||||
_, err = e.SubmitOrder(s)
|
||||
if err == common.ErrNotYetImplemented {
|
||||
funcs = append(funcs, "SubmitOrder")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user