get the broker position from the account

To add comments, please log in or register
mg4615
7
mg4615  

hello 

is there a code or a function that returns the account open lots (long or short) for a specific symbol???

thanks!!! 

whroeder1
17954
whroeder1  

Loop through all open positions, filter by symbol, sum up lots.

Since there are no slaves here, you have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt and the nature of your problem.

To add comments, please log in or register