Solved

20.000 tables or 20.000 fields?

Posted on 2008-09-30
7
136 Views
Last Modified: 2012-05-05
Hello,

I have data in the following format which needs to be place in an access database.
date,open,high,low,close,signal1,equity1,drawdown1,signal2,equity2,drawdown2,etc

I have about 20.000 or more signal values and multiple dates. What is better to do if I need to recall data later from the database:
1. create 1 table per signal? Like date,open,high,low,close,signal1,equity1,drawdown1

2. or, 1 table which will hold all data?

Regards,
Dennis

regards,
Dennis
0
Comment
Question by:Schuttend
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22608039
your description is not clear enough to me to comment... could you maybe describe a bit more, with data samples?
0
 

Author Comment

by:Schuttend
ID: 22608088
Please find example file attached. Only equity field and drawdown fields are missing....

Regards,
Dennis
Example.txt
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22608123
that's the data sample... now could you maybe describe a bit more, what that data is about?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Schuttend
ID: 22608690
data is financial data. The close price is the traded instrument (sp500) . The signals are tradingsignals.
Signal > 0 means buy next day. Signal < 0 means sell next day. Each field with a signal is a different trading system. Following the signal will generate equity. I have 20.000 different tradingsignals divided over 200 csv files. I need to collect them in 1 database to performing further calculation on it and also display graphs of generated equity etc
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22608765
I think you should go the following way:

have the table with the values as you have them per file, and add 1 more column to the table, indicating the file the data comes from (it might be the filename itself, or a foreign key value pointing to a table that holds the file names itself), and /or some more relevant data "per file" ...

still the data makes close to no sense to me, basically because I cannot really categorize it, as I was never confronted with trading data...
0
 
LVL 10

Accepted Solution

by:
3_S earned 250 total points
ID: 22619002
If I look at the file every line could represent on record in a table.  You could add on field in the record to point to the file it was from.
I would prefer that than have every field in a seperate table.  I you need corresponding value from on line you would have to do tremendous effort with multiple joins to recreate on line of the file.
0
 

Author Closing Comment

by:Schuttend
ID: 31501654
Thank you...
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question