create banker classes with interfaces only
venediktov opened this issue · comments
Vladimir Venediktov commented
we need some Banker generic interface classes in our core library which then can
be used for some sample code in
examples/banker where we should provide some implementation possibly utilizing our rtb/datacache generic structures.
features :
- add / withdraw funds
- audit transactions
- put holds on bidded amounts
- revert bid if no win or timer
Vladimir Venediktov commented
- no hold needed for budded amounts we are going with simple approach , deduct on win notification only .
Due to the fact that only < 10% of bids win no need to put a temporary hold .
It actually makes system jitter and stop and go on bidding . Prefer a hard stop .