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