|
Lean
$LEAN_TAG$
|
Defines a short list/easy-to-borrow provider More...
Public Member Functions | |
| decimal | FeeRate (Symbol symbol, DateTime localTime) |
| Gets interest rate charged on borrowed shares for a given asset. More... | |
| decimal | RebateRate (Symbol symbol, DateTime localTime) |
| Gets the Fed funds or other currency-relevant benchmark rate minus the interest rate charged on borrowed shares for a given asset. Interest rate - borrow fee rate = borrow rebate rate: 5.32% - 0.25% = 5.07% More... | |
| long? | ShortableQuantity (Symbol symbol, DateTime localTime) |
| Gets the quantity shortable for a Symbol. More... | |
Defines a short list/easy-to-borrow provider
Definition at line 23 of file IShortableProvider.cs.
| decimal QuantConnect.Interfaces.IShortableProvider.FeeRate | ( | Symbol | symbol, |
| DateTime | localTime | ||
| ) |
Gets interest rate charged on borrowed shares for a given asset.
| symbol | Symbol to lookup fee rate |
| localTime | Time of the algorithm |
Implemented in QuantConnect.Data.Shortable.LocalDiskShortableProvider, QuantConnect.Data.Shortable.ShortableProviderPythonWrapper, and QuantConnect.Data.Shortable.NullShortableProvider.
| decimal QuantConnect.Interfaces.IShortableProvider.RebateRate | ( | Symbol | symbol, |
| DateTime | localTime | ||
| ) |
Gets the Fed funds or other currency-relevant benchmark rate minus the interest rate charged on borrowed shares for a given asset. Interest rate - borrow fee rate = borrow rebate rate: 5.32% - 0.25% = 5.07%
| symbol | Symbol to lookup rebate rate |
| localTime | Time of the algorithm |
Implemented in QuantConnect.Data.Shortable.LocalDiskShortableProvider, QuantConnect.Data.Shortable.ShortableProviderPythonWrapper, and QuantConnect.Data.Shortable.NullShortableProvider.
| long? QuantConnect.Interfaces.IShortableProvider.ShortableQuantity | ( | Symbol | symbol, |
| DateTime | localTime | ||
| ) |
Gets the quantity shortable for a Symbol.
| symbol | Symbol to check shortable quantity |
| localTime | Local time of the algorithm |
Implemented in QuantConnect.Data.Shortable.LocalDiskShortableProvider, QuantConnect.Data.Shortable.ShortableProviderPythonWrapper, and QuantConnect.Data.Shortable.NullShortableProvider.