Skip to content

using maxheap and minheap to build an priority queue to process stock trading in high volumes

Notifications You must be signed in to change notification settings

vargasleo/homebroker-algorithm

Repository files navigation

homebroker-algorithm

Algorithms and data structures II - PUC RS

Using maxheap and minheap to build an priority queue to process stock trading in high volumes.

  1. Input is a txt file where each line represents an buy or sell order
  2. The algorithm read each line and close any possible deal with those offers
  3. At the end, it calculates the profit made by the arbitrage

Check the detailed problem statement here (pt-br).

And my complete report, containing time-complexity analysis of the algorithm, here (pt-br).

Fluxogram (pt-br):

figura

About

using maxheap and minheap to build an priority queue to process stock trading in high volumes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published