GuntharDeNiro / GunbotAMA

This repo is used to accept user's features requests for Gunbot AMA development
4 stars 1 forks source link

TV Plugin "Leverage" Variable #2

Open weluv opened 4 years ago

weluv commented 4 years ago

I put the following request in the forum but now it is in GunbotAMA because some people think one level of leverage for all trades is ok. Different trades have different risk management which should be implemented. This situation is why people who use TV plugin may want different leverage amounts for different setups. Some TV Alerts maybe from better setups than other TV Alerts so it desires higher leverage. Here is what I wrote....

@GuntharDeNiro

Would you please add a "leverage" variable for Tradingview plugin? For example... LONG_BITMEX_XBT-USD_1000_10x or LONG_BITMEX_XBT-USD_2000_25x or LONG_BITMEX_XBT-USD_1500_100x

The "1000" or "2000" or "1500" is the number of contracts as Gunbot has now. The 10x or 25x or 100x would be the leverage to be used on that particular order. Thank you.

GuntharDeNiro commented 4 years ago

I think leverage is set "per account" on bitmex, not per order.

GuntharDeNiro commented 4 years ago

please a feedback is needed for this issue. Thank you

weluv commented 4 years ago

Leverage amount and amount of contracts are chosen when placing order.

GuntharDeNiro commented 4 years ago

@weluv they are still "per account" not "per position"

GuntharDeNiro commented 4 years ago

ok found a way to do this: i'll implement it. Thanks for asking

AndreaDev3D commented 4 years ago

@GuntharDeNiro The webhook API already implement the leverage field