26 lines
744 B
C#
26 lines
744 B
C#
using System;
|
|
using System.Text;
|
|
using MarketData.Utils;
|
|
|
|
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;}
|
|
}
|
|
}
|