Connect MongoDB to a Crypto trading bot

Job ID: 35133801

Budget: $250 – $750 USD

Reading from MongoDB
Currently Buys are pre-packaged and only need to be finalised if all checking criteria are met as such everything is pre-packaged to achieve the fastest speed possible
Reading/Storing MongoDB data:
You can store the whole MongoDB database locally and continuously pull the new entries (file will be stored where the bot is located)
Want the data already cached in the bot… so that when bot detects Liq / Trading Enabled… we do one final check against the locally stored or locally cached Database and if BUYing criteria is met, bot will send buy Transaction
we do one final check against the locally stored or locally cached Database and if BUYing criteria is met, bot will send buy Transaction

tokenDB
to be added as a separate file (the same way as we have a params file)
all these DB parameters will be available for use as buying criteria
For example:









In the Params add following variable:
Use_tokenDB: true/false (if true BOT will also check the tokenDB criteria when buying a token, if false, bot doesn't check tokenDB)

PATH of the reading/writing MongoDB in NETWORK DATA = " http or whatever it is "
NEW VARIABLE in NETWORKDATA : Refresh locally stored list every "X" seconds: "3"


Only buys, not sells, need to be checked on the list


Writing to the MongoDB database
Currently the bot can detect if a dev removes liquidity (or rug pulls) from a token or if there is a BIG SELL the drops the price to 0. (it is labeled as "Higher amount being sold" in transaction checker)
if this happens, save that Transaction hash, dev wallet and token address to the toxicDev collection
Related categories: Node.js Ethereum MongoDB Smart Contracts