Relative Performance Scoring Function for Securities
Worldwide
We need a backend function/API endpoint that compares the performance of one security against a group of peer securities over a selected time window. The function should accept: Target security. Peer group, such as industry, sector or custom list of securities. Start date/time. End date/time. Price type, preferably adjusted close where available. The function should calculate: Return of the target security. Average return of the peer group. Relative performance versus peers. A normalised score from -1 to +1. Score meaning: -1 = strong underperformance. 0 = neutral / in line with peers. +1 = strong outperformance. The function should also return supporting values such as target return, peer return, relative return, number of peers used and basic warnings if data is missing. Expected deliverables: Python implementation. PostgreSQL queries or data access layer. Optional FastAPI endpoint. Unit tests for positive, negative and neutral cases. Basic handling of missing data and non-trading dates. The goal is to provide a reusable analytical component for comparing securities against relevant peer groups.
$300.00
Fixed-price- IntermediateExperience Level
- Remote Job
- Ongoing projectProject Type
Skills and Expertise
Activity on this job
- Proposals:20 to 50
- Interviewing:0
- Invites sent:0
- Unanswered invites:0
About the client
- BelgiumBraine L'Alleud11:07 PM
- $114K total spent58 hires, 8 active
- 4,207 hours
Explore similar jobs on Upwork
How it works
Create your free profileHighlight your skills and experience, show your portfolio, and set your ideal pay rate.
Work the way you wantApply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
Get paid securelyFrom contract to payment, we help you work safely and get paid securely.
About Upwork
- 4.9/5(Average rating of clients by professionals)
- G2 2021#1 freelance platform
- 49,000+Signed contract every week
- $2.3BFreelancers earned on Upwork in 2020
Find the best freelance jobs
Growing your career is as easy as creating a free profile and finding work like this that fits your skills.
Trusted by