openpondai/agents/twap-bot
OpenTool app
typescript
export type TwapScheduleConfig = {
cron: string;
enabled: boolean;
notifyEmail: boolean;
};
export type TwapExecutionConfig = {
enabled: boolean;
environment: "mainnet" | "testnet";
leverage?: number;
};
export type TwapBotConfig = {
configVersion?: number;
platform: "hyperliquid";
signalType: "twap";
allocationMode: "fixed";
asset: string;
marketSymbol: string;
amountUsd: number;
schedule: TwapScheduleConfig;
twap: {
side: "buy" | "sell";
minutes: number;
randomize: boolean;
};
execution?: TwapExecutionConfig;
};