1001 Freelance Projects
Latest Projects from
Freelance Marketplaces
View Project
View this project in detail
(Note: you will be redirected to external marketplace)
Project title:
Enhance and adapt Python Script for data processing
Posted by:
External project from PeoplePerHour
Started:
01-Dec-2024 16:32 GMT
Description:
ONLY RESPOND If YOU CAN Deliver DELIVER TODAY

Python Script for data processing
A freelancer is needed to help enhance a python script that processes CFD pricing data. The script currently reverses engineered prices from two data sources
- high frequency market data and a broker's quoted prices over time. Simple logic needs integration to tie the sources together more seamlessly. The contractor will analyze the existing code and integrate new logic to produce alternative outputs. Knowledge of Python, data processing, and financial markets preferred.

TODAY DELIVERY

Project Overview

We are working on reverse-engineering the markups applied by our CFD (Contract for Difference) provider to raw Bid and Ask orders in the Level 2 (MBP-10) data. The goal is to replicate the platform’s published quotes, analyze their selection logic, and identify alternative combinations that could reduce spreads or maximize liquidity.

What We Have Done So Far

1. Bid-Ask Combinations:
• We have implemented logic to extract and validate all possible Bid-Ask combinations (10 x 10 = 100 per timestamp) from the MBP-10 (Level 2) data.
• Each combination is checked to ensure:
• Bid and Ask prices are greater than zero.
• The Bid price is less than or equal to the Ask price.
• Relevant details such as prices, sizes, levels, and counts are included for valid combinations.
2. Markup Application:
• The script applies symmetrical markups (from 0% to 70% in increments of 0.5%) to the spread for each valid combination.
• The matching logic identifies:
• Exact Matches (M): Where adjusted Bid/Ask prices match the platform’s published prices.
• Closest Matches (CM): When no exact match is found, the closest match is identified by minimizing differences.
• No Matches (NM): When neither an exact nor a close match can be identified.
• Outputs include timestamps, original/adjusted prices, spreads, markups, and statuses.
3. Output Integrity:
• The script ensures that timestamps are treated as unique events, even if they appear nearly identical.
• Results are organized per timestamp with clear logging of each match status.

What We Need the Freelancer to Do

The remaining work involves extending the script to perform the following analyses:

1. Reduced Spread Analysis

• Identify alternative Bid-Ask pairs with similar liquidity that could have been used to reduce the spread (cost to clients). This analysis should:
• Search for pairs with liquidity within 5%, incrementally increasing to 50% if no match is found.
• Calculate and compare spreads for these alternative pairs against the platform’s chosen spread.
• Include detailed output for each alternative pair:
• Original and alternative Bid/Ask prices.
• Spreads, sizes, levels, and counts.
• Adjusted Bid/Ask prices and spreads based on markups.

2. NBBO (Level 1) Analysis

• Extract the best Bid (highest price) and best Ask (lowest price) from the Level 2 data for each timestamp.
• Perform similar calculations as above, including:
• Spreads, adjusted prices, and markup percentages.
• Sizes, counts, and levels for the best Bid and Ask.
• Ensure results align with the same timestamp logic.

3. Most Liquid Combinations

• Identify the Bid-Ask pair with the largest liquidity by combining:
• The Bid with the largest size.
• The Ask with the largest size.
• Perform calculations to determine:
• Original and adjusted spreads.
• Sizes, counts, levels, and markup percentages for the most liquid pair.

Deliverables

1. Enhanced script with the following additional functionalities:
• Reduced Spread Analysis.
• NBBO Analysis.
• Most Liquid Combinations Analysis.
2. Output files with detailed results for each timestamp:
• Original and adjusted Bid/Ask prices.
• Spreads, markups, sizes, counts, and levels for all analyses (Reduced Spread, NBBO, and Most Liquid).
• Match statuses (Exact Match, Closest Match, No Match).

Requirements

• Expertise in financial data analysis, especially Level 2 (order book) data.
• Strong Python programming skills.
• Familiarity with Bid-Ask spread calculations, markups, and liquidity metrics.
• Ability to work with high-frequency financial data efficiently.

If you have the required expertise and are confident in extending the existing script to complete these analyses, we’d love to collaborate!

Let me know if this version works or needs any further refinement!
Project ID:
3410632
Project category:
Project budget:
View this project in detail
(Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Freeagent Wordpress Theme Membership Integration
Category: Payment Gateway Integration, Payment Processing, PHP, WordPress, WordPress Plugin
Budget: £20 - £250 GBP
21 Dec 2025 11:04 GMT
Metahuman Cinematic Avatar Creation -- 2
Category: 3D Animation, 3D Design, 3D Graphic Design, 3D Modelling, 3D Rendering, After Effects, Unity 3D, Unreal Engine
Budget: $250 - $750 USD
21 Dec 2025 11:04 GMT
Shopify Store for 20 Products
Category: HTML, Payment Gateway Integration, SEO, Shopify, Shopify Development, Shopify Templates, Web Design
Budget: €30 - €250 EUR
21 Dec 2025 11:04 GMT
AI-Powered Business Content Localization
Category: AI Content Creation, AI Model Development, Git, HTML, JavaScript, OpenAI
Budget: $15 - $25 USD
21 Dec 2025 11:04 GMT
Dental Content Creator UK Midlands
Category: Adobe Lightroom, Adobe Premiere Pro, After Effects, Content Creation, Social Media Marketing, Video Editing, Video Services, Videography
Budget: £10 - £15 GBP
21 Dec 2025 11:03 GMT
Offline Encrypted SD Video Player
Category: Android, Android Studio, App Development, C#, Programming, C++, Java, Kotlin, Mobile App Development, Mobile Development, Software Development
Budget: ₹12500 - ₹37500 INR
21 Dec 2025 11:03 GMT
E-Commerce Website With Cart -- 2
Category: Frontend Development, Web Development
Budget: $2 - $8 USD
21 Dec 2025 11:02 GMT
Mobile Parts Catalog Data Entry
Category: Data Entry, Data Management, Data Processing, Excel, Internet Research, Inventory Management
Budget: ₹1500 - ₹12500 INR
21 Dec 2025 10:59 GMT
Email Management Virtual Assistant Needed
Category: Admin Support, Customer Service, Data Entry, Time Management, Virtual Assistant
Budget: $30 - $250 USD
21 Dec 2025 10:59 GMT
AURA Video Editor Required (1–2 Years Experience)
Category: Adobe Premiere Pro, CapCut
Budget: ₹600 - ₹800 INR
21 Dec 2025 10:59 GMT
Single-Page Website Replica Needed -- 2
Category: Bootstrap, CSS, Frontend Development, HTML, JavaScript, Web Design, Web Development
Budget: ₹100 - ₹400 INR
21 Dec 2025 10:58 GMT
Ruskdesk UI/UX Enhancements
Category: Android SDK, Android Studio, Flutter, Git, Java, Rust
Budget: ₹12500 - ₹37500 INR
21 Dec 2025 10:58 GMT
Excel expert with AI experience is needed.
Category: Automation, Chatbot, ChatGPT, Data Analysis, Data Management, Data Processing, Excel, OpenAI, Visual Basic, Visual Basic For Apps
Budget: $8 - $15 USD
21 Dec 2025 10:58 GMT
Ultra-Realistic AI Fashion Showcase
Category: 3D Animation, AI (Artificial Intelligence) HW / SW, AI Animation, AI Art Creation, AI Model Development, Animation, Graphic Design, Illustration
Budget: ₹600 - ₹1500 INR
21 Dec 2025 10:56 GMT
Excel Spreadsheet Review and Testing
Category: Data Analysis, Data Entry, Data Management, Data Processing, Data Visualization, Excel, Excel VBA, Visual Basic
Budget: €750 - €1500 EUR
21 Dec 2025 10:56 GMT
Browse All Projects
Projects by Skills ...
android
ajax
asp
aspnet
cms
cpp
csharp
css
delphi
design
drupal
excel
facebook
flash
html
java
javascript
joomla
iphone
mysql
photoshop
php
python
ruby
seo
sql
sysadm
translate
typing
twitter
vbnet
xml
wordpress
writing
New!
Проекты на русском
(Projects in Russian)

Copyright © 2005-2025
1001 Freelance Projects