From 11fbc25df72e3fecd35bc872c78f28405f1a77a3 Mon Sep 17 00:00:00 2001 From: microwavedcola1 Date: Fri, 8 Sep 2023 13:45:51 +0200 Subject: [PATCH] ts: fix tcs order price limits Signed-off-by: microwavedcola1 --- ts/client/src/client.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/client/src/client.ts b/ts/client/src/client.ts index e6e265191..fdb0120db 100644 --- a/ts/client/src/client.ts +++ b/ts/client/src/client.ts @@ -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,