ts: fix tcs order price limits
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
68b345f053
commit
11fbc25df7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue