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

Commit

Permalink
Fix BaseOrderInfo's types (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Scopelliti authored and fb55 committed Jan 18, 2018
1 parent a02de7c commit 40b2b99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ declare module 'gdax' {

export interface BaseOrderInfo {
id: string;
price: number;
size: number;
price: string;
size: string;
product_id: string;
side: 'buy' | 'sell';
stp: 'dc' | 'co' | 'cn' | 'cb';
type: 'limit' | 'market' | 'stop';
created_at: string;
post_only: boolean;
fill_fees: number;
filled_size: number;
fill_fees: string;
filled_size: string;
status: 'received' | 'open' | 'done' | 'pending';
settled: boolean;
executed_value: number;
executed_value: string;
}

export interface OrderResult extends BaseOrderInfo {
Expand All @@ -74,7 +74,7 @@ declare module 'gdax' {
funds: number;
specified_funds: number;
done_at: string;
executed_value: number;
executed_value: string;
}

export type PageArgs = {
Expand Down

0 comments on commit 40b2b99

Please sign in to comment.