27 lines
702 B
C#
27 lines
702 B
C#
using bts.api;
|
|
|
|
namespace mbts.user.settings
|
|
{
|
|
public interface ISecurityBasedSettingsFactory
|
|
{
|
|
SecurityBasedSettings get(Venue exchange, SecurityType type, string symbol);
|
|
}
|
|
|
|
public interface ISecurityBasedSettingsFactory<T> : ISecurityBasedSettingsFactory where T : class
|
|
{
|
|
}
|
|
|
|
[ProtoBuf.ProtoContract]
|
|
[ProtoBuf.ProtoInclude(100, typeof(SecurityTickSettings))]
|
|
public abstract class SecurityBasedSettings
|
|
{
|
|
protected SecurityBasedSettings() { }
|
|
protected SecurityBasedSettings(SecurityTuple security) {
|
|
this.security = security;
|
|
}
|
|
|
|
[ProtoBuf.ProtoMember(1)]
|
|
public SecurityTuple security;
|
|
}
|
|
}
|