2017-11-27 18:09:54 +02:00
|
|
|
using System.Collections;
|
|
|
|
|
|
|
|
|
|
namespace MtApi5.Requests
|
|
|
|
|
{
|
|
|
|
|
internal class ICustomRequest : RequestBase
|
|
|
|
|
{
|
|
|
|
|
public enum ParametersType
|
|
|
|
|
{
|
|
|
|
|
Int = 0,
|
|
|
|
|
Double = 1,
|
|
|
|
|
String = 2,
|
|
|
|
|
Boolean = 3
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-07 23:19:19 +02:00
|
|
|
public required string Symbol { get; set; }
|
2017-11-27 18:09:54 +02:00
|
|
|
public int Timeframe { get; set; }
|
2024-01-07 23:19:19 +02:00
|
|
|
public string? Name { get; set; }
|
|
|
|
|
public ArrayList? Params { get; set; }
|
2017-11-27 18:09:54 +02:00
|
|
|
public ParametersType ParamsType { get; set; }
|
|
|
|
|
|
|
|
|
|
public override RequestType RequestType => RequestType.iCustom;
|
|
|
|
|
}
|
|
|
|
|
}
|