Hanson's Logarithmic Market Scoring Rule (LMSR) - Node.js implementation of a multi-currency market-maker with warehousing-control.