帳戶損益速查
account_total_pnl
輸入參數
參數 | 類別 | 說明 |
---|---|---|
account | Account | 帳號 |
帳戶損益速查 AccountQuickInquiryResponse 欄位
參數 | 類別 | 說明 |
---|---|---|
unrealized_profit_loss_cash | String | 未實現損益(現股) |
unrealized_profit_loss_margin | String | 未實現損益(融資) |
unrealized_profit_loss_short_selling | String | 未實現損益(融券) |
unrealized_profit_loss_total | String | 未實現損益總計 |
realized_profit_loss_cash | String | 已實現損益(現股) |
realized_profit_loss_margin | String | 已實現損益(融資) |
realized_profit_loss_short_selling | String | 已實現損益(融券) |
realized_profit_loss_total | String | 已實現損益總計 |
day_trading_profit_loss_credit | String | 當沖損益(信用) |
day_trading_profit_loss_cash | String | 當沖損益(現股) |
net_amount | String | 淨收付金額 |
account_maintenance_rate | string | 整戶維持率 |
total_profit_loss_cash | String | 總損益(現股) |
total_profit_loss_margin | String | 總損益(融資) |
total_profit_loss_short_selling | String | 總損益(融券) |
total_profit_loss | String | 總損益 |
請求範例
sdk.accounting.account_total_pnl(account)
回傳範例
AccountQuickInquiryResponse = {
unrealized_profit_loss_cash: "82593", # 未實現損益(現股) (string)
unrealized_profit_loss_margin: "0", # 未實現損益(融資) (string)
unrealized_profit_loss_short_selling: "0", # 未實現損益(融券) (string)
unrealized_profit_loss_total: "82593", # 未實現損益總計 (string)
realized_profit_loss_cash: "0", # 已實現損益(現股) (string)
realized_profit_loss_margin: "0", # 已實現損益(融資) (string)
realized_profit_loss_short_selling: "0", # 已實現損益(融券) (string)
realized_profit_loss_total: "0", # 已實現損益總計 (string)
day_trading_profit_loss_credit: "0", # 當沖損益(信用) (string)
day_trading_profit_loss_cash: "0", # 當沖損益(現股) (string)
net_amount: "-2904132", # 淨收付金額 (string)
account_maintenance_rate: None, # 整戶維持率 (string)
total_profit_loss_cash: "82593", # 總損益(現股) (string)
total_profit_loss_margin: "0", # 總損益(融資) (string)
total_profit_loss_short_selling: "0", # 總損益(融券) (string)
total_profit_loss: "82593", # 總損益 (string)
}