Unfortunately i can not calculate Available Balance, how to get this figure from Power Language script.
Is there any function that can give it to me ? I've found just functions at screen attached.
Available Balance - how to get this figure from Power Language script
-
- Posts: 43
- Joined: 27 Oct 2019
- Has thanked: 29 times
- Been thanked: 1 time
Available Balance - how to get this figure from Power Language script
- Attachments
-
- 2022-06-30_17-37-41.png
- (16.9 KiB) Not downloaded yet
-
- 2022-06-30_17-13-25.png
- (14.18 KiB) Not downloaded yet
- Kate MultiCharts
- Posts: 575
- Joined: 21 Oct 2020
- Has thanked: 7 times
- Been thanked: 144 times
Re: Available Balance - how to get this figure from Power Language script
Hi andreinvest,
I’m posting my reply here as well just in case it might be useful to other users
Each supported broker provides a unique set of values, and if there's no pre-built function for some of them, you can create a function similar to existing ones, for example GetRTAccountNetWorth
For general OPT values there are the following functions:
GetRTCashBalance - Balance
GetRTAccountEquity - Equity
GetRTUnrealizedPL - Open P/L
I’m posting my reply here as well just in case it might be useful to other users
Each supported broker provides a unique set of values, and if there's no pre-built function for some of them, you can create a function similar to existing ones, for example GetRTAccountNetWorth
For general OPT values there are the following functions:
GetRTCashBalance - Balance
GetRTAccountEquity - Equity
GetRTUnrealizedPL - Open P/L
-
- Posts: 43
- Joined: 27 Oct 2019
- Has thanked: 29 times
- Been thanked: 1 time