Add
This commit is contained in:
24
Interface/IPositionModel.cs
Normal file
24
Interface/IPositionModel.cs
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace TradeBlotter.Interface
|
||||||
|
{
|
||||||
|
public interface IPositionModel
|
||||||
|
{
|
||||||
|
String Symbol {get;set;}
|
||||||
|
|
||||||
|
DateTime PurchaseDate {get;set;}
|
||||||
|
|
||||||
|
DateTime SellDate {get;set;}
|
||||||
|
|
||||||
|
double Shares {get;set;}
|
||||||
|
|
||||||
|
double PurchasePrice {get;set;}
|
||||||
|
|
||||||
|
double CurrentPrice {get;set;} // if sell date is not epoch then this is the sell price
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user