Being aggressive when bidding means to oubtbid everyone to get the SFX
Being meek when bidding means to obtain the max profit
How close you are to the max profit
How close to be when been outbid, but still wants to be place a bid close to last one
If outbid, executor makes the same last bid
Number of bid by executor
Number of bids on each side effect. KEYs: sfx id; VALUEs: number of bids
When there's no competition yet, get the execution by getting the smallest profit
At the beginning, it has never been outbid
Which executors are bidding on which side effect. KEYs: sfx id; VALUEs: executor ids array
Keep a record of how many executor have bid into each SFX.
The side effect bidding on
Check if the executor has been outbid in the SFX, and if so, updates the map.
The side effect in question
true if the top bidder changed
Check the scenario the executor+sfx are in to select which behavior to apply.
The SFX object
The situation to choose the action
When an executor has been undercut, it can choose to: - Undercut again - Keep the previous bid - Exit the bidding process
The bidding amount in USD
Computes the bidding amount for a given SFX for a certain scenario.
The SFX object
The bidding amount in USD
When there are no other bids, the executor maximizes the profit or gets the execution.
The side effect to bid on
The bidding amount in USD
When there are other bids, the executor can choose to: - Outbid everyone - Get % (bidPercentile) close to the top bid - Get the max profit The last two options suppose that executors can exit the bidding process, so someone bidding less would still win it.
The side effect to bid on
The bidding amount in USD
Store who (bidder id) bids on what (sfx id), to keep a "database" to, maybe, implement exclusion rules for bidding (e.g., I don't want to bid if this ID is in there; or bid to keep those people out); and also store how many bids an executor have made in total.
The side effect ID
The executor ID
Generated using TypeDoc
The bidding engine is used for determining the bidding amount for a given side effect. It expects SFXs that have already been evaluated by the strategy engine and are deemed profitable.