Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Powerbasic > Planning to wri...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 201 of 266
Post > Topic >>

Planning to write a stock market application

by "Ali Chambers" <info@[EMAIL PROTECTED] > Aug 18, 2006 at 01:29 PM

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




 1 Posts in Topic:
Planning to write a stock market application
"Ali Chambers"   2006-08-18 13:29:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 4:10:52 CDT 2008.