Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Understanding leverage = context.account.leverage

What exactly .leverage does? How ratio is being calculated?

1 response

Found description on a tab completion label - "Gross exposure divided by net liquidation."