qf-lib
qf-lib copied to clipboard
Currencies in backtest
Introducing currencies in the backtest:
- Each ticker and future contract now has a designated currency parameter.
- Backtest porfolio has a designated currency.
- Transactions are transacted in the ticker currency and the net liquidation of the portfolio is recorded in the portfolio currency by converting transaction costs and P/L using a set of currency exchange tickers.