Multi Currency Ticks and Bars eat Tons of memory. Load history starting from a certain date / or a maximum number of Bars or ticks

Created at 18 Feb 2020, 23:43
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
GE

genappsforex

Joined 25.11.2019

Multi Currency Ticks and Bars eat Tons of memory. Load history starting from a certain date / or a maximum number of Bars or ticks
18 Feb 2020, 23:43


When running Multi Currency Ticks and Bars take up gigabytes of memory
A lot of that information is not needed when I only want to go back for lets say 5 days.

Would be nice to load bars(MarketData.GetBars) and ticks (MarketData.GetTicks) starting from date yyyymmdd only (preferred)
or a maximum number of bars / ticks.

Or to be able to delete ticks and bars from their respective collections.



 


cTrader Automate
@genappsforex