Completed

Build a stock charting tool in Python -- 2

Job Description:

I require a script written in Python 3, to help provide a visual summary for a day-trader's performance

Key requirements

A) Stock price to be charted, with Green and Red dots to be overlayed onto chart, to highlight buys/sells

B) Traded volume for a stock to be charted

C) Cumulative stock position to be charted

D) Cumulative profit/loss to be charted

See attachment "expected output" for what I'm expecting as a result.

Python script to output this as 1 jpg file

This script will take 2 sets of input arrays

1) An array containing stock purchases.

This array will contain columns for "Buy or Sell", Volume, Price, Value and Trade DateTime.

Please see "input 1" for an example set of data.

2) An array containing timeseries data for the price of the stock.

This array will contain columns for Date, Time, Open, High, Low, Close, and Volume. This data will be provided in 1 minute intervals.

Please see "input 2" for an example set of data.

Chart A)

stock price data will come from data in array 2. This data will need to plotted as "candlesticks" for each 1 minute interval.

Buys to be overlayed as Green dots. Sells as Red. If the same 1 minute interval contains both a buy and a sell, then both green/red dot should appear.

Points for each dot will be sourced from array 1.

Chart B)

Traded volume will come from array 1. Needs to be plotted directly below chart A (or combined with), and x-axis must be in-line with chart A)

Chart C)

Cumulative stock position data will come from parsing Array 1. Our position will start at 0, and then we increment for every buy, and decrement for every sell, based on the "volume" column in array 1. This calculation is to be performed for each 1 minute interval provided in Array 1. If no data for an interval, then no change to the cumulative position.

Chart D)

Cumulative profit/Loss will be calculated for each minute by calculating the "cash position", and then adding the "value of the stock position".

Cash position to be calculated by subtracting all buy "value" from array 1, and adding all sell "value".

stock position to be calculated by adding all the buy "volume" from array 1, and subtracting all the sell "volume". Then, the value of this stock position to be calculated by multiplying the corresponding "Close" price from array 2.

I have this code logic written in an excel file - for this project, I just need this logic rewritten into Python, please ask for this and I can provide the example excel logic. Note - for all posts, please let me know what charting library you intend to use for this, so I we can easily filter out the copy-paste responses. charting lib will need to be opensource/free to use. Please also advise how you intend to generate the jpg image (e.g. python library to be used, and if other libraries may be used: selenium, phantom, etc)

Skills: Python, Software Architecture, Finance, Charts

About the Client:
( 22 reviews ) Sydney, Australia

Project ID: #35899404

Awarded to:

parthjaviya098

Hello, I have gone through your requirements. You need a python script to generate charts images based on given data. I am a python developer and data science enthusiastic. I use seaborn and matplotlib pyt More

$100 AUD in 2 days
(23 Reviews)
4.7

26 freelancers are bidding on average $180 for this job

borutflis

Hello, I would use matplotlib to generate your charts, it is open-source and you can save the output the jpeg files. Am I correct in understanding that you will provide the data input in .csv format? If so, the task More

$160 AUD in 7 days
(44 Reviews)
6.1
ernestpapyan

Thanks for your job post. I am a senior python developer also I worked with trading platforms for a long time. So I am really interested in this role. Kind regards

$140 AUD in 7 days
(11 Reviews)
5.6
suyashdhoot

Build a stock charting tool in Python -- 2 Good evening Rod L. , Hi I am a very experienced statistician, data scientist and academic writer. I have completed several PhD level thesis projects involving advanced stati More

$250 AUD in 6 days
(31 Reviews)
6.0
chraheelbhatti

I'm experienced Data Scientist and Content writer with 08 yrs of experience in the field of Machine Learning using R & Python. I can help in writing as well programming tasks as: Python Machine Learning Excel VBA Matla More

$30 AUD in 3 days
(18 Reviews)
5.0
gajematthias

Hello! How are you? I'm glad to bid on your project. I'm a python expert with 8+ years experience and I'm very familiar with various libraries and packages including matplotlib,pyplot,yahoo-finanace,threading etc. I' More

$250 AUD in 7 days
(8 Reviews)
4.6
dimkapacha

hi. I`v checked your job and interested. I'v rich experiences of python chat. for example Plotly , but it maybe good you to prefer. I am ready to work for you and once you are interstd, plase contact me,reagards

$300 AUD in 5 days
(3 Reviews)
3.7
nageshsrivastav9

⚡️⚡️ I checked your project detail and my skill are fitted in your project. ⚡️⚡️ Hi, I have been working with Python, scrapping, scripting and web development for over 5+ years. I can show the working result and code More

$250 AUD in 7 days
(38 Reviews)
4.5
programmingarena

Hi, Dear Employer, ""I will build your stock charting tool in Python"" I have read your whole Project description and attached file carefully. And understand your requirements well. Now I can say with confident that I More

$100 AUD in 4 days
(10 Reviews)
3.7
smmalik1990

Greetings, Thank you for this posting an opportunity related to my area of expertise. I understand your requirements and would love to discuss in details.I have did similar work recently in past. I have excellent exp More

$140 AUD in 7 days
(6 Reviews)
3.7
jinufeb14

I can give python program either in executable or web mode. Contact me please................................................................................... Regs Jinu

$140 AUD in 7 days
(13 Reviews)
3.2
robartint

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price More

$30 AUD in 7 days
(3 Reviews)
3.0
veselidevelop

Hi, Greetings for thse day! As you are looking for an expert to Experienced Python developer (with strong full-Stack Experience) so I am glad to inform you that I am a seasoned software developer and have experience o More

$140 AUD in 7 days
(2 Reviews)
2.4
AHARS

Hello There, I have checked your requirement regarding Build a stock charting tool in Python and I would like to discuss some more details with you so I can understand work scope properly. I can promise to offer a rea More

$140 AUD in 7 days
(0 Reviews)
0.0
ki99

For this project, I plan to use the Matplotlib library for charting and the Pandas library for data manipulation. The script will take two sets of input arrays as described in your requirements. The first array will co More

$250 AUD in 7 days
(0 Reviews)
0.0
BwrosNet

hello sir, as a python developer, I have done many projects with python so far and I am quite experienced. I have had many studies in the fields of data analysis and data visualization and I have experience in these fi More

$250 AUD in 7 days
(0 Reviews)
0.0
stoptoshop4less

I'm a python enthusiast and I'm well acquainted with the python libraries. I'll be using Matplotlib for charting and Pillow for the image processing.

$200 AUD in 3 days
(0 Reviews)
0.0
PANZERMAG

Dear friend, I am writing to express my interest in your recent advertisement for a freelance [insert job position, e.g. writer, designer, developer, etc.]. As a highly skilled professional, I am confident that I woul More

$50 AUD in 3 days
(1 Review)
0.0
The3dCubeAgency

HI, Hope you are doing well, I am a professional designer and content writer and having relevant skill-set on Python,Here i assess your job requirement of Build a stock charting tool in Python i will do this job with More

$140 AUD in 7 days
(0 Reviews)
0.0
korzha

Hello, how are you? Well, as a python developer, I can do automation, scripting and web scraping with python. I have read your description very carefully and i am so interested in your project. I am confident in your More

$200 AUD in 4 days
(0 Reviews)
0.0