cryptum 0.0.374 → 0.0.375
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/cryptum/option.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77b1b6e404a5b14add7a262c2b04b370321d566bad8cb8d9fdac7a0e288437df
|
4
|
+
data.tar.gz: cbffd4853c9051aa098e18685b8e698c25d667078b84f709f90e432b528dafde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebb46350bedbd06367e60c55ef2f445d15bbaa2635e4cc2eada3e5c8679d5858c100eaea8e7a3144413683b87a451e45886446437dbbadf87126e13e1789f7ff
|
7
|
+
data.tar.gz: 6183a1a1104e5afce857e67116d0e533d6b07f6826bd3e876f26ce94dbe3f855777b7cd4ea829f396b7c30fd050a7125a6e7e859c4386cd9e876f1786dd57701
|
data/README.md
CHANGED
@@ -69,13 +69,16 @@ USAGE: cryptum [opts]
|
|
69
69
|
--[no-]reset-session-countdown
|
70
70
|
-r, --session-root=PATH <Optional - Directory with etc && order_books (Defaults to ~/cryptum)>
|
71
71
|
-S, --[no-]sandbox <Optional - Use Coinbase Sandbox Environment for Testing Ideas>
|
72
|
-
-tSECONDS, <Optional - Seconds Between Market Trend Reset (Default
|
72
|
+
-tSECONDS, <Optional - Seconds Between Market Trend Reset (Default 86_400 i.e. 1 day)>
|
73
73
|
--time-between-market-trend-reset
|
74
|
+
```
|
74
75
|
|
76
|
+
Example usage to trade on weekly instead of default daily:
|
77
|
+
```
|
75
78
|
$ cryptum --symbol btc-usd \
|
76
79
|
--autotrade \
|
77
80
|
--session-root ~/cryptum \
|
78
|
-
--time-between-market-trend-reset
|
81
|
+
--time-between-market-trend-reset 604_800
|
79
82
|
```
|
80
83
|
|
81
84
|
By default, cryptum resets the market trend (i.e. number of buys vs number of sells) every day (i.e. 86400 seconds). As Maker & Taker fees drop in value, it may be useful to change the market trend reset value to something lower:
|
data/lib/cryptum/option.rb
CHANGED
@@ -62,7 +62,7 @@ module Cryptum
|
|
62
62
|
options.on(
|
63
63
|
'-tSECONDS',
|
64
64
|
'--time-between-market-trend-reset=SECONDS',
|
65
|
-
'<Optional - Seconds Between Market Trend Reset (Default
|
65
|
+
'<Optional - Seconds Between Market Trend Reset (Default 86_400 i.e. 1 day)>'
|
66
66
|
) { |t| option_choice.market_trend_reset = t.to_i }
|
67
67
|
end.parse!
|
68
68
|
|
data/lib/cryptum/version.rb
CHANGED