Forces the accountSubscriber to fetch account updates from rpc
Get the address for the Clearing House User's account. NOT the user's wallet address.
Optional extra accounts to subcribe to. Always subscribes to base clearing house state and market account state by default. You should only subscribe to optional extra accounts if required, to avoid overloading your RPC.
Promise
Shorthand function to subscribe to all available Clearing House State Accounts
Promise
Unsubscribe from all currently subscribed state accounts
Update the wallet to use for clearing house transactions and linked user account
Generated using TypeDoc
Close an entire position. If you want to reduce a position, use the openPosition method in the opposite direction of the current position.