Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }