Basic Python program for analysing shares

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

So I want to see the likelihood of a share hitting a price point within that same day. It'll start with a .csv file containing the minute by minute movements of a share price over previous days. The program will need to:

- I'll need to be able to input the number of days I want it to go back (Or just type 'full' if I want it to use every day in the file). It'll then have to separate the days and apply the below to each day individually.

- It will need to ask me for a column name from which to take the data. 

- It will need to allow me to set a 'higher' price target. This higher target will be a percentage figure of the price in a particular minute.  I want to then iterate through the chosen column, testing at each minute, to see if it goes on  hit the higher target later in the day.

- I also need to be able to set the 'lower' price target. (Needs to ask separately as may be a different figure to the higher target).This is the same as the above example except it's to see if it drops below a certain point.  

Here's an example:

If the price at minute 1 is £100 and I want to see if the share price rises 1% or falls by 1.5%. The program should ask me 'What is the higher target?' and I'd type in 1 and 'What is the lower target?' and I'd type 1.5%.

The program will then need to search prices AFTER minute 1 to see if the share price rises to £101, or higher, or falls to £98.50. If it hits either target then it should stop searching. 

If it hits the higher target it's a win, if it hits the lower target it's a lose, and if the day ends before hitting a target it's a draw. 

It then needs to do the same for minute two. Say the price has risen to £102. The 'higher' target has already been set at 1%, and lower at 1.5%, so it will then have to go and search AFTER minute 2 to see if the price rises to £103.2 or higher or falls to £100.47 or lower. 

It then needs to move to minute 3...etc until it has done every minute from that day. 

- To improve accuracy I also need to be able to enter another percentage for the amount of start minutes to be used.

For example:

If the market closes at 4.30pm there's little point testing at 4.28pm to see if it rises or falls to a target. Instead I want the program to ask me 'When should the start times end?' I should be able to give a number as a percentage and that will test the percentage of the day to see if it hits a target. 

For example:

The day runs from 8am - 4pm

I'm asked  'When should the start times end?' and I type 50. This will test the first half of the day. 

This means that the test will run from 8am-12pm. These are start times ONLY. This means that all the minutes between these times will be able to hit their targets right up until 4pm. 

- It'll also need to make sure the data is running in the right direction. Sometimes the most recent date at the top and sometimes at the bottom. The program will need to work this out, leave it if it's running in the right direction or flip the times and data if not. 

- I need the program to total the amount of wins, the amount of losses and the amount of draws for each day INDIVIDUALLY. I also want a figure for the total of times the higher target is hit as a percentage of the total of wins, losses and draws. 

- I then need it add up the wins, losses and draws for all the days that have been selected. I also want a figure for the total of times the higher target is hit as a percentage of the total of wins, losses and draws over all the days. 

Python

Project ID: #25837972

About the project

10 proposals Remote project Active 3 years ago

10 freelancers are bidding on average £15 for this job

uzairnaseer920

I am interested in this job. I have more experience in above skills. Kindly reply me soon so we can discuss more about this. Thanky you

£15 GBP in 7 days
(15 Reviews)
3.5
vinendra77

Hi, I am a Mtech graduate from IIT Roorkee. I have a very good knowledge on working with python and handling data using python. I have done several mini projects using python. As i am new to freelancing, money is not m More

£13 GBP in 2 days
(12 Reviews)
3.1
vini77psvm

I have a good knowledge in python.

£16 GBP in 1 day
(0 Reviews)
0.0
wangkh19930128

This doesn't sound like a complex project. Ideally the program will need to fullfill all your requirements and project you with the True of False (Whether the price hits the target). Let me know if you would like me More

£17 GBP in 3 days
(0 Reviews)
0.0
vkaja41

I am a professional Data Scientist with 3 yrs of experience building end-to-end machine learning pipelines using python. I currently work out of California and can commit to a quick turn around time.

£14 GBP in 3 days
(0 Reviews)
0.0
vivekkumar95

Have a good hands on experience in JAVA maven web development, Python, Data mining. .............................

£13 GBP in 7 days
(0 Reviews)
0.0
Kennysa95

hi, I am a python automation tester, I worked on csv file automation. can deliver the product on time.

£18 GBP in 2 days
(0 Reviews)
0.0
MIDO99996

Yes I can programing well in python I can do it fast as soon as possible just i need more info d

£24 GBP in 10 days
(0 Reviews)
0.0
deepikaraj1218

I'm currently working in Python using Spark with sufficient knowledge and enabled many data requests for the customers according to your request. If given this new venture, I would enable this to give all my efforts R More

£10 GBP in 7 days
(0 Reviews)
0.0
harikrishna1981

Excellent in Python programming using Data structures, OOPS, modules like os, configparser, json, numpy, pandas,regular expressions, Working with CSV files, JSON, SQL server, Oracle DB, UNIX. In my recent project I ha More

£10 GBP in 7 days
(0 Reviews)
0.0