xfunding: fix spot order parameters

This commit is contained in:
c9s 2023-06-16 17:44:27 +08:00
parent 12aad7b292
commit e4ababd39e
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -887,7 +887,7 @@ func (s *Strategy) syncSpotPosition(ctx context.Context) {
Type: types.OrderTypeLimitMaker,
Quantity: orderQuantity,
Price: orderPrice,
Market: s.futuresMarket,
Market: s.spotMarket,
}
createdOrders, err := s.spotOrderExecutor.SubmitOrders(ctx, submitOrder)