SIGN IN SIGN UP

use correct account status path if the tld is .us, add param for version in Client.get_account_status

The paths for the .com and .us account status endpoints have diverged. We now check the tld configured in the Client and use path 'accountStatus' if the tld is .us. We also allow the caller to pass an api version, which defaults to 1 if not passed. This leaves the functionality the same for traders lucky enough to interact with the .com api.
O
OpenCoderX committed
e29140b331a6d289b71f772fd7cc638d85799e3f
Parent: e974c34
Committed by GitHub <noreply@github.com> on 10/2/2023, 2:17:44 AM