Pages:
Author

Topic: Haasonline Simple Trade Bot For BTCe and Bitstamp[Main topic] - page 28. (Read 416703 times)

member
Activity: 73
Merit: 10
Hey guys

I am continually getting Order failed or timed out on cryptsy and bitfinex, no matter the pairing of btc and alt coin.
It was working 2 days ago, but not now.  Shows as everything connected correctly on the API.
I have been at it all day, and ready to give up on this bot.
I have only been able to make 1 trade on 1 exchange, that's btce

Changing from market order to limit order solved this issue for me.

I'm using limit orders but having issues with Cryptsy also. Here's an excerpt from my log from last night, the bot placed three orders to buy, all of which finally went through but the bot only registered one as successful., the last one. Which is why it kept buying when it shouldn't have..

Code:
2014-15-06 02:10:01.404	|ORDER_STACK|	{Cryptsy Buy 0.68302302 Drk @ 0.0178000 Btc/Drk} changed to status QUEUED
2014-15-06 02:10:01.443 |ORDER_STACK| {Cryptsy Buy 0.68302302 Drk @ 0.0178000 Btc/Drk} changed to status EXECUTING
2014-15-06 02:10:01.443 |ORDER_STACK| {Cryptsy Buy 0.68302302 Drk @ 0.0178000 Btc/Drk} changed to status EXECUTING
2014-15-06 02:10:01.804 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 02:10:36.863 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 02:10:52.084 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 02:11:06.956 |ORDER_STACK| {Cryptsy Buy 0.68302302 Drk @ 0.0178000 Btc/Drk} changed to status TIME_OUT

...

2014-15-06 04:22:49.090 |ORDER_STACK| {Cryptsy Buy 0.61973128 Drk @ 0.01765122 Btc/Drk} changed to status QUEUED
2014-15-06 04:22:49.092 |ORDER_STACK| {Cryptsy Buy 0.61973128 Drk @ 0.01765122 Btc/Drk} changed to status EXECUTING
2014-15-06 04:22:49.092 |ORDER_STACK| {Cryptsy Buy 0.61973128 Drk @ 0.01765122 Btc/Drk} changed to status EXECUTING
2014-15-06 04:22:50.507 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 04:23:05.548 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 04:23:40.610 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 04:23:55.647 |ERROR| Error executing public query: The remote server returned an error: (522) Origin Connection Time-out.
2014-15-06 04:24:06.073 |ORDER_STACK| {Cryptsy Buy 0.61973128 Drk @ 0.01765122 Btc/Drk} changed to status TIME_OUT

...

2014-15-06 04:36:05.275 |ORDER_STACK| {Cryptsy Buy 0.55760447 Drk @ 0.01765122 Btc/Drk} changed to status QUEUED
2014-15-06 04:36:05.278 |ORDER_STACK| {Cryptsy Buy 0.55760447 Drk @ 0.01765122 Btc/Drk} changed to status QUEUED
2014-15-06 04:36:05.278 |ORDER_STACK| {Cryptsy Buy 0.55760447 Drk @ 0.01765122 Btc/Drk} changed to status EXECUTING
2014-15-06 04:37:19.382 |ORDER_STACK| {Cryptsy Buy 0.55760447 Drk @ 0.01765122 Btc/Drk} changed to status COMPLETED
2014-15-06 04:37:19.391 |ORDER_STACK| {Cryptsy Buy 0.55760447 Drk @ 0.01765122 Btc/Drk} changed to status COMPLETED
2014-15-06 05:18:00.566 |ERROR| Error executing public query: The remote server returned an error: (520) Origin Error.
2014-15-06 05:19:05.747 |ERROR| Error retrieving wallet info from Cryptsy

Here's the trade log from the bot: PS. Notice that the bot sold at a loss even though the "overcome fee insurance" is activated. Gonna stop using Cryptsy I think..

Code:
Timestamp	TradeType	Buy Price	Sell Price	Last buy price	Last sell price	Earned	Total earned	Fee costs	Total fee costs	Total profit made
15/06/2014 00:05 Sell                     0.0178110 0.018 -0.000000003953880 -0.000000003953880 0.00000004 0.00005011 -0.00005011
15/06/2014 04:36 Buy    0.01765122 0.0178110 0.00098424
member
Activity: 100
Merit: 10
Hey guys

I am continually getting Order failed or timed out on cryptsy and bitfinex, no matter the pairing of btc and alt coin.
It was working 2 days ago, but not now.  Shows as everything connected correctly on the API.
I have been at it all day, and ready to give up on this bot.
I have only been able to make 1 trade on 1 exchange, that's btce

Changing from market order to limit order solved this issue for me.
member
Activity: 100
Merit: 10
Hey guys

I am continually getting Order failed or timed out on cryptsy and bitfinex, no matter the pairing of btc and alt coin.
It was working 2 days ago, but not now.  Shows as everything connected correctly on the API.
I have been at it all day, and ready to give up on this bot.
I have only been able to make 1 trade on 1 exchange, that's btce
full member
Activity: 124
Merit: 100
I cannot connect to CEX Api and i do not get prices/charts from Kraken.

i'm having the same issue with Kraken. Version 0.9.9.9 changelog states that Kraken is supported in beta stage...

I can connect to CEX, and it works fine for a few hours to 1 or 2 days. Then, CEX tracking stops while other APIs continue to work fine. I have to restart HTS to get CEX to work again...

CEX works for me now. It was only a temporary issue.

Anyway... @dev: I would love to see full kraken support and i will definatly upgrade my license as soon as Kraken works. I do not really trust btc-e...
sr. member
Activity: 252
Merit: 250
I know, then where is risk if I've given the bot for a time of 24 hours for example to buy low sell high ?

I can't get, really sorry.

 Huh Huh Huh

The bot thinks the price is high now and sells everything you have. Then the prices rises and you have no chance to buy your coins back without loosing money. That is the risk.

At last I've got it, so it depends on speculation and luck.
member
Activity: 73
Merit: 10
I bought the beginner license the other day and am currently testing it. It's having a hard time with Cryptsy, it's placing order's but when order's don't get filled rapdily they time out  in the software and count as cancelled, but they remain open in Cryptsy.

I also lost one of my bots after restarting the server, which is quite annoying as it now has to rebuild all the transaction history. I also lost all the transaction history on the bot that remained, so now I'll need to deactivate it for several hours, bah..

Now another thing that's a major frustration, is the lack of flexibility in displaying transaction histories. Why can't I simply display the last 24 hrs; or 48hrs; or whatever timeframe I want? Surely that information can be downloaded somewhere and stored locally, so when you add a bot with a given pair on a given exchange, the software would download at the very least the previous 24 hrs of transactions!

It's also very frustrating to lose all the transaction history except for the last 480mins whenever you change any settings for an indicator, can't you store it locally and let us modify things as we want?
full member
Activity: 124
Merit: 100
I know, then where is risk if I've given the bot for a time of 24 hours for example to buy low sell high ?

I can't get, really sorry.

 Huh Huh Huh

The bot thinks the price is high now and sells everything you have. Then the prices rises and you have no chance to buy your coins back without loosing money. That is the risk.
sr. member
Activity: 252
Merit: 250
I know, then where is risk if I've given the bot for a time of 24 hours for example to buy low sell high ?

I can't get, really sorry.
full member
Activity: 224
Merit: 100
There is something I can't understand, where the risk is ?

If I programed the bot to buy btc with lowest sell price and sell for highest buy, then where is the risk ?

We can't predict what the market is going to do. That is the risk.

Could you elaborate more please.

The market price of bitcoin fluctuates.
sr. member
Activity: 252
Merit: 250
There is something I can't understand, where the risk is ?

If I programed the bot to buy btc with lowest sell price and sell for highest buy, then where is the risk ?

We can't predict what the market is going to do. That is the risk.

Could you elaborate more please.
full member
Activity: 224
Merit: 100
There is something I can't understand, where the risk is ?

If I programed the bot to buy btc with lowest sell price and sell for highest buy, then where is the risk ?

We can't predict what the market is going to do. That is the risk.
sr. member
Activity: 252
Merit: 250
There is something I can't understand, where the risk is ?

If I programed the bot to buy btc with lowest sell price and sell for highest buy, then where is the risk ?
mc
newbie
Activity: 4
Merit: 0
I cannot connect to CEX Api and i do not get prices/charts from Kraken.
[/quote]

i'm having the same issue with Kraken. Version 0.9.9.9 changelog states that Kraken is supported in beta stage...

I can connect to CEX, and it works fine for a few hours to 1 or 2 days. Then, CEX tracking stops while other APIs continue to work fine. I have to restart HTS to get CEX to work again...
full member
Activity: 124
Merit: 100
Does anybody here successfully use Haasbot with Kraken? Or Cex.io ?
Both do not work for me.

I cannot connect to CEX Api and i do not get prices/charts from Kraken.
newbie
Activity: 37
Merit: 0
BitStamp problems:

- I have open order on BitStamp. I set on bot amount "All-in" and in sum is included open order amount too. How do I correct this? Solved: Used % value. Is this only solution for BitStamp?
- BitStamp trading does not work. Api is connected, but in debug log there is no data of prices. Backtradig gives me horizontal line... no trading. What should I do? Solved: created new api with only essential permissions

legendary
Activity: 1851
Merit: 1020
Get Rekt
Advantage of the limt order: exact price
Disadvange of the limit order: might be slow to fill

Advantage of the market order: fast
Disadvantage of the market order: might be at a higher or lower price than expected


imho: stick to limit orders first, when you have mastered that then try out market orders with small ammounts.

full member
Activity: 224
Merit: 100
Quick question, with the bot settings does a limit order or market order truly reflect the currect market price? Is it better to use market order to truly get the high/lowest market price at the time of order?
legendary
Activity: 1851
Merit: 1020
Get Rekt
ah ok, got it.
Yea bitfinex is a bit more complcated than most exchanges.
full member
Activity: 224
Merit: 100
Ok... I figured out my problem. I had to move my bitcoins from my trading wallet to my exchange wallet. Now the balances are showing up correctly.

I'm such an idiot...  Cheesy
full member
Activity: 224
Merit: 100
I've also noticed that if I go into the haasbot web interface and configure the API keys for Bitfinex that once I submit the query it shows as connected on that page.

However if I go to Server Information it only shows Bitstamp and BTC-e as connected APIs.

Here is the log output with debug turned on when I enter my Bitfinex API keys:

Code:

2014-10-06 10:03:31.322 |ERROR| /v1/balances is an authenticated query, so we need the API keys.
2014-10-06 10:03:31.322 |DEBUG| Bitfinex.BitfinexException: /v1/balances is an authenticated query, so we need the API keys.
  at Bitfinex.BitfinexAPI.a(String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b[a](String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b()
  at Bitfinex.BitfinexAPI.h.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.GetWalletInfo()
  at Bitfinex.BitfinexAPI.a()
  at Bitfinex.BitfinexAPI.i.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.IsConnected()
  at HaasonlineTradeServer.Trading.ExchangePlatforms.ExchangePlatformBitfinex.IsConnected()
2014-10-06 10:03:32.663 |ERROR| /v1/balances is an authenticated query, so we need the API keys.
2014-10-06 10:03:32.663 |DEBUG| Bitfinex.BitfinexException: /v1/balances is an authenticated query, so we need the API keys.
  at Bitfinex.BitfinexAPI.a(String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b[a](String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b()
  at Bitfinex.BitfinexAPI.h.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.GetWalletInfo()
  at Bitfinex.BitfinexAPI.a()
  at Bitfinex.BitfinexAPI.i.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.IsConnected()
  at HaasonlineTradeServer.Trading.ExchangePlatforms.ExchangePlatformBitfinex.IsConnected()
2014-10-06 10:04:02.757 |ERROR| /v1/balances is an authenticated query, so we need the API keys.
2014-10-06 10:04:02.757 |DEBUG| Bitfinex.BitfinexException: /v1/balances is an authenticated query, so we need the API keys.
  at Bitfinex.BitfinexAPI.a(String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b[a](String A_0, Dictionary`2 A_1)
  at Bitfinex.BitfinexAPI.b()
  at Bitfinex.BitfinexAPI.h.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.GetWalletInfo()
  at Bitfinex.BitfinexAPI.a()
  at Bitfinex.BitfinexAPI.i.Invoke(Object& A_0, Arguments A_1, Object A_2)
  at PostSharp.Aspects.Internals.MethodInterceptionArgsImpl`1.Proceed()
  at APIHelper.CacheAttribute.OnInvoke(MethodInterceptionArgs args)
  at Bitfinex.BitfinexAPI.IsConnected()
  at HaasonlineTradeServer.Trading.ExchangePlatforms.ExchangePlatformBitfinex.IsConnected()

More debug info from the log viewer:

Code:
2014-10-06 10:51:52.940	|BOT_INFO|	Checking trade-bot: Bitfinex
2014-10-06 10:51:52.940 |BOT_INFO| Bot: Bitfinex Message: Checking at price 663.1
2014-10-06 10:51:52.940 |BOT_INFO| Bot: Bitfinex Message: Trade-amount can not be calculated. (the max amount is unknown or the percentages are 0 or higher then 100)
2014-10-06 10:51:52.940 |BOT_INFO| Bot: Bitfinex Message: Trade-amount can not be calculated. (the max amount is unknown or the percentages are 0 or higher then 100)
2014-10-06 10:51:52.940 |BOT_INFO| Bot: Bitfinex Message: Trade-amount can not be calculated. (the max amount is unknown or the percentages are 0 or higher then 100)
2014-10-06 10:51:52.940 |BOT_INFO| Bot: Bitfinex Message: Trade-amount can not be calculated. (the max amount is unknown or the percentages are 0 or higher then 100)
2014-10-06 10:51:52.955 |BOT_INFO| Bot: Bitfinex Message: Dynamic drop-loss check at price: 663.10666667 > 596.79600000 (Dynamic adjusted drop-loss safety (Adjustment: 90.0 %, Update timer: 10) (Bitfinex BtcUsd))
2014-10-06 10:51:52.955 |BOT_INFO| Bot: Bitfinex Message: Dynamic roof-in check at price: 663.10666667 < 928.34933334 (Dynamic adjusted roof-in safety (Adjustment: 140.0 %, Update timer: 10) (Bitfinex BtcUsd))
2014-10-06 10:51:52.955 |BOT_INFO| Bot: Bitfinex Message: Calculated PPO: 0.0 (PPO Indicator (Trend type: EMA, Short 12, Long 26, Signal 9 MA Cross-over) (Bitfinex BtcUsd 10min))
2014-10-06 10:51:52.971 |BOT_INFO| Bot: Bitfinex Message: The trade amount is invalid.

Also noticed this when I closed down the software and restarted it:

Code:
2014-10-06 10:56:19.478	|TRACKER_INFO|	Recieved 0 ticks from cache server for Bitfinex @ BtcUsd.
2014-10-06 10:56:19.587 |TRACKER_INFO| Recieved 0 ticks from cache server for Bitfinex @ LtcBtc.
2014-10-06 10:56:19.712 |TRACKER_INFO| Recieved 0 ticks from cache server for Bitfinex @ LtcUsd.
Pages:
Jump to: