Author

Topic: margin terminal - over 25 spot and futures exchanges! Bots and more - page 102. (Read 268864 times)

newbie
Activity: 17
Merit: 0
You cant use the BB Bot in the demo as it doesnt support spot orders.

Quote
Edit: Demo does not support spot orders yet

Please take care that the demo markets on leonArdo do not support spot orders yet so testing the new Bollinger Band bot, while possible, will result in your demo funds being drained. We will release a patch for this ASAP.

I dont think the patch for this has been released yet.

member
Activity: 132
Merit: 10
Ok then.  I haven't had a problem yet, but I also haven't changed any of the default settings either.  I never bothered with the "Demo" aspect, I just popped in a small amount to trade with and left it for a few hours.  It hasn't gone any stranger than my own trading habits.  Actually, I think it has better smarts than me in this department, and besides, I'm in no rush Smiley

https://imgur.com/a/3ZfQY

As you can see the blue dots (the buys) are not near the blue line (which is supposed to be the buy line).

I can think of two situations for this,
Point one - The bot is broken and the buy place is miscalculated.

Point Two - the bot is actually working fine and what is happening is that by the time that it sends the buy order thru the API to the exchange the price has changed thats why the buy dot ends up where it does.

Using the Bittrex demo mode that I am trying the bot end up buying at 0.0000799 when the BB line was at 0.0000772. Thats over 3% difference.
This could mean the difference between a nice profit and a considerable loss. (btw as of now the price of XVG is now at 0.0000771 so it is losing 3%. see what I mean?)

So looking at what I am seeing with the Leonardo I am thinking thats point Two at play here and I dont know how this is something that can be fixed somehow?
But if thats the case if the bot sends a buy order for 0.0000772 why then does the exchange end up placing an order for 0.0000799?

Does other bots (like gunbot) have this kind of issue as well?
newbie
Activity: 20
Merit: 0
Ok then.  I haven't had a problem yet, but I also haven't changed any of the default settings either.  I never bothered with the "Demo" aspect, I just popped in a small amount to trade with and left it for a few hours.  It hasn't gone any stranger than my own trading habits.  Actually, I think it has better smarts than me in this department, and besides, I'm in no rush Smiley

https://imgur.com/a/3ZfQY
member
Activity: 132
Merit: 10
The BB bot is broken. I testing it in the demo version and I am seeing it buying and selling willy nilly.
I would not use it at this time until Jon comes up with an explanation/fix.
jr. member
Activity: 253
Merit: 4
https://imgur.com/a/XqT09

Have not seen this negative behaviour on Bittrex yet, although I would have liked it to sell at the higher point.  Cautious isn't a bad thing.
I will say, that the client seems less laggy, not sure if Bittrex fixed their speed issues or this version is more optimized.  Thanks though.
I reverted back in the early morning as I have a large campaign running had issues and did not need the new features, so I can tell you Bittrex is running much faster than earlier in the week. For the period I did use the 3.7.0 client it was very snappy both on Bittrex and Polo.

Thanks for the image you posted, I see what you mean about a higher percentage. I think this is the best behavior you can expect, the first solution that matches the requirements. Will be nice to hear how this runs day in and day out. But, as in the drowning man scenario, I would say the first solution available is the correct one.

newbie
Activity: 20
Merit: 0
https://imgur.com/a/XqT09

Have not seen this negative behaviour on Bittrex yet, although I would have liked it to sell at the higher point.  Cautious isn't a bad thing.
I will say, that the client seems less laggy, not sure if Bittrex fixed their speed issues or this version is more optimized.  Thanks though.
newbie
Activity: 40
Merit: 0
Same here. The bot is doing the reverse actions. It's buying high and selling low... if it were flipped I would have made easy profit. Instead, I lost about $30. I tweaked my BB settings now to see if it'll fix anything.

Here's my graph. Yeah, it looks atrocious.
https://image.ibb.co/cqN1QR/Capture.png

random thought but, as I can't see when the first buy order was placed from your screenshot: you din't start the bot running when a buy order had already been placed did you? I'm thinking maybe it started with a sell when it should have bought because there was already a balance? I could be totally wrong but it's worth investigating...
newbie
Activity: 22
Merit: 0

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".

In my case, the purchases and sales are made without the candles touching the signal lines. I'm on bittrex.

That's weird, could be something related to Bittrex, then... I'm using Bitfinex, and the bot does trigger a buy when touching the lower band, and a sell when touching the upper band.

tested on bittrex and polo, doesn't work for me. bot buys whenever it wants to. mostly it buys on upper BB, what is the worst scenario.
https://imgur.com/a/9achR


Having the same issue on Bitfinex.
newbie
Activity: 12
Merit: 0
Same here. The bot is doing the reverse actions. It's buying high and selling low... if it were flipped I would have made easy profit. Instead, I lost about $30. I tweaked my BB settings now to see if it'll fix anything.

Here's my graph. Yeah, it looks atrocious.
https://image.ibb.co/cqN1QR/Capture.png
newbie
Activity: 3
Merit: 0

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".

In my case, the purchases and sales are made without the candles touching the signal lines. I'm on bittrex.

That's weird, could be something related to Bittrex, then... I'm using Bitfinex, and the bot does trigger a buy when touching the lower band, and a sell when touching the upper band.

tested on bittrex and polo, doesn't work for me. bot buys whenever it wants to. mostly it buys on upper BB, what is the worst scenario.
https://imgur.com/a/9achR

I am also having the same issue, buying at the upper BB (or randomly whenever it wants), and selling immediately after at a small loss.   Also executing trades, mostly for a loss (buying high and selling low) within the bands.

Glad I just tested with a small amount as it is not working the way I would expect it to.
newbie
Activity: 28
Merit: 0
Hi, guys.  I am using the new BB bot.  It placed the buy order just fine, but upon creating a sell order it just stopped.  I'm not sure what went wrong.  I have the log of the approximate time the error took place.

Code:
 

DEBUG     @1513892944543 12/21 01:49:04 pm [poloniex:STR/USDT] : [Method:getMarginPosition (params: ¤cyPair=USDT_STR) ]
DEBUG     @1513892944543 12/21 01:49:04 pm [poloniex:STR/USDT] : received 2 active orders
DEBUG     @1513892944778 12/21 01:49:04 pm [system] : heart is beating ...
DEBUG     @1513892944793 12/21 01:49:04 pm [poloniex:STR/USDT] : updated ticker data
DEBUG     @1513892944985 12/21 01:49:04 pm [poloniex:STR/USDT] : received 0 margin positions
DEBUG     @1513892945240 12/21 01:49:05 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892945777 12/21 01:49:05 pm [system] : heart is beating ...
DEBUG     @1513892945945 12/21 01:49:05 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892946242 12/21 01:49:06 pm [poloniex:db:STR/USDT] : received new trade list with 13 entries
DEBUG     @1513892946242 12/21 01:49:06 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892946648 12/21 01:49:06 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892946778 12/21 01:49:06 pm [system] : heart is beating ...
DEBUG     @1513892946873 12/21 01:49:06 pm [poloniex] : [Method:returnBalances (params: ) ]
CRITICAL  @1513892946977 12/21 01:49:06 pm [poloniex:STR/USDT] : trying to recover order (try 2 of 2)
CRITICAL  @1513892946977 12/21 01:49:06 pm [poloniex:STR/USDT] : order recovery failed (returning null doc)
DEBUG     @1513892947252 12/21 01:49:07 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892947328 12/21 01:49:07 pm [poloniex:db:STR/USDT] : received new trade list with 10 entries
DEBUG     @1513892947328 12/21 01:49:07 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892947777 12/21 01:49:07 pm [system] : heart is beating ...
DEBUG     @1513892948112 12/21 01:49:08 pm [poloniex] : [Method:returnAvailableAccountBalances (params: &account=margin) ]
DEBUG     @1513892948112 12/21 01:49:08 pm [poloniex] : received funds
DEBUG     @1513892948778 12/21 01:49:08 pm [system] : heart is beating ...
DEBUG     @1513892949262 12/21 01:49:09 pm [poloniex:STR/USDT] : posted chart-update event
INFO      @1513892949278 12/21 01:49:09 pm [poloniex:bot:STR/USDT] : [strategy-0] bot is alive
DEBUG     @1513892949562 12/21 01:49:09 pm [poloniex:STR/USDT] : [Method:returnOpenOrders (params: ¤cyPair=USDT_STR) ]
DEBUG     @1513892949630 12/21 01:49:09 pm [poloniex] : [Method:returnTradableBalances (params: ) ]
DEBUG     @1513892949777 12/21 01:49:09 pm [system] : heart is beating ...
DEBUG     @1513892950207 12/21 01:49:10 pm [poloniex:STR/USDT] : received active orders doc:[
  {
    "amount" : "112.33125000",
    "date" : "2017-12-21 17:10:26",
    "margin" : 0,
    "orderNumber" : "44688662729",
    "rate" : "0.28031861",
    "startingAmount" : "112.33125000",
    "total" : "31.48853985",
    "type" : "sell"
  }
,
  {
    "amount" : "44820.16875002",
    "date" : "2017-12-21 16:49:06",
    "margin" : 0,
    "orderNumber" : "44686793600",
    "rate" : "0.28222000",
    "startingAmount" : "44820.16875002",
    "total" : "12649.14802463",
    "type" : "sell"
  }

]

DEBUG     @1513892950207 12/21 01:49:10 pm [poloniex:STR/USDT] : [Method:returnTradeHistory (params: &start=1388530800&end=1513892950¤cyPair=USDT_STR) ]
DEBUG     @1513892950207 12/21 01:49:10 pm [poloniex:STR/USDT] : received 2 active orders
DEBUG     @1513892950601 12/21 01:49:10 pm [poloniex] : [Method:returnMarginAccountSummary (params: ) ]
DEBUG     @1513892950778 12/21 01:49:10 pm [system] : heart is beating ...
DEBUG     @1513892950818 12/21 01:49:10 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892951069 12/21 01:49:11 pm [poloniex:STR/USDT] : 135 completed orders:
  orderIDs: 44698979402, 44698979402, 44664837578, 44664837578, 44664837578, 44606521952, 44604919556, 44593912574, 44593912574, 44556255269,
  tradeIDs: 2813865, 2813864, 2808281, 2808279, 2808278, 2790189, 2789872, 2785613, 2785612, 2776471,
DEBUG     @1513892951069 12/21 01:49:11 pm [poloniex:STR/USDT] : received 135 completed orders
DEBUG     @1513892951272 12/21 01:49:11 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892951417 12/21 01:49:11 pm [poloniex:db:STR/USDT] : received new trade list with 12 entries
DEBUG     @1513892951417 12/21 01:49:11 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892951541 12/21 01:49:11 pm [poloniex:STR/USDT] : updated ticker data
DEBUG     @1513892951778 12/21 01:49:11 pm [system] : heart is beating ...
DEBUG     @1513892951818 12/21 01:49:11 pm [poloniex:STR/USDT] : [Method:getMarginPosition (params: ¤cyPair=USDT_STR) ]
DEBUG     @1513892951819 12/21 01:49:11 pm [poloniex:STR/USDT] : received order book
INFO      @1513892951819 12/21 01:49:11 pm [poloniex:STR/USDT] : order book updated
DEBUG     @1513892951859 12/21 01:49:11 pm [poloniex] : [Method:returnActiveLoans (params: ) ]
DEBUG     @1513892951977 12/21 01:49:11 pm [poloniex:STR/USDT] : placed order ¤cyPair=USDT_STR&rate=0.0000001&amount=995.46762211 (return:   null)
ERROR     @1513892951977 12/21 01:49:11 pm [poloniex:STR/USDT] : error placing order: json2::TypeError: asObject called on non Object
:doc:
  null
ERROR     @1513892951977 12/21 01:49:11 pm [poloniex:STR/USDT] : spot order could not be placed due to error during order placement
INFO      @1513892951988 12/21 01:49:11 pm [poloniex:bot:STR/USDT] : [strategy-1] entering state: Spot order placed successfully
ERROR     @1513892951988 12/21 01:49:11 pm [poloniex:bot:STR/USDT] : [strategy-1] spot order could not be placed
INFO      @1513892951988 12/21 01:49:11 pm [poloniex:bot:STR/USDT] : [strategy-1] entering state: Stopped
DEBUG     @1513892952470 12/21 01:49:12 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892952778 12/21 01:49:12 pm [system] : heart is beating ...
DEBUG     @1513892952914 12/21 01:49:12 pm [poloniex:STR/USDT] : received 0 margin positions
DEBUG     @1513892953282 12/21 01:49:13 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892953388 12/21 01:49:13 pm [poloniex] : received margin funds
DEBUG     @1513892953595 12/21 01:49:13 pm [poloniex:db:STR/USDT] : received new trade list with 9 entries
DEBUG     @1513892953595 12/21 01:49:13 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892953778 12/21 01:49:13 pm [system] : heart is beating ...
INFO      @1513892954278 12/21 01:49:14 pm [poloniex:bot:STR/USDT] : [strategy-0] bot is alive
DEBUG     @1513892954777 12/21 01:49:14 pm [system] : heart is beating ...
DEBUG     @1513892955293 12/21 01:49:15 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892955777 12/21 01:49:15 pm [system] : heart is beating ...
DEBUG     @1513892955799 12/21 01:49:15 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892955973 12/21 01:49:15 pm [poloniex:db:STR/USDT] : received new trade list with 8 entries
DEBUG     @1513892955973 12/21 01:49:15 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892956511 12/21 01:49:16 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892956777 12/21 01:49:16 pm [system] : heart is beating ...
DEBUG     @1513892957087 12/21 01:49:17 pm [poloniex:db:STR/USDT] : received new trade list with 8 entries
DEBUG     @1513892957087 12/21 01:49:17 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892957307 12/21 01:49:17 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892957778 12/21 01:49:17 pm [system] : heart is beating ...
DEBUG     @1513892958734 12/21 01:49:18 pm [poloniex:STR/USDT] : updated ticker data
DEBUG     @1513892958778 12/21 01:49:18 pm [system] : heart is beating ...
DEBUG     @1513892959319 12/21 01:49:19 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892959778 12/21 01:49:19 pm [system] : heart is beating ...
INFO      @1513892960277 12/21 01:49:20 pm [poloniex:bot:STR/USDT] : [strategy-0] bot is alive
DEBUG     @1513892960777 12/21 01:49:20 pm [system] : heart is beating ...
DEBUG     @1513892960827 12/21 01:49:20 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892961014 12/21 01:49:21 pm [poloniex:db:STR/USDT] : received new trade list with 18 entries
DEBUG     @1513892961014 12/21 01:49:21 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892961328 12/21 01:49:21 pm [poloniex:STR/USDT] : posted chart-update event
DEBUG     @1513892961380 12/21 01:49:21 pm [poloniex:db:STR/USDT] : querying trade list
DEBUG     @1513892961778 12/21 01:49:21 pm [system] : heart is beating ...
DEBUG     @1513892961940 12/21 01:49:21 pm [poloniex:db:STR/USDT] : received new trade list with 10 entries
DEBUG     @1513892961940 12/21 01:49:21 pm [poloniex:db:STR/USDT] : simplifying data base
DEBUG     @1513892962584 12/21 01:49:22 pm [poloniex:STR/USDT] : [Method:returnOpenOrders (params: ¤cyPair=USDT_STR) ]
DEBUG     @1513892962777 12/21 01:49:22 pm [system] : heart is beating ...
DEBUG     @1513892962891 12/21 01:49:22 pm [poloniex:STR/USDT] : received active orders doc:[
  {
    "amount" : "112.33125000",
    "date" : "2017-12-21 17:10:26",
    "margin" : 0,
    "orderNumber" : "44688662729",
    "rate" : "0.28031861",
    "startingAmount" : "112.33125000",
    "total" : "31.48853985",
    "type" : "sell"
  }
,
  {
    "amount" : "44820.16875002",
    "date" : "2017-12-21 16:49:06",
    "margin" : 0,
    "orderNumber" : "44686793600",
    "rate" : "0.28222000",
    "startingAmount" : "44820.16875002",
    "total" : "12649.14802463",
    "type" : "sell"
  }

]


newbie
Activity: 36
Merit: 0

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".

In my case, the purchases and sales are made without the candles touching the signal lines. I'm on bittrex.

That's weird, could be something related to Bittrex, then... I'm using Bitfinex, and the bot does trigger a buy when touching the lower band, and a sell when touching the upper band.

tested on bittrex and polo, doesn't work for me. bot buys whenever it wants to. mostly it buys on upper BB, what is the worst scenario.
https://imgur.com/a/9achR
member
Activity: 119
Merit: 10

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".

In my case, the purchases and sales are made without the candles touching the signal lines. I'm on bittrex.

That's weird, could be something related to Bittrex, then... I'm using Bitfinex, and the bot does trigger a buy when touching the lower band, and a sell when touching the upper band.
newbie
Activity: 27
Merit: 0

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".

In my case, the purchases and sales are made without the candles touching the signal lines. I'm on bittrex.
member
Activity: 119
Merit: 10
Tested the BB bot with two currency pairs: made money with one, even with a stop-loss selling triggered later on. With the other, lost money, because the market price dropped a lot, and when the reversal started, it touched my configured upper BB band at a lower price (EDIT: didn't setup a stop-loss with this one).

So, to avoid this, an easy solution would be to add a "minimum gain" feature like the other bots: if the candle touches the upper band BUT that would represent an effective gain < minimum gain, don't do anything, and continuously test this condition until effective gain >= minimum gain.

For those of you who said have lost money with the bot, first make sure you understand what Bollinger Bands are and what the parameters mean. Then, keep in mind this scenario I mentioned: the stop-loss options are your friends, while a minimum gain is not introduced. And no bot is "set-it-and-forget-it".
newbie
Activity: 36
Merit: 0
Same here, bot bought on upper BB and instantly sold with loss. I'm on Bittrex. I will try another exchange.

EDIT_ tried on POLO, same behaviour. Bot buys on upper bollinger band, weird.
newbie
Activity: 27
Merit: 0
BB strategy is running very very weird for me, I can't follow its decisions. I'm on Bittrex and it has made several bad trades, when it could have made profits... I stopped it for now, cause it's not working (for me?). Maybe it's bad luck, I'll try again later.

Same for me.

I think there's a mistake in the signals. In my case, the bot has bought above the buying signal line (blue line for me) and has sold below the selling signal line (red line for me).

Most exchanges were made at a loss. Sales orders were placed immediately after purchase regardless of signals.
newbie
Activity: 8
Merit: 0
BB strategy is running very very weird for me, I can't follow its decisions. I'm on Bittrex and it has made several bad trades, when it could have made profits... I stopped it for now, cause it's not working (for me?). Maybe it's bad luck, I'll try again later.
newbie
Activity: 40
Merit: 0
I had the same problem (I using archlinux on my rpi3), you need to install qt5-svg and qt5-websockets ...
By the way, Awesome jobs guyz!!! I love to be able to run leonardo in my rpi... Thanks !!!!

Apparently I'm running raspbian so shouldn't it work?

"Distributor ID:   Raspbian
Description:   Raspbian GNU/Linux 8.0 (jessie)
Release:   8.0
Codename:   jessie"

I tried installing as you said but nothing found.... did you install with apt-get?

So first of all, we've been using Raspbian 9, not 8. So if upgrading is an option for you, that might be worth a shot. Apparently it is possible to upgrade without reinstalling but I haven't tried it personally. If you don't have anything else on that RPi, it might be easier to just use a new image.

Either way, could you paste the exact error message you're seeing? Is it still the "libQt5Svg.so.5: cannot open shared object file" even after doing a sudo apt-get install libqt5svg5? Or is it more something along those lines:

Code:
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5WebSockets.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Network.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: version `Qt_5' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./leonArdo.arm)
./leonArdo.arm: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: version `Qt_5' not found (required by ./leonArdo.arm)

If it's the latter, I'm afraid this can't be fixed by just installing some packages.
[/quote]

Ok thanks, I installed my Rpi over a year ago so that is likely the issue as you say. I have other stuff on there but I haven't used it for that for a while so I can start again with that. I will look into this. thanks.
newbie
Activity: 27
Merit: 0
The bollinger band strategy doesn't work well for me. Make purchases and place sales orders at lower prices almost immediately, when the signal is clearly showing that the selling price may be much higher.
This has happened to me with two different currencies.

I'm on bittrex running leonardo on the raspberry.
In the picture illustrates what is happening. Here you can see that the signal to put the sales order did not match the red line of the signal.

https://imageneszerodayposts.tumblr.com/image/168796594817

Is that a bug? does that happen to anyone else?




Jump to: