fn build_header( env: &str, acc_id: u64, market: &str, jp_acc_type: Option<i32>, ) -> Result<TrdHeader>