Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - amnesia

Pages: [1]
1
Technical Support & Development / USDT trades
« on: April 11, 2017, 12:59:50 PM »
i am using 1000trades on a linux machine.

i tried starting the USDT_BTC pair, and i got this message:

Code: [Select]
=== STOP LOSS GUNBOT STARTED at 2017/04/11 14:17:19 === current balance: 0.79497610 BTC ===
***You used enough balance on this pair, waiting to SELL...
=== PRICE INFORMATION UPDATE PAIR USDT_BTC at 2017/04/11 14:17:22 ===  last price: 1216.81000004
price target to buy: 1207.53753299
price target to sell: waiting for buy order to calculate sell price
=== SECURITY MARGIN REACHED at 2017/04/11 14:17:22  === Currency decreased to the security level you have defined. Bot will sell all your coins and wait until currency recover its value
Entering safety mode...please wait...
***Your altcoin balance is 0.79247611
***GUNBOT is calculating pumps and dumps...please wait
***You used enough balance on this pair, waiting to SELL...
=== PRICE INFORMATION UPDATE PAIR USDT_BTC at 2017/04/11 14:17:29 ===  last price: 1218.30900000                                                                               
price target to buy: 1207.53753299                                               
price target to sell: waiting for buy order to calculate sell price               
Looking for obsolete BUY orders. Ts:1/40                                         
***Your altcoin balance is 0.78497629

The moment i read the line that said "=== SECURITY MARGIN REACHED at 2017/04/11 14:17:22  === Currency decreased to the security level you have defined. Bot will sell all your coins and wait until currency recover its value" i panicked and stopped.

my USDT_BTC.config.js:

Code: [Select]
var config = {
//-----------------------------------------------
//  PRIMARY SETTINGS
//-----------------------------------------------
KEY: 'XXXXXXXXXXXXXXXXXXXX',
SECRET: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX',
BUYLVL1: 1, // first level margin to buy when currency decreases its value (example: buy when currency decreases 1% of EMA)
BUYLVL2: 3, // second level margin to buy when currency decreases its value (example: buy when currency decreases 3% of EMA)
BUYLVL3: 5, // third level margin to buy when currency decreases its value (example: buy when currency decreases 5% of EMA)
SELLLVL1: 2, // first level margin to sell when currency increases its value (example: sell when currency increases 2% of paid)
SELLLVL2: 5, // second level margin to sell when currency increases its value (example: sell when currency increases 5% of paid)
SELLLVL3: 10, // third level margin to sell when currency increases its value (example: sell when currency increases 10% of paid)
BUYLVL: 3, // buy level you want your gunbot to reach (example: i want my gunbot to buy when price reaches level 3)
SELLLVL: 3, // sell level you want your gunbot to reach (example: i want my gunbot to sell when price reaches level 3)
BTC_TRADING_LIMIT: 50,// max amount of BTC balance to use for each pair
SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it
SELL_ON_START:false,
CANCEL_SELL_ORDERS_ON_START:false,

MAX_LATEST_PRICES: 30,// limit of latest prices to analyze to determine if price is growing or falling
MAX_LATEST_DIRECTIONS:30,// limit of latest  price directions ,used in supergun detection
 
STARTEMA1: 0.02,// weighted average interval in hours
STARTEMA2: 0.04,// weighted average interval in hours
PERIOD: 15,   // candlestick period

SAVEFILE_SUFFIX: '-save.json',
 
 
//-----------------------------------------------
//   BOT TIMINGS
//-----------------------------------------------
BOT_SLEEP_DELAY:(1000)*13,// bot cycle delay (koef*sec)
BOT_MAX_LIFETIME:999999999,// overall bot lifetime(koef*min),
BOT_ON_FAIL_DELAY:(1000)*5, // bot repeat cycle delay if previous cycle failed  (koef*sec)
//-----------------------------------------------
// EMAIL
//-----------------------------------------------
ALERT_ON_NO_FUNDS:false,  // email on insufficcient funds
SMTP_EMAIL: '%40@gmail.com',
ALERT_EMAIL:'********',
SMTP_PASSWORD: '**********',
SMTP: true,
SMTP_PROTOCOL: 'SMTPS',
SMTP_HOST: 'smtp.gmail.com',


//-----------------------------------------------
//  DEBUG
//-----------------------------------------------
DEBUG_LOG:false,
I_REALLY_WANT_IT:false,// debug hardcode hack
BUY_SMALL_PORTION:0.25,// debug volume limiter,must be  1 > x > 0

//-----------------------------------------------
//  OUTPUT
//-----------------------------------------------
MAX_LATEST_PRICES_SHOWN: 10, // limit of latest prices to show in console.log
SHOW_LASTEST_DIRECTIONS:true,  // show chart in console
MAX_LATEST_DIRECTIONS_SHOWN:10, // chart height
LASTEST_DIRECTIONS_LIST_WIDTH:15, // chart width

//-----------------------------------------------
//   OTHER (might be deprecated/not in use)
//-----------------------------------------------
BTC_BALANCE: 2// btc balance for test purposes,
};
 
module.exports = config;

i have this line set for the limit:BTC_TRADING_LIMIT: 50,// max amount of BTC balance to use for each pair
will that limit the bot to 50 USDT for trading the USDT_BTC pair? Or was it about to sell all the btc in the account?

TL:DR What setting should i tweak to limit the USDT_BTC pair?

Pages: [1]