How I can learn balance of the account from a code?
Author: Compaqster
Creation Date: 1/6/2011 1:13 PM
profile picture

Compaqster

#1
How I can learn balance of the account from a code?
profile picture

Cone

#2
Accessing the balance of a live Fidelity account is not possible because that info is not available to the script. Is that what you mean?
profile picture

Compaqster

#3
I would like to make something similar.
CODE:
Please log in to see this code.

get 10% of accounts
CODE:
Please log in to see this code.

I know that it is possible to expose percent from the capital in Wld.
It was only the example.
profile picture

Eugene

#4
Although you can use this solution to get the strategy equity in a script: Interacting Dynamically with Portfolio Level Equity, the only reliable way to do it is through a PosSizer. For simplicity's sake, forget about SetShareSize and get your feet wet coding a PosSizer:

Wealth-Lab Version 6 (.NET) Development Guide > Create a PosSizer
Home - MS123.PosSizers > Download Project Source (demo version)
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).