@stoqey/ibkr
Version:
NodeJS Interactive Brokers wrapper & utilities using @stoqey/ib
12 lines (11 loc) • 412 B
TypeScript
import type { Contract, WhatToShow } from "@stoqey/ib";
import type { Instrument, MarketData } from "../interfaces";
export declare const getSymbolKey: (contract: Contract | Instrument) => string;
export interface GetHistoricalData {
instrument: Instrument;
startDate: Date;
endDate?: Date;
whatToShow?: WhatToShow;
saveToDb?: (mkd: MarketData[]) => Promise<void>;
calculate?: boolean;
}