Once upon a new Date(), there was a profitable bot ;)

Jarett Dunn
2 min readJul 13, 2019

40% realized, 124% margin balance BitMEX Trading Bot in LESS than a day!

**since beginning this draft, bot has increased to a fab 41% realized, 175% margin…**

Live stats! http://35.239.130.201:3000/

Few hours since the OG screenshot (below): https://i.imgur.com/O5CnH9f.png

https://i.imgur.com/k0bcX8L.png

https://t.me/makemarketsgeneratecrypto

Imagine a bot that aggregates the TRADES of a dozen+ exchanges, then automates buys/sells for the SMAs of buy/sell volume across that index… wouldn’t that be super-powerful?

That’s what I’ve done!

Don’t believe me? Launch your handy Chrome in web security disabled mode (because otherwise you’ll get Cross Origin Resource Policy errors.. you can try it without, if you want, and see the errors crop up on your web console… on linux/mac: chromium-browser — disable-web-security — user-data-dir=~/ or google-chrome — disable-web-security — user-data-dir=~/, and plug in your testnet API keys here: http://35.239.130.201/

The keys are saved in localStorage, never hitting the server!

Next, again in settings, set your first browser tab to BTCUSD and your second browser tab to ETHUSD (no other pairs work as-yet…)

Voila!

It’ll build a history (ignore if it says ‘history not found, naughty naughty — the original code has two pieces that weren’t published — a CORS proxy and a history API.)

then wait for it to reach 14+ 10 second bars, it’ll show you SMAs/EMAs, it’ll fail on the first api /order calls without an orderQty because we don’t want it to trade midswing, after the first SMA cross you’ll achieve victory…

It’ll perform even betterish almost the sameish on livenet, it loses some margin bal when realizing gains… because there’s 0 volume on testnet all told it should perform better on livenet…there is an issue that less orders (post-only, up/down an interval) will be filled BECAUSE more volume…

https://t.me/makemarketsgeneratecrypto

Want to see my (while beta + testnet) opensource code? https://github.com/DunnCreativeSS/aggr.trades-bitmex-sma-bot

Want to run it on livenet? Let’s discuss a subscription fee (variable with volume + gains…) and I’ll change the code in a jiffy to give you that facility! NOTE beta livenet (before fixing it to whitelist account #s) here: http://34.68.94.126/

https://i.imgur.com/O5CnH9f.png

--

--

Jarett Dunn

The thread continues, yet I cannot log (real) Jarett Dunn on Medium in ages ha, no grandfathered gmail aliases kek https://twitter.com/staccoverflow