Hi
In case of a WithDraw message
I would like to know if the Client's ratio get updaded just before the onMessage function is invoked, or are the client's states updaded at the next onAccount function invocation (every ~5s)?
public void onMessage(IMessage m) throws JFException {
if (m.getType() == Type.WITHDRAWAL) {
IWithdrawalMessage m2 = (IWithdrawalMessage)m;
for (IClientInfo i : account.getClients()){
//i.getRatio() // new ratios ?
Thanks, sorry to ask this, but it's hard to test