Create a Spring command line application to process an input file with the goal of generating
a summary output file based on the input data. The input file contains elementary trades. The
profit of each trade should be calculated based on differing formulae. A summary output file
should be generated.
1 Read a CSV file of arbitrary size with the following format:
instrument_type,name,quantity,buy_price,sell_price,coupon
Equity,AAA,123,1.01,1.10
Equity,BBBB,3,1.05,1.01
Bond,CCC,3,,,0.13
Equity,AAA,12,1.11,1.13
Bond,DD,3,,,1.24
2 Design simple equity and bond services which can calculate profit. These services although
simple should be designed with the future in mind where they can easily be replaced by more
complex versions in future. The services should use the following formulae.
Equity profit = (sell_price - buy_price) * quantity
Bond profit = quantity * coupon
3 Output a file containing a summary of profit by instrument type such as:
instrument_type,name,quantity,profit
Equity,AAA,135,11.31
Equity,BBBB,3,-0.12
Bond,CCC,11,0.39
Bond,DD,3,3.72
3/ The third field of the output file is the total number of securities (stocks) of a given type.
So, if you have 10 AAA and another 5 AAA you have a total of 15 AAA.
Hello
I'm interesting your project very well
I'm a Good Java, Math, Algorithm expert.
I understand your req exactly.
I m quite well experienced in these jobs.
Let's go ahead with me
I want to service for you continously.
Thanks
£25 GBP en 1 día
4,9 (507 comentarios)
8,7
8,7
13 freelancers están ofertando un promedio de £25 GBP por este trabajo
Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself -
Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !!
Looking forward to hear from you soon - GOD Bless You.
Hello buddy,
i am very well equipped with handling files in java
i can start immediately and provide you the program within 2hrs
if you require simiar kind of processing of excel files ... that is also possible
please do message me in case of any concern
looking for your reply
Regards,
Suchit
recently developed similar project to received data from CSV and upload data in database,This project can help help to quickly start work on actual requirement of your project
Hi
I have total 6 years of Java experience. I have worked for many renowned clients during this time. Currently I am forced to bid through a newly created accounted.
I went through your requirements and have come up with a POC. I have done many projects on Market data over the years. I am attaching a Jar herewith. Please, execute that and let me know if it is the solution you were looking for.
We can discuss more on the project details at your convenience and make the required changes in the program.
AS I AM NOT ABLE TO ATTACH THE JAR HEREWITH ,PLS DROP ME A NOTE SO THAT I CAN SEND THE FILE. Your project is almost ready.
Regards,
Tripin Tech