tradestation-api-ts
Version:
A comprehensive TypeScript wrapper for TradeStation WebAPI v3
19 lines (18 loc) • 425 B
TypeScript
export interface ClientConfig {
clientId?: string;
clientSecret?: string;
refresh_token?: string;
maxConcurrentStreams?: number;
environment?: 'Simulation' | 'Live';
}
export interface AuthResponse {
access_token: string;
refresh_token: string;
token_type: string;
expires_in: number;
}
export interface ApiError {
error: string;
error_description?: string;
status?: number;
}