🤖Botting

This component should be used with caution. It allows the creation of bots directly in Tree Terminal by searching for keywords whenever a news happens.

Main websocket is selected by default, you can also add your own Websocket in the field "News" in general settings.

Search logic :

  • JavaScript example : +shouldEnter = /dwf/i.test(content) && /invest/i.test(content) && !/recap/i.test(content);+

  • Regex example : shouldEnter = /^(?=.\bdwf\b)(?=.\binvest\b)(?!.*\brecap\b).+/i.test(content);

In this scenario, the bot will initiate a position if the content includes "dwf" and "invest". However, it will cancel the action if "recap" is also found.

Command :

  • c : close, c btc 100% will close entire position on BTC

  • l : long, l btc 10k will long 10k$ BTC

  • s : short, s btc 10k will short 10k$ BTC

Upcoming feature : The ability to set a no go condition if the price pumped/dumped by a certain percentage during current candle. For example : l btc 5m price15m<5% , it will enter position only if price hasn't pumped by 5% in the last 15mins.

Last updated