Skip to content

Commit

Permalink
add back jit maker config to jitmaker bot file
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Nov 12, 2024
1 parent 98e38bd commit 2e46909
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/bots/jitMaker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<number>;
marketType: string;
/// @deprecated, use {@link JitMakerConfig.marketIndexes} and {@link JitMakerConfig.marketType}
perpMarketIndicies?: Array<number>;
marketIndexes?: Array<number>;
targetLeverage?: number;
aggressivenessBps?: number;
jitCULimit?: number;
};

/**
* This is an example of a bot that implements the Bot interface.
Expand Down

0 comments on commit 2e46909

Please sign in to comment.