Closed ingeniumyazilim closed 2 years ago
It's used in trade.js here to calculate a profit target: https://github.com/jamesbachini/DEX-Arbitrage/blob/48862833e0f896dd590a3ebdaf4ce7ef99dc4f4b/scripts/trade.js#L54
Setting it higher finds less trades but more profitable ones (assuming no one executes it first), setting it to zero will fire on all trades even if profits wont cover transaction costs.
Thanks James
Any suggestion for minBasisPointsPerTrade ? I set 50 and didn't fire any transaction :(
Maybe its too much and actually too many other bot work
Because 50 the profit possible is bigger so other bot with good hardware performance are for sure actually scan it ...
It depends what your transaction cost is and how large the trade is. Basically when there are gas fees you need the profits to cover the transaction fees. 1 basis point = 1% of 1%.
OK thanks !! Easy earning is still hard. :)) Aurora per transaction gas fee 0.03 USD. I set 20 minBasisPointsPerTrade is okay. but less chance.
What is minBasisPointsPerTrade used for ?