Error: Cannot find module 'mongojs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
at Function.Module._load (internal/modules/cjs/loader.js:475:25)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at Object.<anonymous> (/home/eml/gekko/plugins/mongodb/handle.js:1:77)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
RECEIVED ERROR IN IMPORT 61216142502108495
Child process has died.
I came across this article yesterday and thought you folks might find it helpful.
Ignore the 'mean reversion' stuff if you're not into that, though it does look useful. The guy has written a whole guide on how to build a profitable strategy in one article.
I was trading on https://tradeogre.com and pretty quickly realized there was a few bots trading against me. Here is what I could see they were doing.
Buy coin at 1 sat higher than highest buy offer
Sell coin at 1 sat lower than lowest sell offer
Basically, they were exploiting a gap between the buy/sell books on a single coin on the exchange; I was doing the same thing. I know it was a bot because as soon as I put my order above/below it, it moved the order.
For further evidence, it was set to ignore any combined order above/below a predetermined amount-- for example. If I listed 4.5 coins for sale, it would move it's own order to exe before mine (price diff of 1 sat). But if my coin sale totaled 4.49 it would do nothing.
I used to this my advantage to find the floor of how low the bot would be willing to go, then leavel 4.5 coins there to hold the bot's order as low as possible while putting mine much higher up the order book to maximize my own profit. Conversely, I have also broke my order up to the 4.49 totals and traded in 1 sat price increments which means I didn't realize as much, but still got my orders executed before the bots.
tradeogre is a relatively low volume exchange, so getting the order traded first is important, especially on coins that have these gaps because they are even lower volume usually.
Just curious if anyone knows what this trade strategy is called. If anyone is curious to run it, I tripled my "fun" money (disposable money I just have for fun) in 2 weeks trading like this. Usually a buy/sell pairing every 4 hours or so. Trade pair profit ran from 3% to 14% usually around 8% though. I ended up stopping because my holdings were getting to the point of taking a long time to actually execute.