-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathStrategy.cs
33 lines (29 loc) · 1.19 KB
/
Strategy.cs
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
using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.TradeView.Core.TradeStrategy
{
public class Strategy
{
public Strategy()
{
StrategySubscriptions = new List<StrategySubscription>();
}
public int Id { get; set; }
public string Name { get; set; }
public string StartedBy { get; set; }
public DateTime Started { get; set; }
public StrategyStatus Status { get; set; }
public List<StrategySubscription> StrategySubscriptions { get; private set; }
/// <summary>
/// The assembly to load and run. The assembly must contain a class that implements
/// interface <see cref="DevelopmentInProgress.TradeServer.TradeStrategy.ITradeStrategy"/>
/// </summary>
public string TargetAssembly { get; set; }
/// <summary>
/// The type name to run in the <see cref="TargetAssembly"/> including full namespace.
/// The target type must implement <see cref="DevelopmentInProgress.TradeServer.TradeStrategy.ITradeStrategy"/>
/// </summary>
public string TargetType { get; set; }
public string Parameters { get; set; }
}
}