30 lines
825 B
C#
30 lines
825 B
C#
#nullable enable
|
|
namespace Spark.Sdk;
|
|
|
|
using bts.api;
|
|
|
|
using Spark.Api.Services;
|
|
|
|
public class SdkSampleConfig {
|
|
public SparkCredentials? Credentials { get; set; }
|
|
public SdkMarketDataSampleConfig? MarketData { get; set; }
|
|
public SdkOrderSampleConfig? Order { get; set; }
|
|
}
|
|
|
|
public class SdkMarketDataSampleConfig {
|
|
public string? Exchange { get; set; }
|
|
public string? SecurityType { get; set; }
|
|
public string? Symbol { get; set; }
|
|
public string? SecurityDesc { get; set; }
|
|
}
|
|
|
|
public class SdkOrderSampleConfig {
|
|
public string? Exchange { get; set; }
|
|
public string? SecurityType { get; set; }
|
|
public string? Symbol { get; set; }
|
|
public string? SecurityDesc { get; set; }
|
|
public string? Account { get; set; }
|
|
public string? Quantity { get; set; }
|
|
public string? Price { get; set; }
|
|
}
|