Support Board
Date/Time: Fri, 14 Mar 2025 12:46:58 +0000
Accessing account level balance info
View Count: 126
[2025-01-14 00:17:17] |
TriStar Trading - Posts: 148 |
I am working on a study to use with Prop firms to track on screen tick-by-tick the current account balance and calculate the remaining amount of dollars left before a person blows their account. I have this done by taking the day begin balance, adding the day profit/loss, and subtracting the commissions for current balance. The challenge I am having is this only works at the symbol level within the account. Many people trade multiple symbols within an account during the day. Is the TradeAccountDataFields.m_CurrentCashBalance the net balance of the account including commissions? If so, I would not have to calculate the account balance. Also, if so, will this update on a tick-by-tick basis or is it dependent on an external service update cycle? Thanks for any help! Mike
|
[2025-01-14 00:25:31] |
TriStar Trading - Posts: 148 |
Update: I found sc.GetTotalNetProfitLossForAllSymbols(). Does this value include commissions? If not, is there a way to get the commission total at the account level?
|
[2025-01-14 16:01:05] |
Sierra_Chart Engineering - Posts: 18778 |
You need to ask your trading service about this: Is the TradeAccountDataFields.m_CurrentCashBalance the net balance of the account including commissions?
We do not know. No, definitely this does not update tick by tick: Also, if so, will this update on a tick-by-tick basis or is it dependent on an external service update cycle?
I found sc.GetTotalNetProfitLossForAllSymbols(). Does this value include commissions? If not, is there a way to get the commission total at the account level? It can include commissions that you set yourself:Chart Settings: Use Symbol Commission Setting in Trade List and Statistics Calculations (Chart >> Chart Settings >> Trading menu) Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: