I'm building a Coinigy trading bot in Node.js . What I've got now is a simple program that can communicate using the rest API (buy sell etc) and it can open the websocket API and get trade information of multiple coins at once. The coins are set in a json file.
The next part is getting harder for me, I want it to do on all the coins set in the json file, from which I receive the information (at once):
1) save the trade information I'm receiving (prices, times etc)
2) be able to load that information again
3) Work with that trade information. Probably along these lines: "Is there a balance on a coin? if yes goto sell, if no goto buy" "buy and sell = strategy..."
4) I want to write manual buy and sell scripts with which I can write trading strats and test them/use them
5) probably backtesting should work. Paper trading at the minimum.
6) the buy and sell scripts should be in separate files, maybe using the ta-lib or tulip library? I should be able to write and load those files.
7) it does not have to be fancy looking at all.
I'm coding this myself, but it would be great to have some help building the framework, from which I can write the strategies myself.
Thanks for your time!