shrimpy-node
Version:
Client for the Shrimpy API
19 lines (17 loc) • 528 B
text/typescript
import { Decimal } from 'decimal.js';
import { IExchangeApiError } from './iexchange-api-error';
export interface ILimitOrder {
id: string;
baseSymbol: string;
quoteSymbol: string;
amount: Decimal;
price: Decimal;
side: 'BUY' | 'SELL',
timeInForce: 'GTC' | 'IOC',
status: 'queued' | 'started' | 'open' | 'closed' | 'completed',
cancelRequested: boolean,
success: boolean,
errorCode: number,
errorMessage: string,
exchangeApiErrors: IExchangeApiError[]
}