If trade close return dashes.
This commit is contained in:
@@ -147,6 +147,7 @@ namespace TradeBlotter.ViewModels
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
if (trade.IsClosed) return Constants.CONST_DASHES;
|
||||||
return Utility.FormatPrice(trade.LatestPrice);
|
return Utility.FormatPrice(trade.LatestPrice);
|
||||||
}
|
}
|
||||||
set { trade.LatestPrice = double.Parse(value); base.OnPropertyChanged("CurrentPrice"); }
|
set { trade.LatestPrice = double.Parse(value); base.OnPropertyChanged("CurrentPrice"); }
|
||||||
|
|||||||
Reference in New Issue
Block a user