degiro-api
Version:
Unofficial DeGiro API for Javascript. Buy and sell in the stock market. See your portfolio and much more
25 lines (22 loc) • 441 B
text/typescript
export type AccountInfoType = {
baseCurrency: string,
cashFunds: AccountInfoCashFunds,
clientId: number,
compensationCapping: number,
currencyPairs: AccountInfoCurrencyPairs,
marginType: string,
}
type CashFund = {
id: number,
name: string,
productIds: number[],
}
type AccountInfoCashFunds = {
[key: string]: CashFund[],
}
type AccountInfoCurrencyPairs = {
[key: string]: {
id: number,
price: string,
},
}