HF RL Explorer

fix(backtest): keep fast-path margin positive at a negative entry price

fix(backtest): keep fast-path margin positive at a negative entry price: a task in github-trending-environments-10k (Harbor dataset). Title: fix(backtest): keep fast-path margin positive at a negative entry price

The task

**Title:** fix(backtest): keep fast-path margin positive at a negative entry price

Part of scalingX/github-trending-environments-10k.