[python][MyInvestMan] move build opener function to Broker class