Information Theory of Quantitative Trading

A design pattern of trading system

Information Theory of Quantitative Trading I have two theories to support myself when designing a trading system, mechanism theory and information theory. Mechanism theory is straight forward, more or less, we express our understanding of market mechanism by designing a trading system. For example, a statistical arbitrage system reflects designer's (or trader's) view of market order book structures. An event trader build strategy upon her understanding of market participants in those events.

Machine Reads Financial News

Learn sentence embedding by BERT

Machine Reads Financial News This article talks about a BERT model I trained to understand financial news. Particularly, we fine-tuned a pretrained BERT model to generate embedding vector given a financial news dataset I collected by web-crawler. I will also demonstrate how to use the learned embedding vector to query similar news in history. coming soon...

Gaussian Process is Easy to Understand

A guide of Gaussian Process

Gaussian Process (GP) is Easy to Understand In the beginning This is a follow-up blog of "Variantial AntoEncoder", in which I tried to explain VAE in a Neural Network way before relating it to Bayesian machine learning. As we know, VAE is a unsupervised learning method; now, I will try to explain the most important supervised learning method in Bayesian machine learning, called Gaussian Process. I have tried many many times to understand GP in different ways, through papers, books, videos, and had even written my own GP software in Theano.

NN Infers Bayes

Variational Auto-Encoder: part 3

Neural Network Infers Bayes Congratulations, you have made to the third and final part! Equipped with the Bayesian language, we can start to look at the "special" regularization term in the VAE loss function and try to make sense of it. Most articles talk about "variational inference" and derive the equations of variational lower bound and KL divergence. I encourage you to read this blog from Eric Jang for more details of variational inference.

Bayesian Language

Variational Auto-Encoder: part 2

Bayesian Language I have tried to conquer Bayesian modeling several times since 2010; read a lot paper, couple of books, and took some online classes. Yes, you can remember math terms, you may follow what they say in the paper while you are reading it, you may even be able to derive the equations just as they do. But what's hard is to really understand what's going on behind those equations, without which you are bound to forget what you think you know after a certain period.

VAE is easy to understand

Variational Auto-Encoder: part 1

Variational AutoEncoder (VAE) is Easy to Understand Before Everything I assume you, like me, know a bit of neural networks. I assume you, also like me, have attempted many times to understand Bayesian and have either failed or reached a state of "almost got it". After all, Bayesian people speak a different language from NN people, which can be counterintuitive at times. Among the hardest, there is no Andrej Karpathy yet on this topic.

DeuceNet - a Deep Learning Package on Tensorflow

open source software

Deep Learning Package on Tensorflow https://github.com/shenxudeu/deuNetTF I have open sourced my deep learning package based on Tensorflow. It has been influenced by Theano and Keras but with cleaner impelemtation and less engineering. It's especially convinient for

A Theano based Gaussian Process Package

open source software

A Theano based Gaussian Process Package https://github.com/shenxudeu/gp_theano I have open sourced my Gaussian Process package written in Python. It has Bayes inference algorithms powered by auto-gradient package Theano, which is majorly used in deep learning community.

How to setup a deep learning machine

OS and Cuda Installation

title: How to Setup a Deep Learning Machine layout: default How to setup a Deep Learning Machine I spent sometime in past few days to setup a new OS and necessary softwares for deep learning since I got a new GPU (GTX 980). I found out it is hard to setup a system running deep learning envrionment, especially the CUDA part. A bunch of tricks would soon be forgotten if not written down.