An FSharp port of Adaptive Consulting's Reactive Trader with few twists