Rethink overloads of find methods in internal object collections

Created at 03 Jan 2022, 17:16
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!
sirinath's avatar

sirinath

Joined 25.11.2021

Rethink overloads of find methods in internal object collections
03 Jan 2022, 17:16


The inadequacies of searching API can be mitigated by using Linq, but nevertheless it is desirable to have a better overloads for Find* methods. This can perhaps be better performance tuned than Linq. Little inefficiencies add up.

Also API can start using Symbol class than using a string for passing symbols. This will be a breaking change but it will make the API cleaner and more typesafe. Some API need to rethought like say FindBySymbol.


cTrader Automate
@sirinath