From 2e46909f8d81ba781e3130c463b673fd806bfd59 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 12 Nov 2024 12:42:37 -0800 Subject: [PATCH] add back jit maker config to jitmaker bot file --- src/bots/jitMaker.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/bots/jitMaker.ts b/src/bots/jitMaker.ts index 981a95ac..6280a49d 100644 --- a/src/bots/jitMaker.ts +++ b/src/bots/jitMaker.ts @@ -35,7 +35,18 @@ import dotenv from 'dotenv'; dotenv.config(); import { PublicKey } from '@solana/web3.js'; -import { JitMakerConfig } from '../config'; +import { BaseBotConfig } from '../config'; + +export type JitMakerConfig = BaseBotConfig & { + subaccounts?: Array; + marketType: string; + /// @deprecated, use {@link JitMakerConfig.marketIndexes} and {@link JitMakerConfig.marketType} + perpMarketIndicies?: Array; + marketIndexes?: Array; + targetLeverage?: number; + aggressivenessBps?: number; + jitCULimit?: number; +}; /** * This is an example of a bot that implements the Bot interface.