Username: Password:

Author Topic: ETH_xxx and XMR_xxx -trading configuration  (Read 24055 times)

Offline Kilpi

  • Rookie
  • *
  • Posts: 5
    • View Profile
ETH_xxx and XMR_xxx -trading configuration
« on: April 21, 2017, 10:13:33 PM »
Starting ETH- and XMR-trades from another Polo account.
Do I only need to do changes in config -files (name of the pair, buy amount in ETH or XMR) like in example:
Anything else than API key, secret and enough balance ?

var config = {
   //-----------------------------------------------
   //  PRIMARY SETTINGS
   //-----------------------------------------------
   KEY: '',
   SECRET: '',
   BUYLVL1: 0.9, // first level margin to buy when currency decreases its value (example: buy when currency decreases 1% of EMA)
   BUYLVL2: 1.2, // 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: 1.9, // first level margin to sell when currency increases its value (example: sell when currency increases 2% of paid)
   SELLLVL2: 2.1, // second level margin to sell when currency increases its value (example: sell when currency increases 5% of paid)
   SELLLVL3: 8, // 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)
   ETH_TRADING_LIMIT: 1,// max amount of ETH balance to use for each pair   
   SECURITY_MARGIN: 80, // 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)*20,// 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:1,// debug volume limiter,must be  1 > x > 0

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

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

Offline Gunthar

  • Administrator
  • *****
  • Posts: 287
    • View Profile
Re: ETH_xxx and XMR_xxx -trading configuration
« Reply #1 on: April 22, 2017, 10:18:28 PM »
dont change the config file variables name tho: leave it BTC_TRADING_LIMIT and just set the amount in ETH

Offline Kilpi

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: ETH_xxx and XMR_xxx -trading configuration
« Reply #2 on: April 23, 2017, 04:39:43 PM »
dont change the config file variables name tho: leave it BTC_TRADING_LIMIT and just set the amount in ETH

Thanks. That solved the case. Now got some trades through  ;)