61 lines
1.4 KiB
TypeScript
61 lines
1.4 KiB
TypeScript
/**
|
|
* QuestDB Client Library for Stock Bot
|
|
*
|
|
* Provides high-performance time-series data access with support for
|
|
* InfluxDB Line Protocol, SQL queries, and PostgreSQL wire protocol.
|
|
*/
|
|
|
|
export { QuestDBClient, readBars1m } from './client';
|
|
export { QuestDBHealthMonitor } from './health';
|
|
export { QuestDBQueryBuilder } from './query-builder';
|
|
export { QuestDBInfluxWriter } from './influx-writer';
|
|
export {
|
|
createIlpV2BatchWriter,
|
|
DEFAULT_ILP_MAX_BATCH_BYTES,
|
|
DEFAULT_ILP_MAX_BATCH_ROWS,
|
|
encodeBar1mIlpV2,
|
|
encodeFx1mIlpV2,
|
|
ILP_V2_DOUBLE_TYPE,
|
|
IlpV2EncodeError,
|
|
type Bar1mIlpV2Row,
|
|
type Bar1mSession,
|
|
type Fx1mIlpV2Row,
|
|
type IlpV2BatchSink,
|
|
type IlpV2BatchWriter,
|
|
type IlpV2BatchWriterOptions,
|
|
type IlpV2BatchWriterStats,
|
|
type IlpV2EncodeErrorKind,
|
|
} from './ilp-v2-writer';
|
|
export {
|
|
formatCreateTableSQL,
|
|
getM2IntradayDDL,
|
|
M2_INTRADAY_SCHEMAS,
|
|
QuestDBSchemaManager,
|
|
type M2IntradayTableName,
|
|
} from './schema';
|
|
|
|
// Types
|
|
export type {
|
|
Bar1mRow,
|
|
ColumnSchema,
|
|
InsertResult,
|
|
LatestByOptions,
|
|
OHLCVData,
|
|
ParameterizedQuery,
|
|
PerformanceData,
|
|
QueryResult,
|
|
QuestDBClientConfig,
|
|
QuestDBConnectionOptions,
|
|
QuestDBHealthStatus,
|
|
QuestDBMetrics,
|
|
QuestDBQueryable,
|
|
QuoteData,
|
|
RiskMetrics,
|
|
TableNames,
|
|
TableSchema,
|
|
TradeData,
|
|
IndicatorData,
|
|
} from './types';
|
|
|
|
// Note: Factory functions removed - instantiate directly with new QuestDBClient()
|
|
// or use the Awilix DI container (recommended)
|