forked from QuantBox/QuantBox.APIProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTradeEx.cs
More file actions
35 lines (30 loc) · 856 Bytes
/
Copy pathTradeEx.cs
File metadata and controls
35 lines (30 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using XAPI;
using SmartQuant;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuantBox.Extensions
{
public class TradeEx:Trade
{
public TradeEx()
: base()
{
}
public TradeEx(Trade trade)
: base(trade)
{
}
public TradeEx(DateTime dateTime, byte providerId, int instrumentId, double price, int size)
: base(dateTime, providerId, instrumentId, price, size)
{
}
public TradeEx(DateTime dateTime, DateTime exchangeDateTime, byte providerId, int instrumentId, double price, int size)
: base(dateTime, exchangeDateTime, providerId, instrumentId, price, size)
{
}
public DepthMarketDataNClass DepthMarketData;
}
}