ui fix
This commit is contained in:
parent
84ff95b832
commit
1b3bbd1da1
@ -159,6 +159,7 @@
|
|||||||
type: "percentSign",
|
type: "percentSign",
|
||||||
},
|
},
|
||||||
{ name: "Change OI", rule: "changeOI", type: "decimal" },
|
{ name: "Change OI", rule: "changeOI", type: "decimal" },
|
||||||
|
{ name: "Total OI", rule: "totalOI", type: "int" },
|
||||||
];
|
];
|
||||||
|
|
||||||
allRows = [...allRows, ...specificRows];
|
allRows = [...allRows, ...specificRows];
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
export const load = async ({ locals, setHeaders }) => {
|
export const load = async ({ locals }) => {
|
||||||
|
|
||||||
const getStocks = async () => {
|
const getStocks = async () => {
|
||||||
const { apiKey, apiURL } = locals;
|
const { apiKey, apiURL } = locals;
|
||||||
@ -14,7 +14,6 @@ export const load = async ({ locals, setHeaders }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const output = await response.json();
|
const output = await response.json();
|
||||||
setHeaders({ "cache-control": "public, max-age=60*5" });
|
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
export let data;
|
export let data;
|
||||||
|
|
||||||
const defaultList = [
|
const defaultList = [
|
||||||
|
{ name: "Total OI", rule: "totalOI" },
|
||||||
{ name: "Change OI", rule: "changeOI" },
|
{ name: "Change OI", rule: "changeOI" },
|
||||||
{ name: "Price", rule: "price" },
|
{ name: "Price", rule: "price" },
|
||||||
{ name: "% Change", rule: "changesPercentage" },
|
{ name: "% Change", rule: "changesPercentage" },
|
||||||
@ -19,6 +20,7 @@
|
|||||||
"eps",
|
"eps",
|
||||||
"marketCap",
|
"marketCap",
|
||||||
"changeOI",
|
"changeOI",
|
||||||
|
"totalOI",
|
||||||
]);
|
]);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user