paint-brush
POC Bot Selling Feature #9: Auto-Withdraw Realized PNL Take Profitby@jare
229 reads

POC Bot Selling Feature #9: Auto-Withdraw Realized PNL Take Profit

by Jarett DunnNovember 19th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

When my PNL delta reached 5%, above, my min_withdrawal_perecent variable of 0.025 triggered the code block that withdrew 2.5% of my income from my futures wallet into my exchange wallet. The remaining 2% was left inside the futures wallet. Over time, over time, I'll gain back my initial deposit as gains that now cannot be lost unless I risk them again. Stay tuned for our website (maybe on a github.io!) that allows you to pay a month in crypto to sign up for the bot.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - POC Bot Selling Feature #9: Auto-Withdraw Realized PNL Take Profit
Jarett Dunn HackerNoon profile picture

Lol with me if you can find the spelling mistake embedded in my code? :D

Read This Article in It's Original Form on dunncreativess.github.io!

The above screenshot may not seem like much... but it's the culmination of a genius moment and 11 lines of code (along with one NPM library very slightly rewritten - replacing the word 'margin' with 'futures' in one spot!)

When my PNL delta reached 5%, above, my min_withdrawal_perecent variable of 0.025 triggered the code block that withdrew 2.5% of my income from my futures wallet into my exchange wallet. The remaining 2.5% was left inside the futures wallet.

What this means, in actual effect, is that my $5.98 in USDT is now safely in my exchange wallet and the futures bot has no more access to it.

What this means is.. slowly, over time, I'll gain back my initial deposit as gains that now cannot be lost unless I risk them again!

What's more is that the 2.5% left in the futures account will add to the order sizes, increasing the returns and - over time - giving a compounding interest on the returns.

People are thrilled...

As a note on my previous article, the cost is $59/mo and $10 to affiliates - AND a $10/mo off if you sign up using our Binance referral link!

Check out some of my Binance opensource bots here!

Next Steps?

Stay tuned for our website (maybe on a github.io!) that allows you to pay a month in crypto to sign up for the bot. It'll allow you to enter your api key and secret within the browser session, then that same browser session will spwan a google cloud compute instance with those keys - communicating directly with GCP, without us having any access to those keys!

The GCP instance will be spawned with a random SSH key that's then thrown away into the abyss of cleared memory! This magic was achieved once before for a bot I'd created, and I can sure as heck do it again - and the site will be opensource for auditing purposes.

This is better than us asking for keys and leagues better than us giving out our source code, and GCP micro instances are CHEAP CHEAP CHEAP!

!! Click here to subscribe: http://eepurl.com/gIykNL

Be notified about new articles? Welcome to the Jarett Dunn email subscriber list! Each new signup will receive a link to download the Coindex Labs non-NDA teaser, which includes information about the value proposition for my organization – where we’re setting our sights first on a money-printing machine, then returning later as conquering heroes in order to then defeat the world’s greater humanitarian issues.Remember to CLICK, subscribe: http://eepurl.com/gIykNL !!

(DisclaimerThe Author is the Chief Liquidity Officer at Coindex)