nkaz001 / hftbacktest

A high-frequency trading and market-making backtesting and trading bot in Python and Rust, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books, with real-world crypto market-making examples for Binance Futures
MIT License
2.01k stars 395 forks source link

Add a set of initial FeeModels and propagate the FeeModel across hftbacktest #105

Closed roykim98 closed 3 months ago

roykim98 commented 3 months ago

Add a set of initial FeeModels and propagate the FeeModel across hftbacktest. These FeeModels could probably use some refinement, but this PR should mostly act as a no-op to use the percentage-based fee.

nkaz001 commented 3 months ago

I think other fee models can also set maker and taker fees differently.

nkaz001 commented 3 months ago

Thank you for your contribution. Before merging into the master branch, I will refactor the trivial details, and it will be included in PR #109.