Skip to content

Commit

Permalink
add maker order params
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Nov 4, 2024
1 parent a7c49ab commit 32637a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/experimental-bots/swift/makerExample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export class SwiftMaker {
price: isOrderLong
? swiftOrderParams.price.muln(99).divn(100)
: swiftOrderParams.price.muln(101).divn(100),
postOnly: true,
immediateOrCancel: true,
})
);
const tx = await this.driftClient.txSender.getVersionedTransaction(
Expand Down

0 comments on commit 32637a9

Please sign in to comment.