How can I get the available capital for trading on my account before opening a trade? Is there any function or variable for it?