Python project - Trade stocks based on data from csv files

Job ID: 36395765

Budget: $30 – $250 USD

Python project with the following steps:
1. Reading all stocks from few CSV files located in one folder
2. Trade the stocks from the files with Interactive Brokers
2a. If the ticker is in the file and not in current trade in IB then BUY at market price
2b. If the ticker is in trade in IB and also exist in file, then left as is - don't buy or sell (STAY)
2c. If the ticker exists in trade but don't exist in file - SELL (based on the previous file)
**** IGNORE other opened positions (that has been maybe opened manually) ******
3. The current sum amount all trades should be invested in the next trades
Fo example: If starting sum is 100$ in a result of 5 stocks, then each stock will be invested for
20$ (5 stocks * 20$ = 100$). After running a new process I receive 4 new stocks, then if the total
amount of old stocks invested was 120$ after profit, then I will invest 30$ for each new stock as a total
amount of 120$. The stocks appears in file there already in trade in IB (STAY) should be calculated.
4. Nice to Have --> Report file with results to csv or SQL db
5. Optional parameters to send with trades - % Stop, % Limit, % trailing
Related categories: Python Trading