GithubHelp home page GithubHelp logo

cryptoeax / arbbot Goto Github PK

View Code? Open in Web Editor NEW
198.0 48.0 78.0 1.25 MB

Arbitrator, a bitcoin/altcoin arbitrage trading bot

Home Page: https://gitter.im/cryptoeax-arbbot/Lobby

License: GNU General Public License v3.0

PHP 68.49% JavaScript 22.03% HTML 1.36% CSS 6.72% Roff 0.01% Shell 1.40%
bot bittrex poloniex trading-bot arbitrage-trading

arbbot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arbbot's Issues

Rewrite the Profit & Loss calculation to persist it in the database

The current implementation of the P&L section is really a giant hack. Each time we want to satisfy a dynamic request from the web UI, we have to parse the entire log and look for trades. Even worse, the log will get deleted gradually, and its contents may be inaccurate due to past bugs and also in-flight transfers (since we currently use the asset balance difference before and after the trade to decide how much we have bought/sold so an incoming transfer can mislead us.)

I decided to spend the time to rewrite this properly. We need to persist the profit and loss information in the database so that we can quickly fetch it when needed. Also it would be nice to have a place where we have a record of each single transaction so that we can start to collect more information about transactions to see if we can come up with ideas on how to improve the bot. For example, I'm planning to record the order books at the times a trade is made to see if we could avoid incurring losses by detecting specific patterns in the order book...

There will be an import step require to import the current data into the database, which would be a one time operation. The bot will prompt about this on first launch after an update but otherwise these changes should remain invisible if everything goes successfully.

The way this will work is that we will try to match the information in the log against the order history data that we can get from the exchanges. Unfortunately the exchanges don't provide API access for the full order history, so the user will need to download the appropriate CSV files manually for this import process. I have a history of ~3200 transactions and the import code is now working well for this history...

Common pairs

Hello,
Thank you for your good work !!!
I need your help. I don't know if the bot works normally because it search opportunities on only 5 common pairs.
Can you help me ?

Attempting to refresh exchange data before wallets are initialized

I'm running the bot on localhost and getting the following:

11:40:14: ARBITRATOR V2.0 launching...
sh: 1: /usr/sbin/sendmail: not found
11:40:14: Loading config...
11:40:14: Enabling Bittrex...
11:40:14: Enabling Poloniex...
11:40:14: Configured 2 exchanges!
11:40:14: Testing exchange access...
11:40:15: BITTREX [OK]
11:40:15: POLONIEX [OK]
11:40:15: Refreshing wallets...
11:40:15: Refreshing trading pairs...
11:40:15: Attempting to refresh exchange data before wallets are initialized
11:40:15: Error during main loop: wallets not initialized
#0 /var/www/arbbot-production/bot/Arbitrator.php(411): Bittrex->refreshExchangeData()
#1 /var/www/arbbot-production/bot/Arbitrator.php(38): Arbitrator->refreshCoinPairs()
#2 /var/www/arbbot-production/bot/Arbitrator.php(436): Arbitrator->loop()
#3 /var/www/arbbot-production/main.php(62): Arbitrator->run()
#4 {main}

Any ideas why?

Thanks

some questions

Hello,
first, thank you for you work @cryptoeax :)

  1. How many btc must have both exchanges? is 0,025 btc each exchange enough, for first small start?
  2. How dedect the bot wallet adress from exchanges for transfering coins? automatic? I just Need Key+Secret and the bot make the rest?
  3. Buy the bot after start on both exchange coins? so After start the bot, the bot buy a profitable coin on both exchanges and then wait for arbitrage to sell and buy and then to Transfer coins? or how works the bot with fresh accounts without any coins?

thank you :)

The bot sometimes ignores the min-profit set in the config

yhmvmes

As seen in the example I have set a min-profit = 0.00001 in the config but the bot still performs the trade even though the simulation gives a potential profit lower than the setting.

I can see from the top line that the initial simulation is above the threshold, but the bot should stop it self when the second simulation returns a lower profit

Cannot redeclare doWithdraw()

Hello! Thank u for work!
07:54:29: Transfering 88.29302848 LBC BITTREX => POLONIEX PHP Fatal error: Cannot redeclare doWithdraw() (previously declared in /var/www/arbbot-production/bot/CoinManager.php:761) in /var/www/arbbot-production/bot/CoinManager.php on line 761
Branch: pl-rewrite

error on startup

POLONIEX [ERROR]
[POLONIEX] API error response: Invalid nonce parameter.

What is this? please assist

Status?

Hey :).
Is the bot now save with the 15abe54 commit?
Cant see what u talked because old repo down

#8
//its the only way to write u @cryptoeax because i or all user have no access to write anything here issue/pull...
---> An owner of this repository has limited the ability to comment to users that are collaborators on this repository.

I get this infos with the edited code..

String(18) "768346381"
21:41:59: POLONIEX [ERROR]
[POLONIEX] API error response: Invalid nonce parameter.

Consider withdrawals when trade-matching as well

(This is for the pl-rewrite branch.)

Similar to how we take deposits which finish during a trade into account, we also need to take withdrawals that finish during a trade into account as well.

Balancing funds in more effective currency

Hi, thanks for a great work.

Since i am working with less funds, BTC transfers have 1) high fees 2) take ages compare to other coins. Did you consider re-balancing the accounts in other altcoins that take seconds and have almost or no fees?

Thank you!
MS

Webinterface problem

hi,
i have some problems with the webinterface^^ because i get this error after i logged in with my correct username and password, that i created with htpasswd...
500 Internal Server Error
nginx/1.10.3 (Ubuntu)
thx :)

Not enough COIN error when transferring between exchanges

With pl-rewrite branch still have problem with re-balance coins to exchange like in #11 SC coin.
Now bot make transfer all coin SYS to other exchange. I did not know why bot did it.

I noticed this only after an error below:

21:13:24: Calculated P&L: -0.00000028
21:13:25: Transfering 23.54035660 SYS POLONIEX => BITTREX
21:13:25: Deposit address: SUz8D2kpDBYgY9xBGDZ2UbQUYFFWEBQErt
21:13:25: Error during main loop: [POLONIEX] API error response: Not enough SYS.
#0 /var/www/arbitrage-bot/bot/xchange/Poloniex.php(521): Poloniex->queryAPI()
#1 /var/www/arbitrage-bot/bot/xchange/Poloniex.php(64): Poloniex->queryWithdraw()
#2 /var/www/arbitrage-bot/bot/CoinManager.php(760): Poloniex->withdraw()
#3 /var/www/arbitrage-bot/bot/Arbitrator.php(387): CoinManager->withdraw()
#4 /var/www/arbitrage-bot/bot/Arbitrator.php(203): Arbitrator->trade()
#5 /var/www/arbitrage-bot/bot/Arbitrator.php(152): Arbitrator->checkAndTrade()
#6 /var/www/arbitrage-bot/bot/Arbitrator.php(142): Arbitrator->testOrderbooks()
#7 /var/www/arbitrage-bot/bot/Arbitrator.php(108): Arbitrator->checkPairAt()
#8 /var/www/arbitrage-bot/bot/Arbitrator.php(86): Arbitrator->checkOpportunitiesAt()
#9 /var/www/arbitrage-bot/bot/Arbitrator.php(55): Arbitrator->checkOpportunities()
#10 /var/www/arbitrage-bot/bot/Arbitrator.php(472): Arbitrator->loop()
#11 /var/www/arbitrage-bot/main.php(112): Arbitrator->run()
#12 {main}
21:13:26: Refreshing wallets...

Maybe problem in logic re-balance bot. Maybe problem in logic re-balance bot.

Why get this is error?
21:13:25: Error during main loop: [POLONIEX] API error response: Not enough SYS.

Record the orderbooks for each transaction

Once #11 is fixed, we will be able to start record information about our transactions for the purpose of future data analytics. One thing that I would like to start recording is the orderbooks at the time we place our orders to see if there are things in the orderbooks that we could detect that would allow us to detect trades that end up in a loss for example by having part of an order left unfilled.

Double check the trade matching for multi-trade orders

From https://gitter.im/cryptoeax-arbbot/Lobby?at=5a39ea0200d569114bc90165:

Scorpic1 @Scorpic1 23:41
Hello! @cryptoeax P & L now has to correctly calculate if the order is executed in several parts, more than one?

POT/BTC    Sell    Exchange    0.00001936    52.00000000    0.00000252 BTC (0.25%)    0.00100420 BTC    2017-12-19 20:43:38
POT/BTC Sell Exchange 0.00001936 93.74455999 0.00000454 BTC (0.25%) 0.00181035 BTC 2017-12-19 20:43:38

Scorpic1 @Scorpic1 23:46
But bot calculate in P&L only first order 93.74455999 POT. Each 52.00000000 POT not calculate P&L
2017-12-19 23:44:46 POT BTTRX PLNX 93.74455999 0.00280562 0.00181489 0.00099073 0.01000000 0.00100247

Scorpic1 @Scorpic1 23:52

20:43:37: TRADING POT-BTC FROM BITTREX TO POLONIEX

= FUNDS ============================================
SOURCE : 0.03059030 BTC
TARGET : 145.74655999 POT

= SIMULATION =======================================
TARGET MAX : 145.74655999
SOURCE MAX : 519.75051975
BUY RATE : 0.00001924
BUY AMOUNT : 145.74655999
BUY PRICE : 0.00281117
SELL RATE : 0.00001936
SELL AMOUNT : 145.74455999
SELL PRICE : 0.00281456
PROFIT : 0.00000339

= TRADE ============================================
SELL ORDER : 145.74455999 POT @ 0.00001888 BTC
BUY ORDER : 145.74655999 POT @ 0.00001972 BTC

20:43:38: Placed sell order (POLONIEX ID: BTC_POT:20581640831)
20:43:41: Placed buy order (BITTREX ID: 20137711-8c6b-4079-967f-8ac3dfbffff4)
20:43:41: Waiting for order execution...
20:44:41: [POLONIEX] Cancelling order BTC_POT:20581640831
20:44:42: [BITTREX] Cancelling order 20137711-8c6b-4079-967f-8ac3dfbffff4
20:44:42: Checking trade results (1)...
20:44:43: Received 145.74655999 POT from the exchange while our wallets show a balance difference of 145.74655999 (145.74655999 - 0.00000000 finished deposits)
20:44:45: Received 93.74455999 POT from the exchange while our wallets show a balance difference of 145.74455999 (145.74455999 - 0.00000000 finished deposits)
20:44:46: TRADE SUMMARY:
PAIR: POT vs BTC
DIRECTION: BITTREX TO POLONIEX
BALANCES BEFORE / AFTER

BITTREX:
POT: 0.00000000 => 145.74655999 = 145.74655999
BTC: 0.03059030 => 0.02777767 = -0.00281263

POLONIEX:
POT: 0.02010101 => 0.00200000 = -145.74455999
BTC: 0.02010101 => 0.02191136 = 0.00181035

TOTAL:
BTC: -0.00100228
POT: 0.00200000
POT(-tx) : 0.00000000

(Transfer fee is 0.00200000)

20:44:46: Calculated P&L: -0.00100247
20:44:46: Transfering 145.74655999 POT BITTREX => POLONIEX

Problem with length of the address withdrawal

Hello All!

cryptoeax thank you for your work!

I am testing pl-rewrite branch now. I found one bug, i think this is due to the length of the address withdrawal

09:02:21: BITTREX: 10 SC (3 usages)
09:02:21: POLONIEX: 1600.42439517 SC (0 usages)
09:02:21: TOTAL: 1610.42439517 SC
09:02:21: AVERAGE: 1610.42439517 SC
09:02:21: XFER THRES.: 1000 SC
09:02:21: BITTREX is missing -1600.42439517 SC
09:02:21: POLONIEX could give 1600.42439517 SC
09:02:21: Transfering 1600.42439517 SC POLONIEX => BITTREX
09:02:22: Deposit address: 88918c50a572633c14a467bf89d489ba82a654663440db48e4672ea373674cf591c06b5c8aad
09:02:22: ERROR during management task: database insertion error: Data too long for column 'address' at row 1
#0 /var/www/arbitrage-bot/bot/CoinManager.php(761): Database::saveWithdrawal()
#1 /var/www/arbitrage-bot/bot/CoinManager.php(348): CoinManager->withdraw()
#2 /var/www/arbitrage-bot/bot/CoinManager.php(629): CoinManager->balance()
#3 /var/www/arbitrage-bot/bot/CoinManager.php(604): CoinManager->balanceAltcoins()
#4 /var/www/arbitrage-bot/bot/CoinManager.php(56): CoinManager->manageWallets()
#5 /var/www/arbitrage-bot/bot/Arbitrator.php(49): CoinManager->doManage()
#6 /var/www/arbitrage-bot/bot/Arbitrator.php(472): Arbitrator->loop()
#7 /var/www/arbitrage-bot/main.php(112): Arbitrator->run()
#8 {main}
09:02:22: Refreshing wallets...

Why bot send all SC coin to Bittrex account and bot do not write info xfers window.? Why not half of all SC coins?

P&L work not correct

I think P&L worked not correct. P&L without cost on exchange (0,2%) Please included it and check same.

2017-12-06_001657
2017-12-06_002518
Impossible.
2017-12-06_003520

Wallet blank on WEB UI

Hello @cryptoeax,
Since the latest commits, the wallets area is blank on the web ui.
I added an API from another exchange and it worked before.
Can you help me ?
I created a map file corresponding to the ID of the exchange.

'Cloud not get reply HTTP 422'

Hello, I'm trying to run your latest 'baaa6ba' version, however I'm getting the HTTP 422 error.

Version downloaded yesterday was connecting with poloniex perfectly, but now it has stopped.

Thank you.

http422

Poloniex Invalid data received

22:23:46: [POLONIEX] Invalid data received: ([])
22:23:46: [POLONIEX] Invalid data received: ([])
22:23:46: [POLONIEX] Invalid data received: ([])
22:23:46: [POLONIEX] Invalid data received: ([])
22:23:46: [POLONIEX] Invalid data received: ([])
22:23:46: Error during main loop: [POLONIEX] Invalid data received: ([])

#0 /var/www/arbbot/bot/xchange/Poloniex.php(357): Poloniex->queryAPI('returnDepositAd...')

#1 /var/www/arbbot/bot/xchange/Poloniex.php(238): Poloniex->queryDepositAddresses()

#2 /var/www/arbbot/bot/Arbitrator.php(411): Poloniex->refreshExchangeData()

#3 /var/www/arbbot/bot/Arbitrator.php(38): Arbitrator->refreshCoinPairs()

#4 /var/www/arbbot/bot/Arbitrator.php(436): Arbitrator->loop()

#5 /var/www/arbbot/main.php(71): Arbitrator->run()

#6 {main}

Error running bot

Hello,

On trying to start the bot, there is an error appearing folllowing restart of the webserver as shown below.
Please assist in resolving this issue that is appearing upon executing the command "php main.php". Thanks.

/var/www/arbbot-production$ /etc/init.d/nginx restart
[ ok ] Restarting nginx (via systemctl): nginx.service.

/var/www/arbbot-production$ php main.php
PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user 'arbitrage'@'localhost' (using password: YES) in /var/www/arbbot-production/lib/mysql.php on line 66
PHP Fatal error: Uncaught TypeError: Argument 1 passed to mysql_error() must be an instance of mysqli, boolean given, called in /var/www/arbbot-production/bot/Database.php on line 20 and defined in /var/www/arbbot-production/lib/mysql.php:227
Stack trace:
/var/www/arbbot-production/bot/Database.php(20): mysql_error(false)
/var/www/arbbot-production/bot/Database.php(132): Database::connect()
/var/www/arbbot-production/bot/utils.php(44): Database::log('ARBITRATOR V2.0...')
/var/www/arbbot-production/main.php(29): logg('ARBITRATOR V2.0...')
{main}
thrown in /var/www/arbbot-production/lib/mysql.php on line 227

Add exchanges

Is it possible to add exchanges ? I can also pay you privately.

poloniex API problem

Hello,

When I try to run main.php, there is an error:

[ERROR] [POLONIEX] API error response: Invalid nonce parameter.

I tried to delete and create new API for three times but nothing is changed.

Correctly handle a Bittrex market going offline

When this happens, we may get exceptions like this:

Error during main loop: API error response: MARKET_OFFLINE
#0 /home/user/arbbot/bot/xchange/Bittrex.php(597): Bittrex->xtractResponse()
#1 /home/user/arbbot/bot/xchange/Bittrex.php(483): Bittrex->queryAPI()
#2 /home/user/arbbot/bot/xchange/Bittrex.php(272): Bittrex->queryCancelOrder()
#3 /home/user/arbbot/bot/Arbitrator.php(321): Bittrex->cancelOrder()
#4 /home/user/arbbot/bot/Arbitrator.php(203): Arbitrator->trade()
#5 /home/user/arbbot/bot/Arbitrator.php(152): Arbitrator->checkAndTrade()
#6 /home/user/arbbot/bot/Arbitrator.php(142): Arbitrator->testOrderbooks()
#7 /home/user/arbbot/bot/Arbitrator.php(108): Arbitrator->checkPairAt()
#8 /home/user/arbbot/bot/Arbitrator.php(86): Arbitrator->checkOpportunitiesAt()
#9 /home/user/arbbot/bot/Arbitrator.php(55): Arbitrator->checkOpportunities()
#10 /home/user/arbbot/bot/Arbitrator.php(477): Arbitrator->loop()
#11 /home/user/arbbot/main.php(112): Arbitrator->run()
#12 {main}

Upgrade Bittrex's minimum order size

Per their Nov 24 email:

Raising the minimum trade size: Within the next 2 weeks, the minimum allowable trade value for orders will go from 50,000 Satoshi to 100,000 Satoshi. We will also require a minimum trade quantity on a per market basis.

The first part is easy to change, the second part needs more work, but we need to see how much it would affect the bot. This change has already started to cause MIN_TRADE_REQUIREMENT_NOT_MET errors from Bittrex...

NOTE TO USERS: Please increase expert.max-log-age

This is not really an issue but I'm filing it as a way to communicate this point to the users of this user.

Please consider raising the expert.max-log-age config setting. This value is stored in hours and controls how much of the log is stored. Logs older than this will be deleted by the bot. While I'm working on fixing #11, the profit and loss information of the bot is written into this log so if your log is too small and gets cleaned up by the bot you will lose some of the profit and loss information stored and there is no way to recover it.

After #11 is fixed, you can drop the value of this setting back to its default value (which is 300).

Handle Bittrex minimum tick sizes

Per their Nov 24 email:

Creating minimum tick sizes: Within the next 2 weeks, on a per market basis, we will be instituting minimum tick sizes that are based on the current price of the market. The target is to have minimum trade sizes that are near 0.1% of the current price. The current minimum tick size is 1 Satoshi. For example, Ethereum trades at 0.0577 Bitcoin. Bids and asks can only be placed in 0.0001 increments. So the next levels allowable levels on the order book will be 0.0576 and 0.0578.

This means that if the bot tries to place any random order it may fail. It would be nice if someone can let me know if they have seen their bot run into any errors when trading on Bittrex due to this change recently. Thanks!

WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying.

After bot trade SYS coin, I get cyclic messages:

WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying.

Bot not writed info about it trade in P&L. Before, there was such a problem.

09:13:05: TRADING SYS-BTC FROM BITTREX TO POLONIEX

= FUNDS ============================================
     SOURCE :     0.04648438 BTC
     TARGET :   130.31071456 SYS

= SIMULATION =======================================
 TARGET MAX :   130.31071456
 SOURCE MAX :   219.72019391
   BUY RATE :     0.00003468
 BUY AMOUNT :   130.31071456
  BUY PRICE :     0.00453047
  SELL RATE :     0.00003500
SELL AMOUNT :   130.31051456
 SELL PRICE :     0.00454947
     PROFIT :     0.00001899

= TRADE ============================================
 SELL ORDER : 130.31051456 SYS @ 0.00003412 BTC
  BUY ORDER : 130.31071456 SYS @ 0.00003555 BTC


09:13:07: Placed sell order (POLONIEX ID: BTC_SYS:24102392573)
09:13:08: Placed buy order (BITTREX ID: 6a968d42-0866-4980-aa1e-79a1540bed49)
09:13:08: Waiting for order execution...
09:14:08: [POLONIEX] Cancelling order BTC_SYS:24102392573
09:14:08: [BITTREX] Cancelling order 6a968d42-0866-4980-aa1e-79a1540bed49
09:14:09: Checking trade results (1)...
09:14:09: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:09: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:10: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:10: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:11: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:11: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:11: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:12: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:12: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:12: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:13: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:13: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:17: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:17: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:18: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:18: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:19: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:19: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:20: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:20: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:21: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:21: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:22: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:22: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:23: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:23: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:23: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:23: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:24: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:24: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:25: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:25: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:26: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:26: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:26: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:26: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:34: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:34: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:36: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:36: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:45: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:45: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:46: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:46: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:47: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:47: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:48: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:48: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:48: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:48: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:49: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:49: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:50: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:50: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:51: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:51: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
09:14:53: Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)
09:14:53: WARNING: not reciving all buy trades from the exchange in time, waiting a bit and retrying...
SlowTimer [2023ms] at runtime/ext_mysql: slow query: INSERT INTO log (message, created) VALUES ('Received 470.31071456 SYS from the exchange while our wallets show a balance difference of 130.31071456 (130.31071456 - 0.00000000 finished deposits)', 1513934101);

Some questions

Hello everybody,

@cryptoeax can you help me ?

  1. The parameter max-tx-fee-allowed is a value in BTC ?
  2. The profit is always negative for me:
    12:19:35: TRADING EMC2-BTC FROM POLONIEX TO BITTREX

= FUNDS ============================================
SOURCE : XXXXXXXX BTC
TARGET : 0.00000000 EMC2

= SIMULATION =======================================
TARGET MAX : 0.00000000
SOURCE MAX : 18.65791246
BUY RATE : 0.00013400
BUY AMOUNT : 0.00000000
BUY PRICE : 0.00000000
SELL RATE : 0.00014499
SELL AMOUNT : -0.01000000
SELL PRICE : -0.00000145
PROFIT : -0.00000145

NOT ENTERING TRADE: REQUIRING MORE EMC2

Is it normal ? I have always REQUIRING MORE $tradeable.

  1. When the bot wrote Bittrex vs Poloniex, does he look for opportunities also in the direction of Poloniex vs. Bittrex?

Thank you very much for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.