Hi,
I'm planning to write a program in basic that processes stock market
price data. It will be using floating points arrays in the following
manner:
- Price data is held in floating point currency arrays, eg:-
highprice(0-2000 max)
- Comparisons are done between highprice() arrays and lowprice() arrays
- Buy levels are determined and these buy points held in arrays
- The program will then loop through the price arrays incrementally to
find sell prices - at which it sells and records the price (a basic
description!)
Different levels for buy & selling are to be tested (too complicated
for this email). On average, the buy/sell routine will be called 3
million times per stock.
I did a "mock up" in VB.NET and it took 15 hours to run! I expected the
app to take a while, but this is too long. I have also optimised the
alogarithm as much as possible.
I've been reading the newsgroups and I can see various choices:
- Powerbasic
- Freebasic
I need *RAW SPEED*. I'm not too bothered about the rest. Oh - and not
too complicated to write (not C++), as I'm a novice programmer doing it
part-time.
Would Powerbasic be best? Is it really that fast?
Thanks, alex