In Linkers::X this would translate into something like this:
Code:xMarketReplay replay1; xTime time1 ; // actual begin time of replay Microseconds resolution //init xTime.scDateTime(sierra_SCDateTime); // init xTime from SierraCharts SCDateTime replay1.loadHistory(20170101, 20171201); replay1.message("Hey mum, look at these charts...", "192.168.1.45:27017"); // my in-laws would like to see the replay too. replay1.out(chart1); // local MetaTrader chart replay1.replay(time1); //my mother in law happy ;-) Priceless
of course my Mother in laws computer is running Linkers::X on a remote location "192.168.1.45:27017", and she will get my lovely "Hey mum, look at these charts, next time this year I'm gonna be a millionaire" message
She will jut roll her eyes and think: Jesus, where this guy is coming from...
She will then press OK to "confirm replay" message with chuckle.
Replay starts in her browser in HTML5/Javascript charts. Everyone Happy?!
NO she's not happy, nor she ever will be. In fact she will just make a big sarcastic remark about the fact that this is just a market replay and i still haven't made any money yet, then she will probably gather the in-Laws for an Intervention, because I'm lazy as man can be and i medicate myself on her daughter's couch, watching charts on my laptop whole day long with a "day-dream" in my head that my martingale EA will make me a millionaire in 2 weeks before the EA gets a margin call ?!$%#@hahahaha
.
There are many reasons not to use std::whatever but you have not made any case for that yet.
In any case, if you use the iterator concept, I couldn't give care less about what containers you end up using.
The problem is that this kind of premature optimization-based decision making will percolate through the API and that is what makes me sad. You clearly have passion for the project but it will be a mess because of this kind of decision making.
If other people have been paying you to algo trade, they have way more money invested in making it fast. For retail traders, it's less relevant.
Is your mother in law going to trade ticks? fuck no, that's a good way to bankruptcy.
" message