public void Save() { foreach (var item in this.InstrumentModels) { item.Price = 0; } var config = new ArbitrageConfig { InstrumentConfigs = this.InstrumentModels.ToArray(), Symbol = this.Symbol, TriggerPrice = this.TriggerPrice, Multiple = this.Multiple }; ConfigHelper.SaveConfig(ARBITRAGE_CONFIG_KEY, config); }