You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
367 B
21 lines
367 B
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/v2/portfolio/performance?range={endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
today: {
|
|
endpoint: "1d",
|
|
},
|
|
year: {
|
|
endpoint: "1y",
|
|
},
|
|
max: {
|
|
endpoint: "max",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|