refactoring input_fields

This will make the differences between trade_record, investment_record and input much clearer.