cryptum 0.0.368 → 0.0.369

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -2
  3. data/lib/cryptum/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6b1a1f3adfd5488b1f51f2d288255b663cfd9bf6c516e77cec6e2d49c77da69
4
- data.tar.gz: 14df82d2294151953337624cbce1bfffa6ad0af7ebc120625013d5c6c323713d
3
+ metadata.gz: 9ed959d6a719c0dc5e539ad655322b11f8715446ad1d31de3db1fb3d41d3d29d
4
+ data.tar.gz: 063ca1ad64feb695e18bad93156135822fec52357512e5f0897811ef6a12dc4e
5
5
  SHA512:
6
- metadata.gz: 12ad2d6e7401156dd5b02c9c928ea743ca608249c9dc631bda47910a786c9864abbbdeba762ad693865b50f16a3c316fc41902af3105147822d9906d2822cdac
7
- data.tar.gz: 19173b3f98cbe0a063248aa0a7a3f8906dd85893e3fde9372e6529f53de5dc4ffe6ad89fc5c1aa1a9576a89c7c8ffb3e12f8667656f031c05bbde4c79cb4b997
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
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.368'
4
+ VERSION = '0.0.369'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.368
4
+ version: 0.0.369
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.