orderly-positions-tpsl provides rest and react sdk patterns for streaming live positions, configuring take-profit and stop-loss orders, managing leverage, and tracking pnl across perpetual futures. covers liquidation risk calculation and margin hierarchy.