cryptum 0.0.368 → 0.0.369
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -2
- 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: 9ed959d6a719c0dc5e539ad655322b11f8715446ad1d31de3db1fb3d41d3d29d
|
4
|
+
data.tar.gz: 063ca1ad64feb695e18bad93156135822fec52357512e5f0897811ef6a12dc4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d56c5ce5fe4c505c3c83953ae5d527ff1f71f2d2e8e401e25adadfe2fa52cb78e70e61a42d18928bc2d7a122327f1d3a346318e47b8436d2e36bd0a82662ea3f
|
7
|
+
data.tar.gz: d1fb38a20d263601dd487f32b0e374f1d679122d39290f2cc1800b662e907824df5218667f14fb7636654587fbeed5d691dcd773a9ec8b5298cbb99218590c44
|
data/README.md
CHANGED
@@ -57,14 +57,54 @@ $ vi ~/cryptum/etc/open_ai.yaml
|
|
57
57
|
|
58
58
|
|
59
59
|
### **Usage** ###
|
60
|
-
|
61
60
|
```
|
62
61
|
$ rvm use ruby-<VERSION>@cryptum
|
63
62
|
$ cryptum --help
|
63
|
+
USAGE: cryptum [opts]
|
64
|
+
-s, --symbol=SYMBOL <Required - Crypto Symbol.(e.g. btc-usd, eth-usd, etc.)
|
65
|
+
-A, --[no-]autotrade <Optional - Automatically Buy and Sell Crypto>
|
66
|
+
-l, --[no-]list-products <Optional - List Supported Crypto Currency Products and Exit>
|
67
|
+
-p, --proxy=PROXY <Optional - HTTP Proxy e.g. "http://127.0.0.1:8080">
|
68
|
+
-R <Optional - Reset Timers / Market Trend Stats at Session Init (Defaults to false)>
|
69
|
+
--[no-]reset-session-countdown
|
70
|
+
-r, --session-root=PATH <Optional - Directory with etc && order_books (Defaults to ~/cryptum)>
|
71
|
+
-S, --[no-]sandbox <Optional - Use Coinbase Sandbox Environment for Testing Ideas>
|
72
|
+
-tSECONDS, <Optional - Seconds Between Market Trend Reset (Default 60 i.e. 1 hour)>
|
73
|
+
--time-between-market-trend-reset
|
74
|
+
|
75
|
+
$ cryptum --symbol btc-usd \
|
76
|
+
--autotrade \
|
77
|
+
--session-root ~/cryptum \
|
78
|
+
--time-between-market-trend-reset 86_400
|
79
|
+
```
|
80
|
+
|
81
|
+
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:
|
82
|
+
```
|
64
83
|
$ cryptum --symbol btc-usd \
|
65
84
|
--autotrade \
|
66
|
-
--session-root ~/cryptum
|
85
|
+
--session-root ~/cryptum \
|
86
|
+
--time-between-market-trend-reset 14_400
|
87
|
+
```
|
88
|
+
|
89
|
+
Possible values for market trend reset are:
|
67
90
|
```
|
91
|
+
604_800 => 1 week
|
92
|
+
86_400 => 1 day
|
93
|
+
14_400 => 4 hours
|
94
|
+
10_800 => 3 hours
|
95
|
+
7_200 => 2 hours
|
96
|
+
3_600 => 1 hour
|
97
|
+
2_700 => 45 minutes
|
98
|
+
1_800 => 30 minutes
|
99
|
+
900 => 15 minutes
|
100
|
+
300 => 5 minutes
|
101
|
+
180 => 3 minutes
|
102
|
+
60 => 1 minute
|
103
|
+
```
|
104
|
+
|
105
|
+
If you choose a lower value than the default, the target profit margin's (i.e. TPM) will also be reduced (assuming the TPM is still higher than Maker + Taker fees). This may be desireable - although TPM is reduced, trading volume should increase resulting in better Maker & Taker fee tiers (i.e. lower cost / trade).
|
106
|
+
|
107
|
+
Another option (particularly useful with smaller balances) is bumping the market trend reset to 604800 (i.e. 1 week) which will immediately increase the TPM %'s. The downside to this approach is trading volume is reduced, resulting in higher maker & taker fee tiers (i.e. higher cost / trade).
|
68
108
|
|
69
109
|
From an error monitoring perspective, they can be monitored via:
|
70
110
|
```
|
data/lib/cryptum/version.rb
CHANGED