Jhonathan Abreu
Jhonathan Abreu
Closing with #175 Now both imports work in cloud and locally: ```py from MyLibrary import mylib ``` or ```py import mylib ``` for the projects structure above.
In Python, this API `History(symbol, start, end, resolution)` with `resolution=Resolution.Tick` will fetch both trade and quote ticks but because of how the dynamic accessors work for [equity slices](https://github.com/QuantConnect/Lean/blob/31b603593da2f707538f9e94043f1be400f8f639/Common/Data/SubscriptionManager.cs#L289), the ones...
It seems the initial margin requirement does actually depends on the limit price for limit orders. I'm attaching screenrecordings from Binance and Bybit Futures testnets. I couldn't see the actual...
I think [this algorithm](https://www.quantconnect.com/terminal/clone/-/68e751416a9e35ed438f63f8e7795703/clone-of%3A-calm-violet-jaguar) reproduces the issue. For crypto futures, the [calculated available margin](https://github.com/QuantConnect/Lean/blob/645aa73e8eb09794cb9a5bb12e0b8024eca8b46a/Common/Securities/CryptoFuture/CryptoFutureMarginModel.cs#L91) for an order is not accounting for the existing position when the order goes in the...
Thank you @fishstoryyy and @ChengYen-Tang Indeed, Binance does deduct the intial margin for an open position from the avialable margin. There is a difference between what Binance and Lean consider...
Lean currently does not support weekly and daily future options contracts. In order to have this feature in a live IB deployment, the LiveOptionChainProvider would need to [take into account...
Edited the issue. It would be really nice to be able to enable parentheses autocompletion for functions and maybe classes (not enums) in VSCode+Python extension+Jedi Language Server
Re-opening it since not 100% the same as #7868
Hi @symbion6 If you have more logs to share, it would be nice for us to take a better look asap. Thanks
@symbion6 You can run your backtest with the Lean CLI `verbose` flag: `lean backtest Project --debug vsdbg --verbose` and share the logs, pelase