News for hackers. Stuff that matters.
Re:Show HN: Trade stocks from the command line with no commi... by srazzaque on Sunday May 17, 2020 @02:21AM (#23209993)
Common Lisp on SBCL.

I lived on the JVM for quite some time (and still do), and I wanted to explore other ecosystems out of sheer curiosity. Got to playing with Lisp/SBCL, some initial tests showed it was pretty quick, and was impressed that I could disassemble functions in the REPL and iterate rapidly. Then a while later... I noticed there wasn't a FIX library at around the same time I was exploring creating my own trading models.

So I can't say there was a lot of analysis across the different Lisps, etc. Had the coin flipped a little differently a while back this might have been in Racket. Also the choice of language in the book Professional Automated Trading[1] did influence me somewhat.

[1] https://www.wiley.com/en-us/Professional+Automated+Trading%3...

Re:Show HN: Trade stocks from the command line with no commi... by thidr0 on Sunday May 17, 2020 @03:01AM (#23210182)
Do you recommend that book and/or any others? Interested in automated trading + functional languages
Re:Show HN: Trade stocks from the command line with no commi... by srazzaque on Sunday May 17, 2020 @03:31AM (#23210338)
I read it quite a while back, so memory is a little hazy.

It's one of the few books (perhaps the only one I've found) that approaches this subject matter from the perspective of an engineer wanting to architect their own system from the ground up, and potentially work for themselves or in a firm. But, going in, you should know that it focusses less on trading techniques and more on software architecture. What data structures you might use, and one potential approach that's laid out in the book.

Whilst some areas in the book are light (for example, the performance section), I'd recommend it if you're interested in ground-up building a trading system. If you work in the space already, you'll know the parts that are misaligned with majority of systems out there (choice of language being one). If you don't, and are looking to enter the space, it'll increase familiarity with core concepts (for instance, before I read this book, I had no distinction between "model" and "algo").

It's also refreshing that it stands out from the pack of books that aim to make you zillions of dollars just by using "these 10 key trading secrets!".

Re:Show HN: Trade stocks from the command line with no commi... by thidr0 on Sunday May 17, 2020 @11:03AM (#23212484)
Excellent. That sounds like something I'd really enjoy. I don't work in the space, but I'm more interested in the trading systems than the algos, primarily. After all, I'm a little skeptical about my ability to beat the PhDs with their institutional nukes while I'm over here sharpening a dagger.
Re:Show HN: Trade stocks from the command line with no commi... by paladfn on Tuesday May 19, 2020 @05:31PM (#23240528)
I would recommend "Professional Automated Trading: Theory and Practice" [0]. The code is here [1].

[0]: https://www.amazon.com/Professional-Automated-Trading-Theory...

[1]: https://github.com/wzrdsappr/trading-core