Commit 6859cec
committed
Enhance leverage example with detailed position management and collateral measurement
- Added functions to close existing BTC positions, set leverage with verification, and open new BTC positions.
- Improved output messages for better clarity on leverage settings and collateral usage.
- Implemented collateral measurement to compare used collateral at different leverage levels (5x and 10x).
- Refactored code for better organization and readability.1 parent 8623241 commit 6859cec
1 file changed
+363
-67
lines changed
0 commit comments