ts: fix tcs order price limits

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-09-08 13:45:51 +02:00
parent 68b345f053
commit 11fbc25df7
1 changed files with 4 additions and 4 deletions

View File

@ -3554,8 +3554,8 @@ export class MangoClient {
sellBank,
buyBank,
);
const lowerLimit = thresholdPrice;
const upperLimit = Number.MAX_SAFE_INTEGER;
const lowerLimit = 0;
const upperLimit = thresholdPrice;
return await this.tokenConditionalSwapCreate(
group,
@ -3603,8 +3603,8 @@ export class MangoClient {
sellBank,
buyBank,
);
const lowerLimit = 0;
const upperLimit = thresholdPrice;
const lowerLimit = thresholdPrice;
const upperLimit = Number.MAX_SAFE_INTEGER;
return await this.tokenConditionalSwapCreate(
group,