Arbitrage Trading Decision Model
Directly taken from my Kaggle notebook
The formula can be adapted into an arbitrage-trading decision model like below, but by itself it is not an arbitrage formula.
where the 7 signals are normalized signals and is a dynamically calculated risk/reward/allocation value.
For arbitrage, I would use the same concept like this:
where the signals could be:
Price spread
Bid/ask spread
Trading fees
Slippage
Market liquidity
Transfer/settlement latency
Historical spread reliability
Then calculate the actual arbitrage profit:
and the net arbitrage percentage:
For example:
| Parameter | Exchange A | Exchange B |
|---|---|---|
| Buy price | $100,000 | — |
| Sell price | — | $100,800 |
| Quantity | 0.10 BTC | 0.10 BTC |
| Gross spread | $80 |
Gross profit:
Suppose total fees + slippage + other costs = $35:
So:
Then your 7-signal formula can decide whether to execute:
For example, if the normalized signals are:
then:
You could define:
This becomes much more interesting when you're thinking about an actual AI/ML arbitrage system: the 7-signal surface can become a dynamic execution score, while the deterministic pricing equation guarantees that you don't execute trades where fees, slippage and latency eliminate the arbitrage.
You can find the full Kaggle notebook here
