In another thread I talked about how borrowing on margin generates interest fees with Interactive Brokers.

I have another question: With LEAN, how would one allocate cash for paying margin interest fees while also simultaneously borrowing on margin?  To my knowledge, to borrow on margin, you need to set your trade's leverage above 1.0.  However by doing that you leave no room for liquid cash to pay the interest fees. 

Any help is greatly appreciated.

Author