25 lines
417 B
C#
25 lines
417 B
C#
using System;
|
|
namespace sharp.trading
|
|
{
|
|
public class OrderbookVolume : MarshalByRefObject
|
|
{
|
|
public double VolumeBuy;
|
|
public double PriceBuy;
|
|
public double VolumeSell;
|
|
public double PriceSell;
|
|
|
|
public double AverageUnitPriceBuy {
|
|
get { return PriceBuy / VolumeBuy; }
|
|
}
|
|
|
|
public double AverageUnitPriceSell
|
|
{
|
|
get { return PriceSell / VolumeSell; }
|
|
}
|
|
|
|
public OrderbookVolume()
|
|
{
|
|
}
|
|
}
|
|
}
|