qmph22 17c9b2631e
Enhancement: add net worth field for ghostfolio (#5958)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-11-13 00:31:55 +00:00

24 lines
479 B
JavaScript

import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
today: {
endpoint: "v2/portfolio/performance?range=1d",
},
year: {
endpoint: "v2/portfolio/performance?range=1y",
},
max: {
endpoint: "v2/portfolio/performance?range=max",
},
userInfo: {
endpoint: "v1/user",
},
},
};
export default widget;