enarjord / passivbot

Trading bot running on Binance, Bybit, Bitget, OKX, BingX, and Hyperliquid
https://www.passivbot.com
Other
1.07k stars 403 forks source link

High risk strategy #252

Open aplodismenty opened 2 years ago

aplodismenty commented 2 years ago

How to make a more risky strategy? With a lot of leverage? And with a large grid of orders?

enarjord commented 2 years ago

simplest way is to increase pbr_limit of an existing config, leaving all other parameters unchanged

pbr_limit=0.5 is equivalent to 0.5x leverage pbr_limit=4.0 is equivalent to 4x leverage etc.

if using pbr_limits greater than 6.0, leverage set on exchange should be increased to avoid insufficient margin errors. at the moment it is hard coded to 7x in binance.py