Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Fix future reduce only (#378)
Browse files Browse the repository at this point in the history
Co-authored-by: Tibiddox <tibiddox@gmail.com>
  • Loading branch information
dengbn2 and Korovking authored Feb 25, 2023
1 parent 29d5de3 commit 426982d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object FutureOrderCreateParams {
stopPrice: BigDecimal,
closePosition: Boolean,
priceProtect: Boolean = false,
reduceOnly: Boolean = false,
reduceOnly: Option[Boolean] = None,
newClientOrderId: Option[String] = None,
workingType: FutureWorkingType = FutureWorkingType.CONTRACT_PRICE
) extends FutureOrderCreateParams
Expand All @@ -92,7 +92,7 @@ object FutureOrderCreateParams {
side: OrderSide,
positionSide: FuturePositionSide,
stopPrice: BigDecimal,
reduceOnly: Boolean = false,
reduceOnly: Option[Boolean] = None,
newClientOrderId: Option[String] = None,
closePosition: Boolean,
priceProtect: Boolean = false,
Expand Down

0 comments on commit 426982d

Please sign in to comment.