Investing is hard. Only 3 percent of day-traders make a profit. However, there is a whole body of research going into algorithms that outperform the market. The algorithms that perform well are conceptually simple, but not necessarily easy to implement. With Kandula, you trade algorithms instead of companies. You can find a myriad of trading algorithms that are open-source and easily customizable (without code!). With this project, I hope to provide a proof-of-concept to reduce barriers to algorithmic trading.


Free Algorithm Hosting

With Kandula, the size of our project is small enough that (for the time being) we can provide free hosting for all user algorithms. So, once you add an algorithm to your portfolio, we will host it on the cloud so that it will make trades for you.

Open-source Code

The code for the user-interface is freely available on the github, and the backend code for running the algorithms also has a github.

No-code tunable algorithms

You can easily customize the provided algorithms, without code, by varying different parameters.


You can test that your customized algorithm works and backtest it using our freely provided historical data.

Connect to Alpaca and Robinhood account

Once you tune and test an algorithm, you can let it make trades using your Alpaca and (not Robinhood because the API has changed) accounts.


You can download via the project's github.


What is the meaning of "Kandula"?

Kandula is the name of an elephant in Sri Lankan legends. Kandula was a battle elephant known for its wisdom and courage, bringing success to the Sri Lankan prince Dutugemunu. I hope that this app can be to individual investors what the elephant was to Dutugemunu -- a source of wisdom in the battle of investing.

What is the motivation for Kandula?

At the beginning of 2020, my family and friends all lost a significant amount of money in the stock market. Fearing that the market would collapse, they sold stocks at inopportune times. If they had traded with more robust strategy (or reacted quicker to stock price changes) they could have avoided these losses. I wanted to give them a tool to trade smarter, without having to learn to code or analyze stocks on a daily basis.