Find Jobs
Hire Freelancers

A Java program with Mysql DB

$30-70 USD

Completed
Posted over 16 years ago

$30-70 USD

Paid on delivery
I have a table in mysql db that has, among other fields, the following: stock ticker, buy/sell code, transaction_date, insiderCik, filterFlag, create_date I want to do the following: For all transaction for the past 6 months (where DATE_SUB(CURDATE(),INTERVAL 180 DAY) <= create_date 1. find out the stock ticker that has 3 different insiderCIk buy (buy/sell code = B and filterFlag != Y) within a 5 day span (by transaction_date) and order the tickers by the latest transaction's file_date desc. The latest transaction's create_date is the buy date 2. for each ticker above, find out the date which there is no more insider buy for the 5 days before that date, this is the sell date 3. find the closing price for the stock for the buy date and the sell date and calucate the return (sell price/buy price - 1). Only keep those with positive returns. 4. generate the final output for the top 5 or 10 distinctive stocks with some html tags around, I will give you the detail tags once you accept the project: ticker buyDate closePriceBuyDate sellDate ClosePriceSellDate return I can give you programs on how to connect to the db and query sqls. I also have utility programs which takes stock ticker and a date and returns the close price for that date. 8/10/07 Clearification: 1. I need a standalone java progrom, you cannot do everything in sql (see below for why) 2. the pricing comes from a third party website (I have java utility method to call and get the price, to you it is a black box function taking in date and symbol and return closing price) 3. I've attached my table schema and 3 months of sample data (90k rows) in the attached zip file ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Fedora 2 Java 1.4.2_05 Mysql 3.23
Project ID: 3195417

About the project

16 proposals
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$59.50 USD in 20 days
4.9 (105 reviews)
7.2
7.2
16 freelancers are bidding on average $48 USD for this job
User Avatar
See private message.
$44.20 USD in 20 days
4.9 (231 reviews)
6.7
6.7
User Avatar
See private message.
$59.50 USD in 20 days
5.0 (170 reviews)
6.3
6.3
User Avatar
See private message.
$51 USD in 20 days
4.4 (46 reviews)
5.2
5.2
User Avatar
See private message.
$24.65 USD in 20 days
4.9 (58 reviews)
5.0
5.0
User Avatar
See private message.
$59.50 USD in 20 days
4.7 (8 reviews)
4.9
4.9
User Avatar
See private message.
$25.50 USD in 20 days
5.0 (12 reviews)
4.5
4.5
User Avatar
See private message.
$51 USD in 20 days
4.9 (19 reviews)
4.4
4.4
User Avatar
See private message.
$42.50 USD in 20 days
4.9 (7 reviews)
4.2
4.2
User Avatar
See private message.
$51 USD in 20 days
5.0 (6 reviews)
2.6
2.6
User Avatar
See private message.
$46.75 USD in 20 days
4.0 (1 review)
2.3
2.3
User Avatar
See private message.
$59.50 USD in 20 days
2.6 (3 reviews)
2.1
2.1
User Avatar
See private message.
$42.50 USD in 20 days
5.0 (3 reviews)
1.4
1.4
User Avatar
See private message.
$59.50 USD in 20 days
2.7 (6 reviews)
1.8
1.8
User Avatar
See private message.
$29.75 USD in 20 days
4.9 (2 reviews)
1.2
1.2
User Avatar
See private message.
$59.50 USD in 20 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Medford, United States
5.0
13
Payment method verified
Member since Apr 11, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.