Open stayradiated opened 3 years ago
This is quite important -- the way we do this at the moment is very hacky and annoying.
It would be good to store fee % in the database, I guess we would need maker/taker
fees.
Perhaps with a user override so they can configure their own fees? Seems a bit overkill..,
I think the best way to handle this for now is to always treat the fee as inclusive. i.e. when we place an order for $100 that should include any fees. Total spent should be $100.
KiwiCoin has an inclusive fee: Bidding $100 @ $100/BTC with 1% inclusive fee: Spend $100 and receive 0.99 BTC
Dasset has an exclusive fee: Bidding $100 @ $100/BTC with 1% exclusive fee: Spend $101 and receive 1 BTC