vagabond-systems / jpmc-task-2

Starter repo for task 2 of JPMC's forage program
13 stars 13.86k forks source link

Updated Forage Task 2 #126

Open ParasPuneetSingh opened 8 months ago

ParasPuneetSingh commented 8 months ago

Updated App.tsx.

Changes in Graph.tsx: Extended the PerspectiveViewerElement interface to behave like an HTMLElement. Simplified the const elem definition in the componentDidMount method. Added attributes to the PerspectiveViewerElement to configure the graph visualization.

End Result: Continuous updating line graph showing top_ask_price over time. Duplicate data is handled by aggregating and averaging values for similar data points. Achieved the desired objectives outlined in the task.