Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Program Trading Stocks

Name: Anonymous 2008-05-11 4:54

Anyone know of a good book to read on building automated algorithms for trading stocks?  I don't have the time or patience to be sitting at the comp all day watching those damn graphs.

Name: Anonymous 2008-05-11 4:57

if(ishigh(price))
  sell(stock);
else if(islow(price))
  buy(stock);

Name: Anonymous 2008-05-11 5:24

SICP

Name: Anonymous 2008-05-11 5:52

PAIP

Name: Anonymous 2008-05-11 6:47

>>1
I don't have the time or patience to be sitting at the comp all day watching those damn graphs.
How about you just implement whatever calculations your pea brain does when looking at those stocks, since apart from boring you, it apparently does work? (Not likely, but you're a fag anyway)

Name: Anonymous 2008-05-11 9:14

Use instant.exe, it ships with OVER 200 ENVIRONMENT VARIABLES

http://www.instantexe.com/

Name: Anonymous 2008-05-11 13:10

>>2

And how do you implement ishigh() and islow()
?

Name: Anonymous 2008-05-11 13:36

>>7

int
ishigh(void)
{
  if(!islow()) {
    return 1;
  } else {
    return 0;
  }
}

int
islow(void)
{
  if(!ishigh()) {
    return 1;
  } else {
    return 0;
  }
}

}

Name: Anonymous 2008-05-11 13:36

>>8
I was drunk as shit when I wrote that. Just ignore the "Doesn't understand the Gregorian calendar." part. The rest is accurate.

Name: Anonymous 2008-05-11 13:39


int
islow(void)
{

(Post truncated.)

Name: Anonymous 2008-05-11 13:43

(Pos
(Post truncated.)

Name: Anonymous 2008-05-11 16:13

>>8

Infinite loop

Name: Anonymous 2008-05-11 16:50

>>12
Until your stack crashes that is.

Name: Anonymous 2008-05-11 16:52

>>13
stacks don't crash
this one will be optimized to an infinite loop

Name: Anonymous 2008-05-11 23:44

>>14
If you put islow and ishigh into different files, no, it won't be optimized

Name: Anonymous 2008-05-11 23:50

i am >>8 and i came here to say that YHBT. YHL. HAND.

Name: Anonymous 2008-05-11 23:54

>>16
No. You are wrong, because I am right.

Name: Anonymous 2008-05-12 0:02

Programming Collective Intelligence by Toby Segaran.

There are multiple ways to predict market behavior (regression, neural nets, decision trees, clustering, & many more), this book has a ton of algorithms. Most of the code examples are in Python which I know isn't too popular around here.

Name: Anonymous 2008-05-12 0:08

Toby is a girls name

Name: Anonymous 2008-05-12 0:45

Kunta Kinte

Name: Anonymous 2008-05-12 4:36

First read books like "A mathematician plays the stockmarket" then (if you can ignore the overbearing egoism) try "the black swan" (or "black swan events") which talk about how most such algorithms are, in fact, worthless bollocks.

Then lurk in Usenet alt.binaries.e-books.technical (or something close to that) because they often flood trading books, and programming books, and sometimes books about programming trading.

Name: Anonymous 2008-05-12 9:33

protip: if you could win at the stock markets with an algorithm, it would have been done by now

Name: Anonymous 2008-05-12 9:42

>>22
protip: it has been and is being done

Name: Anonymous 2008-05-12 19:05

>>23

And thousands of traders are being replaced by machines

Name: Anonymous 2008-05-12 19:36

>>24
And we're all millionaires.

Name: Anonymous 2008-05-12 20:35

>>24
No John, you are the machines.

Name: Anonymous 2008-05-13 21:25

Do you work for Goldman Sachs?  Can you give me details on their algorithms?

Name: Anonymous 2008-05-13 23:24

>>27
I work for Goldman Sachs and would be delighted to share my algorithms with you.

My algorithms mainly fall into two categories:

1) Numerical - Used to shape a bunch of data into something more usable. For example, taking a bunch of worldwide indices and putting them into a matrix, doing operations on them and then getting some data from the resulting matrix.

2) Machine Learning - Using data above to figure out trends in the stocks.

If you have any more specific questions, don't be afraid to reply and ask.

Name: Anonymous 2008-05-14 5:21

>>28
Could you please elaborate? Thanks.

Name: Sgt.Kabukimanﻜ刮 2012-05-23 5:29

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List