Chronicle, Flatbuffers and GDAX
I am certain that my book-building logic has a bug.
The computed bid-ask spread gets out of sync with what I can see on the exchange, and only after a period of time does it revert back to normal. What's happening? With several hundred updates a second, it is impossible to say. But what if I had a record of every single . . .
Building a simple crypto marketdata client
Labor Day's coding project was to figure out how to connect to the GDAX cryptocurrency exchange's websocket feed, building on some work done previously to connect via the REST API. As the latter had used Netty for its HTTP client and Jackson for the JSON support I wanted to do the same for Websockets to be consistent.
GDAX. . .
Higher precision scheduling
I wanted a simple, lightweight scheduler that I could tune up for crypto-currency trading applications. I knew from past reading that a data structure called a hashed wheel timer was worth investigating, and that Netty had one, but I was not aware of anything standalone. So I was happy to find Alex Petrov's . . .
Monadic parser combinators in Java 8
When I was young, foolish, and generating parser code ...
Many years ago I wrote a piece for the now-defunct magazine Dr. Dobb's Journal called "Extreme Parsing" based on SableCC, a parser generator for Java. When I needed to write some parsers for graph description formats recently I decided to look around to see what . . .
Custom building a Kaby Lake-X with optimized I/O
I was off for two weeks, so I decided to take the chance to complete the new server build. I headed over to Newegg, ordered an anti-static wrist strap -- something I neglected on my first build -- and assembled the part list for a server that could handle low-latency performance testing. I decided to target Kaby Lake-X, a big step up from the . . .
Hitting the end of the line with an old workstation
I have written about an Ethereum mining rig I built on top of a refurbished HP Z800 workstation. The workstation's BIOS dates to 2013 but I did not have issues with newer RAID and GPU cards. I finally hit the end of the road when I tried to add a Samsung 850 Evo NVMe card mounted on an M.2 bracket card for PCI Express.
. . .
Bitcoin after the ETF
On Friday, March 10th at 4pm the SEC announced their ruling on COIN, the Winklevoss twins' proposed ETF listing on BATS. The price whipsawed, spiking to $1360 on GDAX around noon on speculation that the SEC would take no action (approving the ETF by default) and dropping to $956.85 right after the decision.
The price . . .