Commit graph

86 commits

Author SHA1 Message Date
Frantisek Mantlik
46d40cd75c trading: wrong balance fields for Cryptopia (#323)
Fixing a typo in balance update:
$market->balance was updated by $balance->HeldForTrades but should be $balance-.Available
This caused properly updated balance in previous loop to be overwritten by wrong value.
2018-10-09 02:49:43 +02:00
Tanguy Pruvot
c5b1a57be2 crex24: private api query, update balances 2018-09-11 14:39:19 +02:00
phm87
c25d7b9b77 markets: bit-z ticker api (#288) 2018-08-10 14:44:57 +02:00
Tanguy Pruvot
2f6d74d90a trading: auto set bittrex and bleutrade withdraw tx fee 2018-04-03 11:52:45 +02:00
Tanguy Pruvot
2dccc579cf markets: handle cryptobridge ticker 2018-02-28 20:56:08 +01:00
Tanguy Pruvot
0f04d6d824 balances: fill the btc 'onsell' field too (locked)
and restore bitstamp & cexio behavior to act like other trading exchanges

todo: kraken if possible... real pain, need to parse open orders..
2018-01-27 06:16:27 +01:00
Tanguy Pruvot
4e5fbb4939 cexio: include btc in orders for the balance
to do like bitstamp...
2018-01-25 00:33:10 +01:00
Tanguy Pruvot
b760beaad3 binance: update balances
deposit addresses seems missing in their api
2018-01-14 21:00:08 +01:00
Tanguy Pruvot
accb3b4bd3 kucoin: daily check deposit addresses + typo on manual ticker update 2018-01-12 13:42:18 +01:00
crackfoo
9a0aedfacd bittrex: update min trade (#203) 2018-01-10 01:01:21 +01:00
Tanguy Pruvot
ab5e411529 kucoin exchange api + balances and icons
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-01-07 20:48:25 +01:00
Tanguy Pruvot
80c53c8a6e cryptopia: new default min_btc_trade and withdraw_fee_btc 2017-12-05 15:39:19 +01:00
Tanguy Pruvot
e68f8225e6 livecoin: implement manual coindb labels via their api
+ poloniex trading possible issue... for zpool
2017-09-07 21:41:31 +02:00
Alastair Clark
acae4fd872 Fix for Nova trading (#180)
Remove the check for poloniex or bittrex. Which stopped coins that also had polo or trex markets to fail to sell.
2017-09-05 17:22:58 +02:00
Tanguy Pruvot
646ea022eb api: coinsmarkets private api and balances
also disable some less used exchanges by default (alcurex, bter, jubi)
to toggle them, see the settings table (need disabled = 0)
2017-07-21 11:05:26 +02:00
Tanguy Pruvot
90577822a6 markets: handle hitbtc api and user's balances 2017-06-19 09:10:32 +02:00
Tanguy Pruvot
69a4859c56 markets: coinsmarkets public api, disabled by default 2017-06-18 08:11:09 +02:00
Tanguy Pruvot
209836e80a trading: update default withdrawal fees 2017-06-11 21:28:31 +02:00
Tanguy Pruvot
a2aaf2b9e0 markets: handle most other exchanges tickers 2017-05-28 20:10:29 +02:00
Tristian
0402b68fcd nova: trading fixes (#117)
* nova: loop through All orders and flush
* nova: fix CancelOrder
2017-05-18 17:39:03 +02:00
Tristian
7f49085c0e nova: fix order placement (#116)
check symbol2 when getting deposit addresses
check for bad server response
fix typos
2017-05-14 07:28:58 +02:00
Tristian
25aa694498 nova: update API to v2, get deposit addresses (#112)
- fix updateNovaMarkets
- slight refactor of trading to handle symbol2
- get deposit addresses
2017-05-12 06:16:57 +02:00
Tristian
9a6ece22cd Add Nova trading (#108) 2017-05-09 05:07:36 +02:00
Tristian
8904272d28 More livecoin trading commits (squashed)
* Fix LiveCoin never trades
* livecoin: json_decode handles booleans, compare as so
* livecoin: Remove redundant checks
* livecoin: Improve error handling
Fix: LiveCoin orders not being removed
* livecoin: remove redundant API call
* Fix LiveCoin balance updates
* use array()
2017-03-31 20:38:07 +02:00
Tristian
527a9c8142 Fix some LiveCoin error checking (#100)
* Fix some LiveCoin error checking
* Correct LiveCoin withdrawl fee
* Fix typo in LiveCoin trading call
* Log returned data not address (fixed)
2017-03-30 07:19:31 +02:00
Tristian
b4bd34a608 Add 'sellonbid' for Livecoin (#99)
* Add 'sellonbid' for Livecoin
* Remove extraneous bracket
* Upgrade Livecoin priority
* Remove duplicate variable name
2017-03-28 01:05:46 +02:00
Tristian
ef1cd062e1 Livecoin trading #68
Insert balance row if it is missing

use tabs + restore public api function for users without keys
2017-03-17 12:56:58 +01:00
Tanguy Pruvot
f9e7422653 exchanges: add livecoin markets and balances 2016-11-06 13:52:12 +01:00
Tanguy Pruvot
114001ab1b cleanup: drop dead exchanges code
cryptsy cryptomic(banx) and safecex
2016-10-22 00:52:32 +02:00
antho281
8afd54759c bleutrade: Update Withdrawal Fees
from 0.0002 BTC to 0.0005 BTC
2016-10-15 20:25:31 +02:00
Tanguy Pruvot
c5f328a601 poloniex: be more safe with balance api results
unsure how it was possible, but zpool reported this error
2016-05-17 22:00:15 +02:00
Tanguy Pruvot
035d3b3bf2 c-cex: upgrade to newer auth api (balances) 2016-05-12 17:24:01 +02:00
Tanguy Pruvot
6c8c6ce043 bitstamp: fix private api + getbalance 2016-04-27 12:08:41 +02:00
Tanguy Pruvot
b7c846c985 settings: link the exchange disable flag
+ apply settings to all exchanges

but remove the btc withdraw address from valid keys by default, security issue...
2016-04-27 11:12:38 +02:00
Tanguy Pruvot
7e0c9f69ce sql: settings table for exchange variables
only applied to bittrex as sample, default values are kept if unset.
2016-04-27 09:58:32 +02:00
crackfoo
15654cce6c bittrex: fix withdraw subtract tx fee from balance 2016-04-26 16:34:35 +02:00
Tanguy Pruvot
fac301fb93 cryptomic: finish renaming + kraken ask/bid check 2016-04-26 12:47:54 +02:00
Tanguy Pruvot
e816d5ce0c markets: always update markets if we have the data
Only require installed flag if a secondary api query is required

+ banx rename
+ kraken BTC/ALT markets fix, prices are 1/x
2016-04-25 12:49:13 +02:00
Tanguy Pruvot
009e97f311 nova: missing link to cron + url typo 2016-04-15 21:57:46 +02:00
Tanguy Pruvot
4ed942569a add nova exchange api 2016-04-15 21:32:36 +02:00
Tanguy Pruvot
187a5dcb85 trading: remove big markets checks + bter fix + balances 2016-04-15 18:40:50 +02:00
Tanguy Pruvot
9f431ec275 markets: improve disabled flag
disabled = 9 means permanent disable by admin (no more checked)
else, values 1 to 8 will depends on different cases... api down, low volume, etc

for the moment, only handle the autoswitch between 0 and 1 when the api reports an active state
2016-04-02 15:11:54 +02:00
Tanguy Pruvot
616e448228 wallet: link new market fields 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
f72ce04be1 markets: new fields + balances update 2016-04-02 15:11:53 +02:00
Tanguy Pruvot
294da52732 banx: rename to cryptomic (part 2) 2016-04-02 15:06:37 +02:00
JarBinks
a5450584e0 safecex: fixing missing cancel order routines
I left these out of the last update. :-(
2016-04-02 14:48:21 +02:00
JarBinks
1a51a4f2ec cryptopia: bug fix in the cancel order function 2016-04-02 12:11:27 +02:00
crackfoo
c3f2e90c26 yobit: add auto withdraw BTC
fixed (tpruvot)
2016-04-01 10:55:29 +02:00
Tanguy Pruvot
06f397a357 cryptopia: double check orders api result in trading 2016-03-31 21:20:32 +02:00
JarBinks
46d1fe9a9a Exchange Order Cancel on Dashboard page 2016-03-31 10:05:41 +02:00