feat: add drift functions to agent class

This commit is contained in:
michaelessiet
2025-01-14 12:43:28 +01:00
parent 69cfcd90d2
commit f0d84f6924
8 changed files with 223 additions and 36 deletions

View File

@@ -276,7 +276,7 @@ export async function driftPerpTrade(
symbol: string;
action: "long" | "short";
type: "market" | "limit";
price?: number;
price?: number | undefined;
},
) {
try {