Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Add pageArgs to the getProductTrades definition #307

Merged
merged 1 commit into from
Apr 14, 2018
Merged
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
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ declare module 'gdax' {
getProductTicker(productID: string, ): Promise<ProductTicker>;

getProductTrades(productID: string, callback: callback<any>): void;
getProductTrades(productID: string, ): Promise<any>;
getProductTrades(productID: string): Promise<any>;

getProductTrades(productID: string, pageArgs: PageArgs, callback: callback<any>): void;
getProductTrades(productID: string, pageArgs: PageArgs): Promise<any>;

getProductTradeStream(productID: string, tradesFrom: number, tradesTo: any, callback: callback<any>): void;
getProductTradeStream(productID: string, tradesFrom: number, tradesTo: any): Promise<any>;
Expand Down