quantconnect-stubs 17453__py3-none-any.whl → 17454__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2376,6 +2376,16 @@ class dYdXBrokerageModel(QuantConnect.Brokerages.DefaultBrokerageModel):
2376
2376
  """
2377
2377
  ...
2378
2378
 
2379
+ def get_buying_power_model(self, security: QuantConnect.Securities.Security) -> QuantConnect.Securities.IBuyingPowerModel:
2380
+ """
2381
+ Gets a new buying power model for the security, returning the default model with the security's configured leverage.
2382
+ For cash accounts, leverage = 1 is used.
2383
+
2384
+ :param security: The security to get a buying power model for
2385
+ :returns: The buying power model for this brokerage/security.
2386
+ """
2387
+ ...
2388
+
2379
2389
  def get_fee_model(self, security: QuantConnect.Securities.Security) -> QuantConnect.Orders.Fees.IFeeModel:
2380
2390
  """
2381
2391
  Provides dYdX fee model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantconnect-stubs
3
- Version: 17453
3
+ Version: 17454
4
4
  Summary: Type stubs for QuantConnect's Lean
5
5
  Home-page: https://github.com/QuantConnect/quantconnect-stubs-generator
6
6
  Author: QuantConnect
@@ -63,7 +63,7 @@ QuantConnect/Api/Serialization/__init__.pyi,sha256=QazreRB94wRgy4QlYKWcInFeJ4b3N
63
63
  QuantConnect/Benchmarks/__init__.py,sha256=R88R40175vAvKWO1FE5DBtSow5VJ53ElRMOVRBqhzuI,1226
64
64
  QuantConnect/Benchmarks/__init__.pyi,sha256=S3-44iVW-mbeczSdZ8agEINZd8UAZaf3hnxP5U65KWM,3045
65
65
  QuantConnect/Brokerages/__init__.py,sha256=KZQ1Lua5IgmaUv8xJ-styLeGrIR4hX1LiBiNasKdvYY,1226
66
- QuantConnect/Brokerages/__init__.pyi,sha256=GWjSjr2NcganAmtlTtNfemUG3-727QfGHp7ilMzpKoo,176379
66
+ QuantConnect/Brokerages/__init__.pyi,sha256=dflm4ULdMq--CBBqS2i-4lRFbcogswzis2CzT5w8sx0,176866
67
67
  QuantConnect/Brokerages/Authentication/__init__.py,sha256=4QsOVrHtOapg0AWqnB8ub_6FkqXH_En8h7pDoywdcek,1271
68
68
  QuantConnect/Brokerages/Authentication/__init__.pyi,sha256=C5slVstsknd94OH1C1Tnxel-MeyiIvdZauJioY5bHZs,8628
69
69
  QuantConnect/Brokerages/Backtesting/__init__.py,sha256=eey6rPGZqPTgs5OOlxJEUc-oLXtULP33yL6vmq43suM,1262
@@ -402,7 +402,7 @@ clr/__init__.pyi,sha256=21MB2O5_ACzDS7l56ETyFFH9c0TOSGov39Xs1a1r6ik,418
402
402
  clr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
403
403
  exports/__init__.py,sha256=ioORXBph-UrMrE_0Rghav2MU6fWzjozXikRm9MmxAkw,1173
404
404
  exports/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
405
- quantconnect_stubs-17453.dist-info/METADATA,sha256=7iHwaXFV7rPgXfjki0Gv8Hxpry-p9mO4rA4DeAkKs54,1504
406
- quantconnect_stubs-17453.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
- quantconnect_stubs-17453.dist-info/top_level.txt,sha256=-TybN6WLciSHclJ3a7i35Q5iL86nl5wAmrg1ghSzPvE,92
408
- quantconnect_stubs-17453.dist-info/RECORD,,
405
+ quantconnect_stubs-17454.dist-info/METADATA,sha256=8OEntSGIqvGc9El7hVn9dZD-JwYc-C-tcFMIJde9zuo,1504
406
+ quantconnect_stubs-17454.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
+ quantconnect_stubs-17454.dist-info/top_level.txt,sha256=-TybN6WLciSHclJ3a7i35Q5iL86nl5wAmrg1ghSzPvE,92
408
+ quantconnect_stubs-17454.dist-info/RECORD,,