From da1c1134f045e856fe41f5217aa8eaa6581dda7f Mon Sep 17 00:00:00 2001 From: Britt Cyr Date: Thu, 16 May 2024 11:15:03 -0400 Subject: [PATCH] add await --- ts/client/src/accounts/openOrders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/client/src/accounts/openOrders.ts b/ts/client/src/accounts/openOrders.ts index 57d631164..4671fc5a1 100644 --- a/ts/client/src/accounts/openOrders.ts +++ b/ts/client/src/accounts/openOrders.ts @@ -103,7 +103,7 @@ export class OpenOrders { // Need to reload orderbooks because not all information about orders, like // size, is stored on the open orders account. - this.market.loadOrderBook(); + await this.market.loadOrderBook(); return this; }