a framework equity trading in ruby