Best Answer Dr. McKay , 21 June 2019 - 12:57 AM
This is already done in the module via persisting to local disk with the
dataDirectory option (which you can redirect to go anywhere you want, including MongoDB). Update to v2.10.0 and you can override the maximum size of the asset cache, but beware that doing so will negatively impact performance as more and more items will need to be retrieved from the disk for every poll.
In practice, for the best performance, you will need more RAM the more trades you make.Go to the full post