Custom Filter Creation on Historical Records in Python on stock.

Job ID: 38027867

Budget: €30 – €250 EUR

Hi,

On a website that collects the history of 7000 actions in D1, I want to be able to create filters and name them.
For example I want to be able to create:
- a "Golden Cross" filter managed using a Python library:
EMA 50 crosses EMA 200 on the rise.
- a “Variation” filter:
// Percentage of movement over xdays
xPCMax = 10 // Percent variation
xdays = 8 // number of days over which the variation is calculated
Percent= (close/Close[xdays]-1)*100
with the condition:
Percent >= xPCMax

Then on the list of actions, you can select one of the filters from a drop-down list.
Filters can be deleted, modified etc...

Filters must be able to handle 4 conditions maximum.
The yfinance, numpy and pandas libraries are installed on a dedicated PHP server
Related categories: PHP JavaScript Python Data Mining Data Science