Hi guys, we are trying to generate trendlines dynamically
with live data (API) and plot the trendlines on a graph. If you know the concept,
it is a simple solution, but I am trying to explain as much as possible for
better understanding of the requirement. RAISE YOUR QUESTION BEFORE YOU ACCEPT
To work on this project, you should be good with: Stock
Markets, price candles (high, open, close and low values) Python, Pandas,
Trendlines, markers and angle of trendlines, etc. if you are not good, then pl.
The broad steps are as below:
1. Read the data (5 min. candles) through API
(Alpaca.markets), we can also share the sample code (you may need to finetune
it) to retrieve the data.
2. Plot the data on a graph (use native python
solutions – no 3rdparty or paid solutions).
3. Draw the trendlines.
3a. Trendlines will be drawn on top (red color) and
bottom (Green color) based on the current data (60 periods data will be used in
this – fixed number).
– based on the high values of the candle
– based on the low values of the candle.
4. Retrieve the new 5 min. candle and check the
information with trendlines marker data.
5. If new candle formed on the line (part of it
within in the line part of it out of the line), then don’t redraw the line, but
extend the line in the same angle.
If new candle formed outside (full body) of the
trendline (top or bottom), then generate an alert.
Stop extending the lines.
What extent the lines to be extended to the past
As long as the price is not above or below the
Demo the application on a web page before
approval. It will be tested in the realtime.
Once the demo approved, share the python files.
Python & python native libraries (no 3rd
party solutions or APIs, etc.).
Developer has to announce the timeline upfront.
Copyright © 2021 | Truelancer.com