Botanica – a robot for automated trading on the Poloniex exchange using the api Protocol. Applies the strategy of short positions with a given rate of profit (or not very short, depending on the settings and your thirst for profit ? ) and averaging in a downtrend.
Download current version
what the bot can do in the current version:
trade all currency pairs available on the poloniex exchange.
independently choose from a user-defined list, currency pairs to trade, depending on the state of the market. It is also possible to simply the task pairs.
simultaneously trade multiple pairs (as long as the quantity is unlimited)
enter the trade (to place buy orders) in manual or automatic mode, using the algorithms of analysis of the current state of the market (detailed description of the algorithms below)
handle the hang and errors of the long-suffering exchange Poloniex.
audible alert on trading transactions.
The trading process takes place according to the following algorithm:
placing a buy order at the best price in a glass.
In the case of interrupting the rate of your bet, another order, the bot will automatically change the price for the best until the bet is purchased.
After the execution of the order to buy, a sell order will be created with the profit percentage set in the settings, as well as the Orr of insurance (for purchase) for further averaging, with step and increase ratio (martingale), also set in the settings.
When the rate falls and the execution of the hedging rates, the sell order will be changed based on the purchased orders. Also, new rates of insurance will be added, if the rate fall limit specified in the settings is not reached.
When a sell order (profit) is executed, all outstanding rates of this currency's hedging are deleted and the cycle will start again, with the same or with another currency pair, depending on the market conditions and user settings of the bot.
description of program settings and interface:
"Bet amount (BTC)". The amount of the first bid on buying when entering into trades for currency pairs BTC_XXX.
"Bet size (ETH)". The amount of the first bid on buying when entering into trades for currency pairs ETH_XXX.
"Bet size (XMR)". The amount of the first bid on buying when entering into trades for currency pairs XMR_XXX.
"Bet size (USDT)". The amount of the first bid on buying when entering into trades for currency pairs USDT_XXX. If the parameter (12) - "martingale" is 0, all subsequent bets of insurance will also be equal to the size of the first bet.
"Number of currency pairs BTC_XXX". The number of pairs with the BTC base currency on which the bot will trade.
"Number of currency pairs ETH_XXX". Number of pairs with the base currency ETH.
"Number of currency pairs XMR_XXX". Number of pairs with the base currency XMR.
"Number of currency pairs USDT_XXX". The number of pairs with the base currency is USDT.
"Bid step." Price step when placing insurance rates. For example: if the first order of the conditional currency entry was purchased at the rate of 0.1 btc, at the rates step-0.5%, then the insurance rates will be set at the rates: (1)0.0995; (2)0.099; (3)0.0985; (4)0.098;…
"Number of bets". The maximum number of insurance rates, which will be exposed by the bot when the rate falls. For example: if the number of bets is 39 and the rate of entry order is 0.1, the insurance orders will have the following rates: (1)0.0995; (2)0.099; (3)0.0985; (4)0.098,... (39)0,0805. When specifying this parameter, you need to consider the size of your Deposit.
"Yield (Coefficient)". (Not to be confused with interest, coef. 0.003 = 0.3%, 0.01 = 1%, etc.) profit Factor for placing a sell order, taking into account the exchange Commission. For example, if the value of this parameter is 0.002 and the rate of entry is 1btc, after the rate rise to the level of the sell order, we will receive 0.002 btc of net profit, i.e. 0.2%. If before the exit of trading on this currency pair were also bought insurance rates, the profit increases in proportion to their number.
"Martingale. (Coefficient as well as profitability) " increase in the amount of insurance rates. Martingale-0.1 means that the size of each subsequent bet will be increased by 10% of the entry bet. Amount of insurance rates: (1)0.1; (2)0.11; (3)0.12;....
«Only sale.» If this option is selected, the bot will only sell the current positions (if any). New entry orders will not be placed.
"Continue with." I would like to focus on this parameter. All its actions bot synchronizes with the trading history of Your profile, and records it in its internal database. And if his work was stopped manually or stopped for other reasons (computer freezes, Internet disappeared, etc.), then after the resumption of the computer, you can continue the bot from the same place. To do this, you need to run the bot and specify the trading history point with which to continue working. I mean ... select the checkbox of this parameter, after which the field for entering the date and time becomes available, enter the date and time in accordance with the specified format (example 2017-06-01 04:15:56) of the first operation UNPROCESSED by the BOT after the interruption (take from the Trade History web interface in the poloniex LC). If there are no new entries in Trade History during this time, specify either the current UTC time (poloniex server time) or the time of the last operation processed by the bot with the addition of 1 second (the second option is more reliable). In new versions, after stopping trading, the bot will put in this field at the right time, you need to copy it and remember, if you plan to close the program or overload the computer.
«Currency pair.» The list of allowed currency pairs for trading. It is edited using the "Add" and "Delete" buttons located under the list. If the number of pairs with a certain base currency in this list is equal to or less than the parameter (5-8) "number of currency pairs" of the corresponding currency, trading will be performed exclusively by the specified pairs. In the opposite case, the bot will choose the pairs depending on the current trading volumes of currency pairs, as mentioned above.
Current orders placed
Trade history (Trade History)
The log of executed operations and processed events, including there will be shown unrequited requests and errors of the exchange during its hangs.
"START/STOP" button to start and stop the bot.
The check box "Show keys from" field display API keys.
A field for the API Key
Switches of tabs "settings", "Log", "Statistics".
If you translate the parameters shown in the screenshot with the coefficients to percent, they will look like this:
Yield (coef.) 0.02 – 2%
Martingale (cal.) 0.05 – 5%
Description of the algorithm for automatic selection of currency pairs:
The currency pair from the allowed list with the highest trading volume will be placed first, provided that:
a) you can place an order to enter the best price below any of the indicators EMA(20) or EMA (30)
b) there are no pairs satisfying the condition a) in the allowed list. In this case, the currency in which the current price is closest to the indicators EMA(20) or EMA(30) will be selected.
If it is easier to describe in a few words, the bot tries to avoid purchasing currencies at the peak of prices and chooses those currencies that are predicted to increase.
First of all, set the regional settings, time zones (taking into account the transition to summer time, if any) and the exact time according to Your location.
Create API keys with trading rights (Enable Trading) in the corresponding section of the Poloniex personal account. https://poloniex.com/apiKeys
Unpack the archive.
Run the program, file birgebot.exe, set the desired settings for trading (see "description of the settings and the program interface"). The calculation of the size of the rates can be made using the calculator, which is in the archive with the program, or use the upgraded calculator from mystikvano
Enter APIKey and SecretKey in the fields with the corresponding names.
Start trading with the "START" button»