Added Ghostfolio widget

This commit is contained in:
Mathias R committed 2023-03-01 19:44:13 +01:00
1 parent cb554f269c
commit e97fdc17be
6 files changed
+79

No files matched your search

+23
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;