Skip to content

Settlement

First, you need login.

In

api.list_settlements(api.stock_account)

Out

[Settlement(t_money=120523.0, t1_money=0.0, t2_money=0.0, t_day='2020-06-03', t1_day='2020-06-04', t2_day='2020-06-05')]

In

settlement = api.list_settlements(api.stock_account)   
df = pd.DataFrame(settlement)     
df     

Out

tmoney t1_money t2_money t_day t1_day t2_day
120523.0 0.0 0.0 '2020-06-03' '2020-06-04' '2020-06-05'

Attributes:

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