update hedge fund && add politican to db

This commit is contained in:
MuslemRahimi 2024-08-03 23:10:05 +02:00
parent 8ac1c1ad13
commit 7c59090bdb
5 changed files with 7 additions and 5 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -679,6 +679,8 @@ export function getPartyForPoliticians(name) {
"Nicole Malliotakis": "Republican",
"Buddy Carter": "Republican",
"John Fetterman": "Democratic",
"Sharice Davids": "Democratic",
};
// Combine first and last name to form the key

View File

@ -285,10 +285,10 @@ function calculateStats(data) {
displayCallVolume = callVolumeSum;
displayPutVolume = putVolumeSum;
mostFrequentTicker = findMostFrequentTicker(rawData);
highestVolumeTicker = findHighestVolume(rawData);
highestPremiumTicker = findHighestCostBasis(rawData);
highestOpenInterestTicker = findHighestOpenInterest(rawData);
mostFrequentTicker = findMostFrequentTicker(data);
highestVolumeTicker = findHighestVolume(data);
highestPremiumTicker = findHighestCostBasis(data);
highestOpenInterestTicker = findHighestOpenInterest(data);
}