PaulSquires / TradeTracker

Stocks, Futures and Options positions and market portfolio tracker (includes optional Interactive Brokers IBKR TWS API integration)
https://www.tradetracker.planetsquires.com
MIT License
54 stars 9 forks source link

Add box spread - leverage #44

Open andrewcz opened 3 months ago

andrewcz commented 3 months ago

hi @PaulSquires is the box spread be able to be added.

this is to lend and borrow money at better rates.

similar to the below

https://github.com/asemx/ibkrbox

PaulSquires commented 2 months ago

I looked at your link. That project attempts to automate the calculation for an optimal box spread:

(per the link) "This utility will automatically look up current treasury rates, and add .30 to get the yield rate. This will be used to calculate limit price. rate or limit price can be overridden as needed. It can also automatically calculate the right strikes and spread, with approximate expiry for given duration. All of these can be overridden as needed."

This type of functionality is beyond the scope of the TradeTracker project. TradeTracker is simply a tracker. Nothing more. It is not a trade builder, stock or option screener, or backtester.

You can record a box spread in TradeTracker by choosing "Custom options Trade" and entering the 4 legs of the trade.