forked from askmike/gekko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exchanges.js
68 lines (67 loc) · 2.07 KB
/
exchanges.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// what kind of exchange does Gekko support?
//
// Required parameters per exchange.
//
// name: Proper name of the exchange
// slug: slug name of the exchange (needs to match filename in `gekko/exchanges/`)
// direct: does this exchange support MKT orders?
// infinityOrder: is this an exchange that supports infinity
// orders? (which means that it will accept orders bigger then
// the current balance and order at the full balance instead)
// currencies: all the currencies supported by the exchange
// implementation in gekko.
// assets: all the assets supported by the exchange implementation
// in gekko.
//
// monitorError: if Gekko is currently not able to monitor this exchange, please set it
// to an URL explaining the problem.
// tradeError: If gekko is currently not able to trade at this exchange, please set it
// to an URL explaining the problem.
var exchanges = [
{
name: 'MtGox',
slug: 'mtgox',
direct: true,
infinityOrder: true,
currencies: [
'USD', 'EUR', 'GBP', 'AUD', 'CAD', 'CHF', 'CNY',
'DKK', 'HKD', 'PLN', 'RUB', 'SGD', 'THB'
],
assets: ['BTC'],
requires: ['key', 'secret'],
minimalOrder: { amount: 0.01, unit: 'asset' }
},
{
name: 'BTC-e',
slug: 'btce',
direct: false,
infinityOrder: false,
currencies: ['USD', 'RUR', 'EUR'],
assets: ['BTC'],
requires: ['key', 'secret'],
minimalOrder: { amount: 0.01, unit: 'asset' }
},
{
name: 'Bitstamp',
slug: 'bitstamp',
direct: false,
infinityOrder: false,
currencies: ['USD'],
assets: ['BTC'],
requires: ['key', 'secret', 'username'],
minimalOrder: { amount: 1, unit: 'currency' },
tradeError: 'https://github.com/askmike/gekko/issues/38#issuecomment-29552100'
},
{
name: 'CEX.io',
slug: 'cexio',
direct: false,
infinityOrder: false,
currencies: ['BTC'],
assets: ['GHS'],
requires: ['key', 'secret', 'username'],
minimalOrder: { amount: 0.000001, unit: 'currency' },
monitorError: 'https://github.com/askmike/gekko/issues/90'
}
];
module.exports = exchanges;