public GridBotCreateData(int accountId, GridBotData data) { AccountId = accountId; QuantityPerGrid = data.QuantityPerGrid; GridsQuantity = data.GridsQuantity; LowerLimitPrice = data.LowerLimitPrice; UpperLimitPrice = data.UpperLimitPrice; LeverageCustomValue = data.LeverageCustomValue; LeverageType = data.LeverageType; Pair = data.Pair; }
public GridBotUpdateData(int id, GridBotData data) { Id = id; Name = data.Name; QuantityPerGrid = data.QuantityPerGrid; GridsQuantity = data.GridsQuantity; LowerLimitPrice = data.LowerLimitPrice; UpperLimitPrice = data.UpperLimitPrice; LeverageCustomValue = data.LeverageCustomValue; LeverageType = data.LeverageType; Pair = data.Pair; }