3Branches0Tags
GL
glucryptoSync production with master template updates
4d3cf1112 days ago23Commits
typescript
export type DcaResolution = | "1" | "5" | "15" | "30" | "60" | "240" | "1D" | "1W"; export type ScheduleConfig = { cron: string; enabled: boolean; notifyEmail: boolean; }; export type DcaBasketEntry = { symbol: string; weight: number; }; export type ExecutionConfig = { enabled?: boolean; environment?: "testnet" | "mainnet"; symbol?: string; leverage?: number; slippageBps?: number; }; export type DcaAgentConfig = { configVersion?: number; platform: "hyperliquid"; signalType: "dca"; allocationMode: "fixed"; asset: string; amountUsd?: number; schedule: ScheduleConfig; resolution: DcaResolution; countBack: number; execution?: ExecutionConfig; dca: { preset?: string; symbols: DcaBasketEntry[]; slippageBps?: number; }; };