Text this: Gambler’s ruin problem and bi-directional grid constrained trading and investment strategies