The default value for the market parameter in AddForex, AddOption, AddEquity and AddCfd is null. This allows unspecified markets to be set from the BrokerageModel.DefaultMarkets in the AddSecurity method for new securities added with these methods. SetBrokerageModel updates BrokerageModel.DefaultMarkets and therefore the market used for all new securities.