Forum Applications Trading Strategies (Algo Quant)
Custom message handlers
-
daniel2014Participant 2013-02-22 at 9:16 am
Hello, We need to add a new message handler, but the only way we have found to do it is to rewrite the MessageHandlers enum, by adding the new element. Is there any other way to fix it?
Thanks a lot
Eduardo
-
Ken YiuParticipant 2013-02-22 at 5:56 pm
Hi Eduardo,
You are right. For the current version of AlgoQuant, dynamic installation of handlers is not yet supported. The only thing you need to do is to add one more enum constant (for the new message type) to [tt:3fl4ghil]MessageHandlers[/tt:3fl4ghil] (and add the corresponding interface for the handler). We will add this feature soon.
Please post your questions here if you find any difficulties when adding your custom message handler.
Thanks, Ken