Skip to content

Commit

Permalink
chore: 1.1.1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
sketchthat committed Feb 17, 2019
1 parent ad7d59f commit 37af4ac
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/common.d.ts
@@ -1,6 +1,6 @@
import { HmacHeaders } from './interfaces/hmacResponse.interface';
export declare class Common {
private accountFloat;
accountFloat: number;
private uri;
constructor();
request(method: string, path: string, qs?: object, body?: object, headers?: HmacHeaders): Promise<any>;
Expand Down
2 changes: 2 additions & 0 deletions dist/index.d.ts
Expand Up @@ -9,10 +9,12 @@ export declare class BTCMarkets {
private marketClass;
private tradingClass;
private transactionClass;
private commonClass;
constructor(publicKey?: string, privateKey?: string);
account(): Account;
fundTransfer(): FundTransfer;
market(): Market;
trading(): Trading;
transaction(): Transaction;
getFloat(): number;
}
7 changes: 6 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion dist/index.spec.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/interfaces/trading/create.interface.d.ts
Expand Up @@ -4,4 +4,4 @@ export interface Create extends CommonResponseV2 {
clientRequestId: string;
}
export declare type CreateOrderSideType = 'Bid' | 'Ask';
export declare type CreateOrdertypeType = 'Limit' | 'Market';
export declare type CreateOrdertypeType = 'Limit' | 'Market' | 'Stop Limit';
2 changes: 1 addition & 1 deletion dist/trading.d.ts
Expand Up @@ -8,7 +8,7 @@ export declare class Trading {
private publicKey;
private privateKey;
constructor(publicKey?: string, privateKey?: string);
create(instrument: string, currency: string, price: number, volume: number, orderSide: CreateOrderSideType, ordertype: CreateOrdertypeType, clientRequestId: string): Promise<Create>;
create(instrument: string, currency: string, price: number, volume: number, orderSide: CreateOrderSideType, ordertype: CreateOrdertypeType, clientRequestId: string, triggerPrice?: number): Promise<Create>;
cancel(orderIds: number[]): Promise<Cancelled>;
history(instrument: string, currency: string, limit?: number, since?: number, indexForward?: boolean): Promise<History>;
open(instrument: string, currency: string): Promise<Orders>;
Expand Down
8 changes: 6 additions & 2 deletions dist/trading.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37af4ac

Please sign in to comment.