neurallayer / roboquant

Roboquant is a fast, flexible, user-friendly and completely free algorithmic trading platform
https://www.roboquant.org
Apache License 2.0
325 stars 42 forks source link

Add support for extending the ktor server #82

Open ningsuhen opened 2 weeks ago

ningsuhen commented 2 weeks ago

The embedded ktor server has some default routes. It would be nice if I can add a few custom routes to display other stats or data. exposing the server or a way to pass additional modules to the ktor embedded application will help.

jbaron commented 2 weeks ago

Can see how to make it easier to extend. Could make some classes and properties non final.

Out of curiosity, do you have particular use cases in mind of things you would like to add?

ningsuhen commented 1 week ago

Sure, there are few use cases I have now but they could be very personalized for my strategies.

  1. I use the configuration as limits for the strategies and I want to display them in the UI.
  2. I want to store some highs and lows across restarts in redis. So, I want to be able to view the values from redis via the web UI.