Fix the performance insert issue.
Fix the tradinglog form redirect.
Fix php notice.
Fix the windows line endings and trading amount logic error.