Added Ghostfolio widget

This commit is contained in:
Mathias R
2023-03-01 19:44:13 +01:00
parent cb554f269c
commit e97fdc17be
6 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/v2/portfolio/performance?range={endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
today: {
endpoint: "1d"
},
ytd: {
endpoint: "ytd"
},
year: {
endpoint: "1y"
},
max: {
endpoint: "max"
},
},
};
export default widget;