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.


Messages - Doc

Pages: 1 [2]
21
it doesn't work

Code: [Select]
Loading config...
2017/04/25 21:10:53 Creating market client for BTC_ETH pair
Activating hot reconfig...
[ ---- poloniex -- 2017/04/25 21:10:53  --  Gunbot v3.1b cycle #1 -------------------------- ]
Load poloniex-BTC_ETH-save.json doesn`t exist.
::::: collecting market data...
++++
LP 0.03925963  Bal.BTC 2e-8  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading... No opened orders
boughtPrice  0
direction price steady (0)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/25 21:10:57 Error: BoughtPrice not set!!!
!!! Cycle 2 failed. Will repeat in 10s
[ ---- poloniex -- 2017/04/25 21:11:07  --  Gunbot v3.1b cycle #2 -------------------------- ]
Loaded  poloniex-BTC_ETH-save.json
::::: collecting market data...
++++
LP 0.03925961  Bal.BTC 2e-8  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading... No opened orders
boughtPrice  undefined
direction price falls (-1)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/25 21:11:10 Error: BoughtPrice not set!!!
!!! Cycle 3 failed. Will repeat in 10s

22
just got an idea: maybe it's saying GUNBOT doesn't know the price I bought the ETH balance he reads, am I right?
If this is the case I didn't buy those, I just made a deposit from a different address, is this a problem?

23
I have 8 couples running, first I made BTC_ETH and used BTC_ETH-config.js to make all others, but this is the only one giving the error. I'm puzzled... o_0

2017/04/24 14:05:46 Error: BoughtPrice not set!!!

thx for help


Quote
Loading config...
2017/04/24 14:05:42 Creating market client for BTC_ETH pair
Activating hot reconfig...
[ ---- poloniex -- 2017/04/24 14:05:42  --  Gunbot v3.1b cycle #1 -------------------------- ]
Loaded  poloniex-BTC_ETH-save.json
::::: collecting market data...
++++
LP 0.04015002  Bal.BTC 0.07034545  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading...
No opened orders
boughtPrice  undefined
direction price steady (0)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/24 14:05:46 Error: BoughtPrice not set!!!
!!! Cycle 2 failed. Will repeat in 10s
[ ---- poloniex -- 2017/04/24 14:05:56  --  Gunbot v3.1b cycle #2 -------------------------- ]
Loaded  poloniex-BTC_ETH-save.json
::::: collecting market data...
++++
LP 0.04015  Bal.BTC 0.07034545  Bal.ETH 1.89725248(0) vWPr 0 lowBB 0.00000000 highBB 0.00000000
We dont have enough statistics yet, using LEVELS for trading...
No opened orders
boughtPrice  undefined
direction price falls (-1)
PriceToBuy 0.0000 priceToSell --not set--
we have altcoins: 1.89725248
2017/04/24 14:05:59 Error: BoughtPrice not set!!!
!!! Cycle 3 failed. Will repeat in 10s
[ ---- poloniex -- 2017/04/24 14:06:09  --  Gunbot v3.1b cycle #3 -------------------------- ]

Quote
var config = {
   //-----------------------------------------------
   //  PRIMARY SETTINGS
   //-----------------------------------------------
   DEFAULT_MARKET_NAME:"poloniex",
   DEFAULT_CURRENCY_PAIR:"BTC_ETH",   //  single pair format for all markets !

   BTC_TRADING_LIMIT: 0.040,// max amount of BTC balance to use for each pair   
   SECURITY_MARGIN: 60, // sell all balance if currency decreases x% after you bought it
   MIN_VOLUME_TO_BUY: 0.0005,  // bitrex min volume
   LOW_BB: 5, //percentual from the lowest Bollinger Band you want to buy
   HIGH_BB: 5, //percentual from the highest Bollinger Band you want to sell
   SELL_STRATEGY: 'BB', //sell strategy to use (BB or GAIN)
   BUY_STRATEGY: 'BB', // buy strategy to use (BB or GAIN)
   BUY_LEVEL: 1, //percentual from weighted price you want to buy if the Bollinger Band are not complete yet or you want to use GAIN strategy

   //---BITTREX
   BITTREX_KEY:'',
   BITTREX_SECRET:'',
   BITTREX_GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   BITTREX_PRICE_METHOD:'vWP',// vWP OR ohlc  "price to buy" definition method
   BITTREX_VWA_1_INTERVAL: 10,// weighted average interval in minutes
   BITTREX_VWA_2_INTERVAL: 120,// weighted average interval in minutes


   //---KRAKEN
   KRAKEN_ASSET_PAIR:'XETHXXBT',

   KRAKEN_KEY: '',
   KRAKEN_SECRET: '',

   KRAKEN_GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2.5% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   KRAKEN_PRICE_METHOD:'vWP',// vWP OR ohlc  "price to buy" definition method
   KRAKEN_VWA_1_INTERVAL: 1,// weighted average interval in minutes
   KRAKEN_VWA_2_INTERVAL: 15,// weighted average interval in minutes

   //---POLONIEX
   POLONIEX_KEY: '***',
   POLONIEX_SECRET: '***',

   GAIN: 2, // margin to sell when currency increases its value (example: sell when currency increases 2.5% of paid value - used only when Bollinger Band are not completely calculated or if you select GAIN strategy)
   POLONIEX_PRICE_METHOD:'ohlc',// vWP OR ohlc  "price to buy" definition method (use ohlc with Poloniex)
   POLONIEX_VWA_1_INTERVAL: 0.02,// weighted average interval in hours
   POLONIEX_VWA_2_INTERVAL: 0.04,// weighted average interval in hours
   

   

   //-----------------------------------------------
   //   STARTUP OPTIONS
   //-----------------------------------------------

   SELL_ON_START:false,   
   CANCEL_SELL_ORDERS_ON_START:false,
   CANCEL_BUY_ORDERS_ON_START:false,
   CANCEL_OPEN_ORDERS_ON_START:false,

   MAX_LATEST_PRICES: 500,// limit of latest prices to analyze to determine if price is growing or falling and to calculate Bollinger Band: the higher this amount the Best are Bollinger Band. Use 30 for GAIN strategy and 500 for BB.
   MAX_LATEST_DIRECTIONS:30,// limit of latest  price directions ,used in supergun detection
   MAX_LAST_ORDERS:500,  // keeping last orders bought
   PERIOD: 15,   // candlestick period
   
   SAVEFILE_SUFFIX: '-save.json',
 
 
   //-----------------------------------------------
   //   BOT TIMINGS
   //-----------------------------------------------
   API_CALLS_DELAY:777,
   BOT_SLEEP_DELAY:(1000)*22,// bot cycle delay (koef*sec)
   BOT_MAX_LIFETIME:(1000*60)*60*24,// overall bot lifetime(koef*min*hours) If you dont change this, the bot will stop to operate in 24 hours,
   BOT_ON_FAIL_DELAY:(1000)*10, // 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
   INSUFFICIENT_FUNDS_ON_SELL_FIX: 0.0005,


   //-----------------------------------------------
   //  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)
   //-----------------------------------------------
   BTC_BALANCE: 2// btc balance for test purposes,
};
 
module.exports = config;

24
Im did it:
I stopped this pair, renamed the file BTC_FCT-save.json to _BTC_FCT-save.json, started the pair.
This is given to us by forgetting the bot of the purchase for the hangs and he is looking again for the purchase, which happened, the bot bought me another FCT.
Weiting for sell...

it works, thanks!

25
Technical Support & Development / Re: Downtrend backward strategy
« on: April 22, 2017, 03:53:57 PM »
I'm sorry but my russian isn't good enough to watch the video and understand it ;P

If you need to sell before buying to use this strategy, you can only do it in margin trading, is it right? and GUNBOT doesn't trade on margin right?

26
So GUNBOT bought 0,00000182 BTC of ZEC and it is stuck with that. I'm actually quite happy about that as ZEC value fell after my buy order and it's a very little bag  to handle.

What I used to do in my very few GUNBOT days was: stopping the pair, buying more of the altcoin manually, sell at small loss just to mae the process fast, delete all BTC-XXX files in GUNBOT directory, and finally configure and start the couple again.

Am I doing right? is there a more effective way of managing this issue?

thanks for help

edited to add info

as you can see in the quote below GUNBOT thinks it bought 0.17099594192430626 ZEC, while it correctly reads ZEC balance is Bal.ZEC 0.00003084

and I dunno if it is intended, but in the string
Quote
LP 556.7815 < prSell 596.505384  secMargin 0.02227126  falls no
LP and prSell values look completely off to me.

Quote
running cycle #392...
[ ----------------    2017/04/22 16:39:30       Gunbot v2.0.4 Beta cycle#392 ------------------------ ]
::::: collecting data...
No orders


LP 0.05567815  Bal.BTC 0.22912784  Bal.ZEC 0.00003084(0)  vWa1 0.05589275 > vWa2 0.05534758 

Direction: 6 supergun:  true
::::: trading
No basePrice
Has order: Pr 0.05848092 Vol 0.17099594192430626 orderNumber 42055928152
MaxPriceToBuy 0.055015494520000006 MinPriceToSell 0.0596505384

LP 556.7815 < prSell 596.505384  secMargin 0.02227126  falls no
Selling conditions are not matched yet...
::::: cycle 392 finished in 0.66s
Gunbot v2.0.4 Beta cycle  # 392:     2017-04-22
Response:
   need_faster: false
   need_slower: false

27
General Discussion / is anybody having profit in the last few days?
« on: April 21, 2017, 06:15:56 PM »
I'm a noob  running the GUNBOT with  ETH FCT LTC STRAT XMR ZEC XRP XBC   since 7 days with SuperGun - 2 settings but am only filling my bags... :( is it too soon to start crying?  ;D

Buy level 1 - 0.6
Buy level 2 - 1
Buy level 3 - 1.5

Sell level 1 - 2
Sell level 2 - 3
Sell level 3 - 5

Buy level - 3
Sell level - 3

ema 1 - 0.02
ema 2 - 0.04

28
General Discussion / Re: GUNBOT v3.1 - Release name: "x3"
« on: April 19, 2017, 11:41:40 PM »
WOW! great news! just 1 question: if I bought GUNBOT before April the 20th, how much is it for the polo license?l

Pages: 1 [2]