refactor marketMaking test script
This commit is contained in:
parent
3e23d5977f
commit
e48ab5dbae
|
@ -5,6 +5,7 @@ import { Dex, FileKeypair } from "../src";
|
|||
process.on("beforeExit", () => console.log("Parent process exiting..."));
|
||||
|
||||
const main = async () => {
|
||||
console.log("Process: ", process.pid);
|
||||
const connection = new Connection("http://localhost:8899", "confirmed");
|
||||
|
||||
const owner = FileKeypair.generate("./scripts/keys/owner.json");
|
||||
|
@ -53,8 +54,7 @@ const main = async () => {
|
|||
console.log(`Funded owner with ${baseCoin.symbol} and ${quoteCoin.symbol}`);
|
||||
|
||||
dex.runMarketMaker(market, owner, {
|
||||
unref: true,
|
||||
durationInSecs: 30,
|
||||
durationInSecs: 15,
|
||||
orderCount: 3,
|
||||
initialBidSize: 1000,
|
||||
baseGeckoSymbol: "solana",
|
||||
|
|
Loading…
Reference in New Issue