A website prototype similar to Equity trading platform.
Main component which abstract the functionality of the requested module
Consumers of this component should pass userID
, stockRefreshFrequency
disableTimer
, onStockListUpdate(CB)
, onTransaction(CB)
as props to this component
otherwise, default values will be:
userID
=12345,
stockRefreshFrequency
=5,
disableTimer
=false,
onStockListUpdate
=()=>{},
onTransaction=
()=>{}
Component which uses the APP component for demo implementation Also contains RefreshTab which is not part of the main module but allows to manage timer for live stock update