From 57153c9de32c7f3209c420c8b95d0e05bcc66f32 Mon Sep 17 00:00:00 2001 From: 4th-turning <43880+4th-turning@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:45:42 -0400 Subject: [PATCH] typo on json account node name (#39) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 676a94c..f1f0152 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ import TastytradeClient from "@tastytrade/api" const tastytradeClient = new TastytradeClient(baseUrl, accountStreamerUrl) const loginResponse = await tastytradeClient.sessionService.login(usernameOrEmail, password) const accounts = await tastytradeClient.accountsAndCustomersService.getCustomerAccounts() -const accountPositions = await tastytradeClient.balancesAndPositionsService.getPositionsList(accounts[0].accounts['account-number']) +const accountPositions = await tastytradeClient.balancesAndPositionsService.getPositionsList(accounts[0].account['account-number']) ``` ### Market Data