Init
This commit is contained in:
28
MarketDataLib/MarketDataModel/PriceIndex.cs
Normal file
28
MarketDataLib/MarketDataModel/PriceIndex.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MarketData.MarketDataModel
|
||||
{
|
||||
public class PriceIndex
|
||||
{
|
||||
public String Code{get;set;}
|
||||
public String Name{get;set;}
|
||||
public double Value{get;set;}
|
||||
public DateTime AsOf{get;set;}
|
||||
public String Source{get;set;}
|
||||
}
|
||||
|
||||
public class PriceIndices : List<PriceIndex>
|
||||
{
|
||||
public PriceIndices()
|
||||
{
|
||||
}
|
||||
public PriceIndices(List<PriceIndex> priceIndices)
|
||||
{
|
||||
foreach(PriceIndex priceIndex in priceIndices)
|
||||
{
|
||||
Add(priceIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user