Ejemplo n.º 1
0
 public Task <IMarkup> SetDefaultAsync(string assetPairId, string priceAssetPairId, PriceMethod priceMethod, IMarkupValue markupValue)
 {
     return(_markupRepository.SetAsync(new Markup
     {
         AssetPairId = assetPairId,
         CreatedOn = DateTime.UtcNow,
         DeltaSpread = markupValue.DeltaSpread,
         Percent = markupValue.Percent,
         Pips = markupValue.Pips,
         FixedFee = markupValue.FixedFee,
         PriceAssetPairId = priceAssetPairId,
         PriceMethod = priceMethod,
         IdentityType = MarkupIdentityType.None,
         Identity = string.Empty
     }));
 }