If I understand what you are saying:
* In a BarPeriod=1440 system, the pool is adjusted at the end of the run() call.
* In a BarPeriod<1440 system, the pool is adjusted the instant a virtual trade is opened or closed.

Is this correct?

Last edited by AndrewAMD; 07/29/19 17:17. Reason: It is not correct.