Repository navigation
Expand file tree
/
Copy pathinput.php
More file actions
94 lines (68 loc) · 2.73 KB
/
Copy pathinput.php
File metadata and controls
94 lines (68 loc) · 2.73 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
// ====================
// Define username and password array for logging into the site
// Example: array('your-username-here' => 'your-password-here');
// ====================
$login = array('' => '');
// ====================
// Public keys for paper wallets of BTC, ETH or LTC
// Add as many as you need, just make sure the syntax is the same for each line.
// Example: $publicKeyArrayBTC[] = 'your-public-key-here';
// ====================
$publicKeyArrayBTC[] = '';
$publicKeyArrayETH[] = '';
$publicKeyArrayLTC[] = '';
$publicKeyArrayLTC[] = '';
// ====================
// Starting rates that coins were bought for, in dollars. Paper for paper wallets, bitfinex for Bitfinex and binance for Binance
// Each line goes under either binance, bitfinex or paper, follow the syntax for each line.
// Example::'symbol-of-coin' => array('buyinrate' => 'your-rate-here')
// ====================
$buyinRates['binance'] = array(
'BTC' => array('buyinrate' => ''),
'ETH' => array('buyinrate' => ''),
'LTC' => array('buyinrate' => ''),
);
$buyinRates['bitfinex'] = array(
'BTC' => array('buyinrate' => ''),
'ETH' => array('buyinrate' => ''),
'LTC' => array('buyinrate' => ''),
);
$buyinRates['paper'] = array(
'BTC' => array('buyinrate' => ''),
'ETH' => array('buyinrate' => ''),
'LTC' => array('buyinrate' => '')
);
// ====================
// Target buyin costs for the coins you're watching. Enter the amount that you want to simulate buying them at
// Make sure to only add coins that are supported according to the 'Default settings' further below in this file
// Example 'symbol-of-coin' => array('buyinrate' => 'your-rate-here'),
// ====================
$buyinRates['watchlist'] = array(
'ADA' => array('buyinrate' => ''),
'NEO' => array('buyinrate' => ''),
'VET' => array('buyinrate' => '')
);
// ====================
// Default settings including:
// - The cryptocurrencies that will be used for the CoinMarketCap API calls - indicative of what is supported
// - Default settings for Binance trade fees for all coins and the fiat withdrawal fee
// ====================
$cryptoSymbols = 'ADA,BCH,BNB,BTC,EOS,ETH,FIL,LINK,LTC,MIOTA,NEO,TRX,XLM,XRP,XVG,VET';
$binanceFiatWithdrawalCost = '0.8';
$binanceTradeFeeResult = '0.001';
// ====================
// API Keys and Secret keys for Binance and Bitfinex
// ====================
$binanceApiKey = '';
$binanceSecretKey = '';
$bitfinexApiKey = '';
$bitfinexSecretKey = '';
// ====================
// API keys for OpenExchangeRates.org, Etherscan.io, Chainz.Cryptoid.info and CoinMarketCap
// ====================
$openExchangeRatesApiKey = '';
$etherScanApiKey = '';
$chainzCryptoidApiKey = '';
$coinMarketCapApiKey = '';
?>