Settlement
Warning: The features of this page will be removed in the future.
Query stock account of settlements
First, you need login.¶
In
using System;
using Sinopac.Shioaji;
Shioaji _api = new Shioaji();
var _accounts = _api.Login("YOUR_PERSON_ID", "YOUR_PASSWORD");
var settlement = _api.ListSettlements();
Console.WriteLine(settlement.ToString());
Out
[{
t_money=0,
t1_money=0,
t2_money=0,
t_day=2022-07-27,
t1_day=2022-07-28,
t2_day=2022-07-29,
}]
Attributes:
Name | Type | Description |
---|---|---|
t_money |
float | T settlement |
t1_money |
float | T + 1 settlement |
t2_money |
float | T + 2 settlement |
t_day |
str | T |
t1_day |
str | T + 1 |
t2_day |
str | T + 2 |