v3.5.0: release v5 rest client for bybit APIs

This commit is contained in:
tiagosiebler
2023-02-23 12:15:47 +00:00
parent a786da23e3
commit caf205fe33
3 changed files with 19 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ export interface AccountOrderV5 {
updatedTime: string;
}
export interface BatchOrderResult {
export interface BatchCreateOrderResultV5 {
category: CategoryV5;
symbol: string;
orderId: string;
@@ -61,7 +61,7 @@ export interface BatchOrderResult {
createAt: string;
}
export interface BatchOrdersResult<T extends unknown[]> {
export interface BatchOrdersResponseV5<T extends unknown[]> {
result: {
list: T;
};
@@ -73,21 +73,21 @@ export interface BatchOrdersResult<T extends unknown[]> {
};
}
export interface BatchAmendOrderResult {
export interface BatchAmendOrderResultV5 {
category: CategoryV5;
symbol: string;
orderId: string;
orderLinkId: string;
}
export interface BatchCancelOrderResult {
export interface BatchCancelOrderResultV5 {
category: CategoryV5;
symbol: string;
orderId: string;
orderLinkId: string;
}
export interface SpotBorrowCheckResult {
export interface SpotBorrowCheckResultV5 {
symbol: string;
side: OrderSideV5;
maxTradeQty: string;