Risk-aware frameworks for trading perpetual contracts on low-liquidity venues