-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
56 additions
and
49 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,70 +1,71 @@ | ||
import { sendMessageOptions } from '../../../../setters/types'; | ||
import { ticker24hrResponse } from '../../../restful/market/types'; | ||
|
||
export interface pingOptions { | ||
id?: number; | ||
} | ||
|
||
export interface exchangeInfoOptions { | ||
export interface exchangeInfoOptions extends sendMessageOptions { | ||
symbol?: string; | ||
symbols?: string[]; | ||
permissions?: string[]; | ||
} | ||
|
||
export interface orderbookOptions { | ||
export interface orderbookOptions extends sendMessageOptions { | ||
limit?: number; | ||
} | ||
|
||
export interface tradesOptions { | ||
export interface tradesOptions extends sendMessageOptions { | ||
limit?: number; | ||
} | ||
|
||
export interface historicalTradesOptions { | ||
export interface historicalTradesOptions extends sendMessageOptions { | ||
limit?: number; | ||
fromId?: number; | ||
} | ||
|
||
export interface aggTradesOptions { | ||
export interface aggTradesOptions extends sendMessageOptions { | ||
limit?: number; | ||
fromId?: number; | ||
startTime?: number; | ||
endTime?: number; | ||
} | ||
|
||
export interface klinesOptions { | ||
export interface klinesOptions extends sendMessageOptions { | ||
startTime?: number; | ||
endTime?: number; | ||
limit?: number; | ||
} | ||
|
||
export interface uiKlinesOptions { | ||
export interface uiKlinesOptions extends sendMessageOptions { | ||
startTime?: number; | ||
endTime?: number; | ||
limit?: number; | ||
} | ||
|
||
export interface ticker24hrOptions { | ||
export interface ticker24hrOptions extends sendMessageOptions { | ||
symbol?: string; | ||
symbols?: string[]; | ||
type?: string; | ||
} | ||
|
||
export interface tickerOptions { | ||
export interface tickerOptions extends sendMessageOptions { | ||
symbol?: string; | ||
symbols?: string[]; | ||
type?: string; | ||
} | ||
|
||
export interface tickerPriceOptions { | ||
export interface tickerPriceOptions extends sendMessageOptions { | ||
symbol?: string; | ||
symbols?: string[]; | ||
} | ||
|
||
export interface tickerBookOptions { | ||
export interface tickerBookOptions extends sendMessageOptions { | ||
symbol?: string; | ||
symbols?: string[]; | ||
} | ||
|
||
export interface Ticket24hr extends ticker24hrResponse { | ||
export interface Ticket24hr extends ticker24hrResponse, sendMessageOptions { | ||
weightedAvgPrice: string; | ||
lastQty: string; | ||
} |
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