-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcfg.py
17 lines (17 loc) · 975 Bytes
/
cfg.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
api_key = # your coinbase api-key
api_secret = # your coinbase api secret
roy_version = "0.8.2" # version
period = 60 # seconds to ping for prices
pair = "BTC-EUR"
lengthOfMA = 120 # vector prices log
market_fees = 1.2 # coinbase per-transaction fee in dollars
min_profit_margin = 2 # minimum % increase before we sell out
strategy = "combined" # MACD, RSI, Combined
webserver = True # activate web server for report on http://localhost/index.html
interpolation = "yes" # lines become smooth
graphical = True # trace a chart of operation in
buy_sell_amount = 100 # Eur per Buy
buy_limit = 2 # maximum number of pachet of buy_sell_amount to buy
ignore_signals_after = 10 # ignore pending signals after a number of period s.
RSI_top_lim = 70 # RSI max thresold
RSI_down_lim = 30 # RSI min thresold