logs archiveBotHelp.net / Freenode / #43oh / 2015 / August / 11 / 2
Rickta59
with hashmap
it will be blazing fast
Spirilis
username3: np
Rickta59
how many keys?
how often does the data change?
Spirilis
data changes once a month
there is I guess 3 keys... year, month, stock ticker symbol :-)
Rickta59
damn you could compile for a day and still be way ahead of the game
Spirilis
not necessarily
the objective is to produce a stock prediction algorithm that can be used for one-a-month trades
Rickta59
heh .. ah fortune telling ..
Spirilis
problem is, you kind've need it to finish between EOD last day of the month and start-of-day the next day if the month's boundary days are weekdays
Rickta59
there is a program for that
Spirilis
yep it is fortune telling, in fact, this algorithm does exactly that ;)
uses entropy to construct a Genetic Algorithm over the data
taking the "fortune telling" and adding natural selection to it
so I need an "automaton" to run pretty fast... so I can run like 200 of them, across 200 successive generations
the automatons can be parallelized quite well
Rickta59
$ /usr/games/fortune
Try to have as good a life as you can under the circumstances.
Spirilis
but all need to complete before successive generations can run
username3
Just make a derivative based stock purchaser XD
Spirilis
well when I start introducing daily data, not just monthly, then sh*t will go parabolic
actually one way to roll would be to institute an "every-other-month" trading scheme
so I have a whole month to crunch the data
in fact that is one of my chromosomal parametrics in the algorithm, "TradeSkip"
Rickta59
you need to get that fpga code those trading houses use for micro trading
Spirilis
so in theory it may find that to be beneficial in certain points in time
yeah
or see if java has an OpenCL extension
not even sure if that would work :)
Rickta59
this is for work?
Spirilis
nope personal
Rickta59
or your personal fortune
Spirilis
long term hobby that I put on the back burner for years until I finally got a decent idea of "how" to go about it
(mostly from losing money)
Rickta59
the traders have all this figured out ..
Spirilis
oh they do
Rickta59
use other peoples money .. don't bother with trying to make money ..
Spirilis
but they all have their own angle on it
Rickta59
just make money trading
and charging a fee
Spirilis
haha yeah
Rickta59
heh .. they win either way
Spirilis
that is of course quite true
username3
Spirilis will single handedly create a 2010 flash crash
Spirilis
woot
Rickta59
when you can't win the game .. change it
Spirilis
I am somewhat impressed at the relative ease of use of JDBC so far
I thought it was going to be some hideously over complicated piece of crap but ... not really
Rickta59
java used to be really simple
Spirilis
I don't have high expectations of Java in general I guess
Rickta59
dumbed down c++
but .. i think that has changed since 1997
Spirilis
heh I'm reading the tutorials for Java SE 8, and there is a lot of sh*t that has "just been introduced" in SE 8
Rickta59
java 9 says it will have automatic parallelization using OpenCL
http://www.infoq.com/news/2013/09/java-hsail
« prev 1 2 next »