-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJokerOption.cs
40 lines (22 loc) · 969 Bytes
/
JokerOption.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
34
35
36
37
38
39
40
namespace JokeTrader;
using Bybit.Net.Enums;
using TorchSharp;
internal class JokerOption {
public DateTime HistoryStart { get; } = new(2023, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public DateTime HistoryEnd { get; } = new(2024, 12, 1, 0, 0, 0, DateTimeKind.Utc);
public Category Category => Category.Inverse;
public string Symbol => "BTCUSDT";
public KlineInterval KlineInterval => KlineInterval.FiveMinutes;
public OpenInterestInterval InterestInterval => OpenInterestInterval.FiveMinutes;
public DataPeriod Period => DataPeriod.FiveMinutes;
public int BatchSize => 64;
public int Epochs => 100;
public int MaxWindow => 40;
public int MinWindow => 10;
public int NumHeads => 16;
public int EmbedDim => 1024;
public int NumLayers => 24;
public int Patience => 10;
public float Alpha => 0.7f;
public torch.Device Device { get; } = torch.cuda_is_available() ? torch.CUDA : torch.CPU;
}