473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Portfolio Computation on 3 Yrs. worth of Historical Data (approx. 200MB)

1
I am not sure what the best approach would be to set up system through which my buddy can run simulated calculation historical data.

I thought about setting up a large Excel spreadsheet or setting up a database to hold the data.

I don't know really what the pros and cons of each approach would be.

Basically, the problem is he wants to take sell options with hypthothetical strike prices on assets whose historical data he has. He wants to do this each month for a few years and check the outcome.
Feb 5 '10 #1
3 16037
sounds little data warehousing!!! but 200MB is not such a big data and doesn't worth for expensive apps. Imho, You can put it in a database and write your own logic to process it. :)
Feb 6 '10 #2
Glenton
391 Expert 256MB
Basically you're trying to figure out how high-level you want to go.

Python (perhaps with numpy) would be a relatively easy way of doing this kind of thing. Can easily churn through line by line doing calculations etc. Relatively quick to pick up. It's a high level coding language (and open source, so no investment other than time to pick it up).

Excel could handle it (probably), but it would be bang-your-head-against-a-wall painful. E.g an hour to run through, discover your mistake, rerun etc. Vs python probably milliseconds to run. Basically excel is too high-level.

C++ would be crazy overkill, and is nowhere near as easy to pick up as python (which is much higher level). It's basically too low-level for something as (relatively) trivial as this.

Access *could* be a good option depending exactly on what calculation you're after. I personally found python easier to pick up than access. I'm not an expert on relational databases, but if you have a bunch of lilnes of data and want to do calculations on each line, then it's great. If you want to go through the lines, building up the calculation as you go (e.g. most simulations), then it's not as good.
Feb 13 '10 #3
Jerry Winston
145 Expert 100+
I'll have to agree with Glenton here. Doing this kind of historical trend analysis and predictive modeling would be excruciatingly painful in Excel. Let me explain. Creating the functions would be very easy in Excel, however, the program would run slower and slower with each refresh and each report.

I would recommend using any free RDBMS available online. You have express/free versions of Oracle, MySql, MS SQL, and DB2 readily available from their respective corporate sites. I chose the RDBMS because they have data engines that are particularly tuned to quickly processing data. Excel has to consider color, font, formatting, spell checking, and a host of other operations. All of these actions eat up valuable CPU and memory causing your Excel solution to slow with every additional line of data. The modern RDBMS puts alot more CPU to work performing the calculations your data needs.

200 MB wouldn't be any strain for the RDBMS systems I mentioned.
Dec 15 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: JVarsoke | last post by:
I'm trying to use pgpenvelope and I keep getting the message: Can't locate loadable object for module String::Approx in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux-thread-multi . . . ...
1
by: rottytooth | last post by:
A general data design question: We have data which changes every week. We had considered seperating historical records and current records into two different tables with the same columns, but...
1
by: Àèά Íõ | last post by:
hi, now, i don't know how to ask a historical query? which command? thanks! __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam...
3
by: Erwin | last post by:
I have a work assignment in which I have to put a historical archive within access which can be used for trendlines etc. It contains data about month, service percentages and numbers. Within a...
13
by: Michele Guidolin | last post by:
Hello to everybody. I'm doing some benchmark about a red black Gauss Seidel algorithm with 2 dimensional grid of different size and type, I have some strange result when I change the computation...
1
by: Nadav | last post by:
Hi, I am about to develop a kind of a 3D Loader, I am concidering the usage of managed DX for that, following are some questions I have in mind: 1. Is there any performance differences in...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
2
by: igendreau | last post by:
I need to have a form where my users can enter job info. One thing they need to enter is "Regular Hours". What I need to do is then calculate "Regular Cost" which =Regular Hours x Regular Rate...
1
by: sbowman | last post by:
I'm in the process of creating a monthly reporting database. I've worked out all the queries which are all counts of particular field values. I need to store these values in a table for historical...
14
by: Luna Moon | last post by:
Dear all, Can C++/STL/Boost do the vectorized calculation as those in Matlab? For example, in the following code, what I really want to do is to send in a vector of u's. All other...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.