Author |
Topic: Showing Total Account Balance (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
estrader Posts: 55 Joined: May 04, 2007 |
How do I show the total Balance of my account in the Advanced Example?
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
Sorry, but I don't understand the question.
Total Balance is already shown by BalanceControl, please see BalanceControl.cs file for details. |
||||
estrader Posts: 55 Joined: May 04, 2007 |
It does not show total account balance when you 1st log in. It only shows Total balance when you open a position. Maybe because it is only updated with OnBalancedChanged event?
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
Yes, the required code is missing - thank you for pointing us to the bug.
You can add a handler for OnLoginComplete event and fill the initial balance there, or wait until we provide updated sample. |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Yes, that is what I have done.
|
||||