Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ declare module 'binance-api-node' {
}): Promise<AggregatedTrade[]>
futuresTrades(options: { symbol: string; limit?: number }): Promise<TradeResult[]>
futuresUserTrades(options: {
symbol: string
symbol?: string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the symbol really optional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. While I am making my bot, and checking the docs I am making changes to my local node_modules folder and them, I am sharing this changes here.

My sugestions are proved with real money before share in PR's.

startTime?: number
endTime?: number
fromId?: number
Expand Down Expand Up @@ -1163,6 +1163,8 @@ declare module 'binance-api-node' {

export interface TrailingStopMarketNewFuturesOrder extends NewFuturesOrderBase {
type: 'TRAILING_STOP_MARKET'

quantity?:string
// default as the latest price(supporting different workingType)
activationPrice?: string
// min 0.1, max 5 where 1 for 1%
Expand Down