amuradon / sigpron

0 stars 0 forks source link

Process market data and compute first technical indicator #59

Open amuradon opened 5 months ago

amuradon commented 5 months ago

Consume and process market data like ticket, order book etc. Make sure this goes along with backtesting as there are limitations for historical data. If I would miss some area in historical data then the results would not accurate.

amuradon commented 5 months ago

I can get current as well as historic K-line data for last, index and mark price easily throw REST API. Using startTime and endTime the endpoint allows to get some portion of historical data that is even necessary for real-time technical indicator computation. Getting those historical data for backtesting is straigthforward as well. The functionality would be like this

amuradon commented 5 months ago

I was actually thinking if I could potentially use purely client-side charting library with technical indicators to calculate them for me. But there are 2 problems with that idea

For the first one there might be the solution to run it in browser headless mode or using HtmlUnit or such things. Not sure how reliable that would be. Basically I need all the calculation happen in back-end to process, compute and react even without any chart displayed. The chart is for my convenience to see what happened.