Hello Everyone ,The Long Waited Auto Bot Trading Setup Is Ready for Commissioning Now.
What this Bot will do ?
- Alerts Through Web-hook shall be placed as an order in Exchange.
- Automatic position Management like ,Buy,Sell,Stop Duplicate Buy or Sell
- Automatic Safe Stop Loss order placement
- Auto Take Profit ,Stop Loss,Trailing Price , Trailing Reversal Check
- Bot shall run 24/7 ,Restart may be needed 2-3 days once.
- Web-hook are handled locally hence no need of Connector like Autoview, 3Comma.
- Auto Position Close based on the Price Move
- Option to test in TEST account or in Real Account
- User Can Choose Trail Price,Take Profit ,Stop Loss price in Percentage
Let us Go to the Set up Now, What do we need ?:
- The Application (Exe) that will do this Job.
- Tradingview Account to trigger the Alerts (Buy and Sell).
- Web-hook Alert handler (Free,low cost connector like Ngrok,Localtunnel will work).
- Chrome Browser window in open state.
- Registration in the Exchange [Test Account or Real Account] Any one is Ok.
- User Inputs in the xls file before you start the Application Exe
How to obtain this Auto Trading Bot ?:
At present this package is being provided based on direct request to me .
To know more about the Indicator that can be used for Auto Trading you can be part of this channel
Note : The system will work only in Windows based operating system now.
Once you get the Package unzip and store it in a desired location of your choice.
For illustration example i have kept all the files in AUTOBOT_WEALTHWORLD folder that is under C:\AUTOBOT_WEALTHWORLD
Make sure you have registered Crypto Exchange account using this referral link:
Now go into the folder and open this excel file C:\AUTOBOT_WEALTHWORLD\userdatainput.xls ,there will be two sheets "
Sheet1" and "
Template" .Template is just for Reference . Any update you should do in
Sheet1 only. All Green Fields In the
B column cells are the Mandatory Fields to be updated before you run the Application(Exe) .Make sure this excel is updated and saved.
If you use Test account for checking this ,please make sure this example setup is made
Exchange
URL |
https://test.deribit.com/api/v2 |
Deribit Key |
1JC8ucGX |
Deribit Secret code |
am_SrlGffH2DrC5UK1p8qW-OAFY4tim6i98BUXjDf0M |
|
|
Fee_Rate |
0.75 |
StopLoss(in percentage) |
0.5 |
TakeProfit(In percentage) |
1 |
TrailingPoint(InPercentage) |
0.3 |
Dynamic_tp_sl_change_input_in_percentage) |
0.25 |
trailtoNonTrailReversalPointCheck(%) |
0.125 |
ticker |
BTC-PERPETUAL |
If you use Real account for trading this ,please make sure this example setup is made:
Exchange
URL |
https://deribit.com/api/v2 |
Deribit Key |
1JC8ucGX |
Deribit Secret code |
am_SrlGffH2DrC5UK1p8qW-OAFY4tim6i98BUXjDf0M |
|
|
Fee_Rate |
0.75 |
StopLoss(in percentage) |
0.5 |
TakeProfit(In percentage) |
1 |
TrailingPoint(InPercentage) |
0.3 |
Dynamic_tp_sl_change_input_in_percentage) |
0.25 |
trailtoNonTrailReversalPointCheck(%) |
0.125 |
ticker |
BTC-PERPETUAL |
Enable the 2FA (Google Two Factor Authentication)to safeguard your account from Hacking. |
Make sure this you set :account:read block_trade:read custody:read trade:
read_write wallet:read
This will make sure your account is protected and except for Trade other option is
Read only.
Now the Basic Setup is almost Ready...................
Note: ticker is BTC-PERPETUAL for BTC trading , ETH-PERPETUAL for ETH trading,you can choose any supported instrument ticker from the exchange. Fee_Rate will not have any effect as of now ,Free to choose StopLoss(in percentage) ,Note this is in percentage % that means if you had taken long at 10000 then the 0.5% will be set as 9950.if you wish more SL you can change the percentage from 0.5 to any number. TakeProfit(In percentage) ,Note this is in percentage % that means if you had taken long at 10000 then the 1% will be set as 10100 as take profit. TrailingPoint (In Percentage) ,Note this is in % that means if you had taken long at 10000 then the 0.3% will be set as 10030 as trailing.This means once this point is reached the Stop loss will be moved from 9950 to buy price that is 10000 and new take profit will be moved to 10130. Dynamic_tp_sl_change_input(in_percentage) ,This will decide the price window gap setting of SL,Take profit and Trailing price once the Trailing is reached . you can set this default as 0.25% and if needed vary it. trailtoNonTrailReversalPointCheck(%), Note the important think ,what is this,Example if a price reached above trail that is 10030 and then 10040 then suddenly comes below 10030 in this case position close will not happen until price goes back to 0.125% of trail that is 10017.5 (Trailprice -0.125%) this is to protect the swings. In the Folder C:\AUTOBOT_WEALTHWORLD\ngrok.exe just open this a command prompt. Now type this and enter C:\AUTOBOT_WEALTHWORLD>ngrok http 80 (Note this is free version so it will run for 7hrs and then Webhook URL will be changing,To getting permanent URL you can buy this from Ngrok.com for 5 Dollars per month or use any webhook end point to localhost one that serves the purpose) .The below kind of screen you will see.
please make sure you have set this up properly.
|
| |
| | |
open a chrome browser and paste this url(From your command screen) in the browser and enter
http://127.0.0.1:4041 (Not to copy this please
)
Next step we need to
configure the Tradingview web hook for Buy and Sell.
From the same ngrok.exe command window you see like this as shown below in example
"Forwarding" https://1c03f9219d6f.ngrok.io
copy this and add
/get_me at the end of the url example if your url is
https://tradeauoto.ngrok.io then the url will be
https://tradeauoto.ngrok.io/get_me this is the
webhook url ,place this url in the
tradingview.com webhook in alert section. Note Same URL for Long/Short Alert or for any alert.
Now we need to set two alerts one for
Long and
One for
Short . No TP,SL,Trail ,Close order needs(Need not) to be set as this will be taken care by the
BOT.
For Long : In the Message Box Paste this as it is:In Tradingview Alert including the braces.
{
"alertno":1,
"instrument": "BTC-PERPETUAL",
"side": "buy",
"quantity": 1500,
"close":{{close}}
}
For Short: In the Message Box Paste this as it is:In Tradingview Alert including the braces.
{
"alertno":2,
"instrument": "BTC-PERPETUAL",
"side": "sell",
"quantity": 1500,
"close":{{close}}
}
We are almost done ,We are at the Final Step. The Alert has set in the Tradingview.com & Webhook is configured from the url come from ngrok.exe with /get_me added to it. So everything is set up.
The Final Step:
Locate the Real BOT Exe C:\AUTOBOT_WEALTHWORLD\LBLS_Dynamo_tsl.exe open this in command prompt.(Let other command prompt that is ngrok.exe run seperately,This in new command)
Let the chrome browser be in open so that alert will be processed coming from TV.
Let the Ngrok.exe is open and running as shown in the above screen shot(it should run 24hrs).
Now whenever order is placed from the Tradingview, the order will be executed in the Deribit exchange.Note if Buy after Buy comes or Sell After Sell comes no two order will be executed . Only one buy that is first come will be ordered .This will avoid over size buy or sell.
if a program is successfully running you will see this in the command window,There from everything is auto managed.Give it a Try.
* Serving Flask app "LBLS_Dynamo_tsl" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Restarting with stat
* Debugger is active!
* Debugger PIN: 329-414-6
* Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
After Order is placed automatically below will be shown
{}<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<>>>>>>>>>><>>><><><><><>>{}
{}!!!Dear Traders!!! 'LongBuyLongSellIndicator + Dynamic Profit Application' { }
{}!!!Have a Blessed Time and Profitable Trading Ahead!!! {}
{}!!!Welcome to LongbuyLongSellIndicator & Dynamic Trailing profit System!!!. {}
{} {}
{}Indicator Info :https://www.tradingview.com/script/jU78tzAr-LongBuyLongSellIndicator/ {}
{}##LBLS## Trade details https://t.me/longbuylongsellindicator in telegram. {}
{}Contact me @telegram https://t.me/wealthworldmajic !!! {}
{} {}
{}!!!The LBLS indicator and ProfitSystem is a work of the author.!!! {}
{}!!!No Copy and reselling of this product is allowed in any means.!!! {}
{}!!! @@@ !!!! {}
{}RELEASE Info: Version "Beta Test Version:V1.4 "Date:29-Nov-2019 {}
{}RELEASE Info: Version "Beta Test Version:V1.5 "Date:06-JAN-2020 {}
{}RELEASE Info: Version "Beta Test Version:V1.6 "Date:07-JAN-2020 {}
{}RELEASE Info: Version "Beta Test Version:V1.7 "Date:22-JUN-2020 {}
{}<<<<<<<<<<<<<>>>>>>>>>>>>>>>>><<<<<<<<<<<<<>>>>>>>>>>>>>>>>><<<<<<<<<<<>>>>><><><><><>{}
This program will run till 31/8/2020
[please wait Auto Dynamic profit&Trail SL will start Shortly] [Follow my Telegram Details Above]
once the position is established the following will run and manage the auto trading on its own.
*********processing the Alert*********
1 BTC-PERPETUAL buy 1500 9476
Right buy Initiating Orders:
closing_current_running_position to take any new order:
CANCEL ALL ORDER DETAILS in Live before Taking New Orders:
BUY order In Progress:
Set SL order for the Long Position order:
{'jsonrpc': '2.0', 'result': {'trades': [], 'order': {'web': False, 'triggered': False, 'trigger': 'mark_price', 'time_in_force': 'good_til_cancelled', 'stop_price': 9410.0, 'replaced': False, 'reduce_only': True, 'profit_loss': 0.0, 'price': 9410.0, 'post_only': False, 'order_type': 'stop_limit', 'order_state': 'untriggered', 'order_id': 'SLMS-3007843', 'max_show': 1500, 'last_update_timestamp': 1592838685559, 'label': '', 'is_liquidation': False, 'instrument_name': 'BTC-PERPETUAL', 'direction': 'sell', 'creation_timestamp': 1592838685559, 'api': True, 'amount': 1500}}, 'usIn': 1592838685558820, 'usOut': 1592838685560314, 'usDiff': 1494, 'testnet': True}
LongCMP: 9477.17 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9474.67 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.17 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.35 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.95 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.32 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.4 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.16 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.29 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.16 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.18 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.22 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.42 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.28 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9474.87 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.0 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.12 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9475.32 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
LongCMP: 9468.8 {+}ExpRev(s)ersedTP(Long): 9572.275 ,{-}ExpSL(Long): 9430.1125 ,{*}TrailPrice(Long): 9505.9325
once the trailing condition is reached Bot will show this message example:
๐น*^*************-----*********************^*๐น
(((*^*************-----*********************^*)))
LongSide TrailingProfit/SL Activated,ProfitOptimizingSTARTs: 9538.88
LongSide:LastTickerPrice: 9539.29
Long:WhenPriceReverse to this TSL will hit: 9514.68457525
LongCMP: 9538.88 {+}ExpRev(s)ersedTP(Long): 9572.9333475 ,{-}ExpSL(Long): 9477.5276 ,{*}TrailPrice(Long): 9506.12131125
(((*^*************-----*********************^*)))
๐น*^*************-----*********************^*๐น
{+}POS:LongUpdate:
{+}LongSLPrice= 9430.1125
{+}LongTPPrice= 9572.275
{+}Long-Liquidation= 32.06
๐น*^*************-----*********************^*๐น
Note : It is good to RESTRART the exe once a day or two to get maximum performance.