-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4899 from rizer1980/PR/bybit-cancel-order
[bybit] cancel order
- Loading branch information
Showing
4 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
xchange-bybit/src/main/java/org/knowm/xchange/bybit/dto/trade/BybitCancelOrderPayload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.knowm.xchange.bybit.dto.trade; | ||
|
||
import lombok.Getter; | ||
import org.knowm.xchange.bybit.Bybit; | ||
import org.knowm.xchange.bybit.dto.BybitCategory; | ||
|
||
@Getter | ||
public class BybitCancelOrderPayload { | ||
|
||
private BybitCategory category; | ||
private String symbol; | ||
private String orderId; | ||
private String orderLinkId; | ||
private String orderFilter; | ||
|
||
public BybitCancelOrderPayload(BybitCategory category, String symbol, String orderId, String orderLinkId) { | ||
this.category = category; | ||
this.symbol = symbol; | ||
this.orderId = orderId; | ||
this.orderLinkId = orderLinkId; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters