Find Jobs
Hire Freelancers

Java Collection Class to store stock price data

$30-100 USD

Terminado
Publicado hace casi 18 años

$30-100 USD

Pagado a la entrega
Hello, I need well designed, fully encapsulated, well-documented threaded JAVA class that will do the following: 1) Accept three data fields, a String field, an 8 byte float in the form of "[login to view URL]" and a 14 byte date String in the form of "DD/MM/YYYY HH:MM". They will be a stock symbol, price and a time stamp received continually in real time (coder will have to simulate a stream of data - once put into production a separate Java class will get the data from a quote source and then call a function in this class to insert it into the collection) 2) Efficiently save the data in some type of collection for easy retrieval and processing. It has to be memory efficient because there may be thousands of entries per symbol, and about 5-10 symbols each time the program is run. Each data collection in each minute should have a unique index number because there may be many prices in the same minute. The first price ("O"), last price ("C"), highest price ("H") and lowest price ("L") for each minute in a given symbol should be easily retrievable. For example, H[3] for a given symbol should return the highest price of the set of prices for that symbol from three minutes ago. 3)Create several functions that will access this data and that will do the following: 1. One function will calculate (O[0]+H[0]+L[0]+C[0])/4 This would represent data from the most recent complete minute (call it "data[0]" for example). This is called "haCLose" 2. One function will take average of "haOpen" of data[-1] (this is, the previous previous complete minute), and "haClose" of data[-1]. This is called "haOpen" 3. One function will take the HIGHER of the highest price in data[0] and the haOpen for data[0] 4. One function will take the LOWEST of the lowest price in data[0] and the haOpen of data[0] The coder should also make a simple command-line program that will show the values returned by these functions in order to display functionality. ## 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 Windows
ID del proyecto: 3681883

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 18 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$55,25 USD en 7 días
5,0 (120 comentarios)
5,7
5,7
9 freelancers están ofertando un promedio de $58 USD por este trabajo
Avatar del usuario
See private message.
$68 USD en 7 días
4,9 (34 comentarios)
5,7
5,7
Avatar del usuario
See private message.
$50,15 USD en 7 días
4,3 (11 comentarios)
3,6
3,6
Avatar del usuario
See private message.
$42,50 USD en 7 días
4,8 (19 comentarios)
3,4
3,4
Avatar del usuario
See private message.
$21,25 USD en 7 días
5,0 (2 comentarios)
3,1
3,1
Avatar del usuario
See private message.
$59,50 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$21,25 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$34 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$170 USD en 7 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
East Brunswick, United States
5,0
107
Forma de pago verificada
Miembro desde may 16, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.