You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after all, the exchange receives a percentage of all transactions, and in your code only a percentage of transactions is taken away, and not the purchase/sale cost
it is logical to assume that the transaction will be profitable if the sell_price / buy_price - 1 > fee_ratio
Activity
pythonlessons commentedon Mar 21, 2024
Thanks for this investigation:
sell_price / buy_price - 1 > fee_ratioI'll check this later