Introducing Nefertiti™, a simple crypto trading bot.
Nefertiti is a FREE command-line trading bot that follows a simple but proven strategy: buy the dip, then sell those trades as soon as possible, preferably on the same day.
Disclaimer: investing in crypto is high risk. Even though this bot follows a relatively safe strategy, you should never feed it money you cannot afford to loose. Use at your own risk.
What are the bot’s most important commands?
While the bot supports many commands, the two most important ones are
sell. These commands are designed to be running in tandem.
You will need to start one instance of
sell per exchange, regardless of how many market pairs you are trading in, for example:
sell command listens for limit buy orders to get filled, and then automatically opens new limit sell orders for them. In essence, this command will auto-sell your trades. By default, the bot will try and sell them at a 5% profit.
You will then need to start an instance of
buy for every market pair you want the bot to be trading in, for example:
buy --exchange=GDAX --market=BTC-EUR
buy --exchange=GDAX --market=ETH-EUR
What exchanges does this bot support?
At the time of this writing, the bot supports the following exchanges:
If your exchange is not in this list or you’re looking for this bot to support your favourite exchange, then contact me. Who knows, maybe we can work something out.
An important note on API keys
When you generate API keys for the bot, do NOT enable withdrawal privileges. You should not give Nefertiti (or any bot for that matter) the power to withdrawal money from your account.
How does the bot determine where the dip is?
First of all, the ticker price needs to drop at least 5% over a 24-hour period for the bot to kick into action.
The bot will then look at the public order book, aggregate all the orders in the book so that what literally might be thousands of orders now aggregates to roughly 20 orders, and then select the top 4 orders out of those.
At those 4 support levels, the bot will then open limit buy orders for you for the amount you specify.
Summary: you yourself don’t specify the price. The bot will calculate those for you. You only tell the bot the quantity you want the bot to buy for you.
Every hour, the bot will cancel your limit buy orders and then repeat the above process.
Aggregating the public order book
Before the bot can calculate where the support levels are, it will need to aggregate the order book. It is up to you to instruct the bot how to aggregate the book.
If you aggregate the book too much, then there won’t be enough support levels to find, but if you don’t aggregate aggressively then the support levels will be too close to each other.
The bot will examine the spread of the order book and will try and warn you for the above scenarios, but it is up to you to feed the bot an argument named
--agg. Here are a few examples that have proven to work:
buy --exchange=GDAX --market=BTC-EUR --agg=100
buy --exchange=GDAX --market=ETH-EUR --agg=5
buy --exchange=GDAX --market=LTC-EUR --agg=2.5
buy --exchange=Bitstamp --market=XRP-EUR --agg=0.01
buy --exchange=Bittrex --market=BTC-DASH --agg=0.001
buy --exchange=Bittrex --market=BTC-NEO --agg=0.0001
buy --exchange=Bittrex --market=BTC-OMG --agg=0.00002
buy --exchange=Bittrex --market=BTC-ADA --agg=0.0000005
Wait, what if I want to hodl (not sell) certain coins?
No problem, this bot doesn’t necessarily sell all your trades. If you want it to buy the dip and hodl those coins, then the bot can do that for you. Please refer to the argument named
--hold, for example:
--hold=BTC-EUR. Note that the bot will always sell a minimum quantity of your coins, even if you instruct the bot to hodl them. This comes with the trading strategy, and is not a bug.
I don’t have the time to keep an eye on the bot. Can I receive important notifications on my phone?
Absolutely! The bot uses Pushover for notifications. You yourself can instruct the bot how chatty you want it to be, from sending you notifications only when an error occurs, to sending you a notification on everything (including opened and cancelled orders). By default, the bot will send you a notification on filled orders and in my experience you only really want to know about those.
Nefertiti is available for Windows, MacOS, and Linux. Click here to download the latest binary for your platform.
Got questions? Join the Telegram group here.
Nefertiti is freeware. But if the bot is making you money, then I’d appreciate a BTC donation here:
Your donation will improve the bot and keep this project moving forward. Thanks!