24 lines
689 B
C#
24 lines
689 B
C#
using System;
|
|
|
|
namespace MarketData.MarketDataModel
|
|
{
|
|
public class PositionWithDescription : MarketDataModel.Position
|
|
{
|
|
public PositionWithDescription()
|
|
{
|
|
}
|
|
public PositionWithDescription(MarketDataModel.Position position, String companyName, String description)
|
|
{
|
|
if (null == position || null == description) return;
|
|
this.Symbol = position.Symbol;
|
|
this.Shares = position.Shares;
|
|
this.MarketValue = position.MarketValue;
|
|
this.Exposure = position.Exposure;
|
|
this.Description = description;
|
|
this.CompanyName = companyName;
|
|
}
|
|
public String Description { get; set; }
|
|
public String CompanyName { get; set; }
|
|
}
|
|
}
|