status.trade_status converted to a Switch/Case instead of if statements.

This fixes the bot failing to close trades that have ended.
References a portion of #393, Fixes #390

The remaining portion of #393 has not been redone yet. This should help with trades not completely ending though.