quantatrading / Quanta-exoTrader

Quanta exoTrader is an advanced cryptocurrency trading algorithm designed to optimise trading through automation and detailed technical analysis, suitable for both novice and experienced traders.
9 stars 1 forks source link

[FEATURE] Webhook changes for futures #46

Open quantatrading opened 6 months ago

quantatrading commented 6 months ago

Describe the feature you are requesting and how it would benefit the performance or user flow

allow these options in tv: Alert 1:

Alert 2:

so an example would be: 123456 binance buy USDT-BTC 0.0001 {{strategy.order.price}} 123456 binance close USDT-BTC 0.0001 {{strategy.order.price}} ^this case would let you open long and reduce long position

then the opposite example: 123456 binance sell USDT-BTC 0.0001 {{strategy.order.price}} 123456 binance close USDT-BTC 0.0001 {{strategy.order.price}} ^this case would let you open short and reduce short position

so a new variable would be needed to replace {{strategy.order.action}} ....

previously: x bybit {{strategy.order.action}} {{ticker}} {{strategy.order.contracts}} {{strategy.order.price}}

new request would be: x bybit {{NEW_VARIABLE}} {{ticker}} {{strategy.order.contracts}} {{strategy.order.price}}