Ruby-based Portfolio Balancer