cryptum 0.0.374 → 0.0.376

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a78297f3f507363560f8127ddbe5a801975c0d9741d0b06eb255260388cf9393
4
- data.tar.gz: 49279724c8c8bbda01f2a987f32f94fae70fddaa003941ff3a05dd7fd8bbbe0f
3
+ metadata.gz: 043c3d94b013ab1e01ccf5364df8c0869b0bf8c90cafc7ca1d5f07c25319b769
4
+ data.tar.gz: 25f1be8fd5c75b945029a73d4da3fcba37fe42bb986d3771690afd80f527ae68
5
5
  SHA512:
6
- metadata.gz: da4280d0b8c0d77526d999437e1643828cf00510722186d3c6408a679e1577c905956fb27ba2550ada2505af3baebd11f9242b73cf331467876f8589517b80fb
7
- data.tar.gz: f52c1f848a9fe79f6861c989e985e73d5797b90a860288d49d7f68a249e923872fffc7446545f46220eea8c1a20f6adccada401c97cb81fa1cf91dd8edb3af36
6
+ metadata.gz: 43424ab77e95a32e2e2498ff6820d10aa33f75ba53ea0249336331c4b81bb05d8a6dbb8d3ab528f1bc5f112453af37169d0b14cff397966cf1bb57ddec0f0d57
7
+ data.tar.gz: e103ba0857b45d83e6b59f6aa40f5085996eba804f6fa9ed962958745612bf384a3b3f5b183ba3f7dd512a953d27d798bc423048abcd848cec9674f66237e028
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 60 i.e. 1 hour)>
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 86_400
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:
@@ -43,8 +43,8 @@ module Cryptum
43
43
 
44
44
  options.on(
45
45
  '-R',
46
- '--[no-]reset-session-countdown',
47
- '<Optional - Reset Timers / Market Trend Stats at Session Init (Defaults to false)>'
46
+ '--[no-]reset-trend-countdown',
47
+ '<Optional - Reset Market Trend Countdown at Session Init (Defaults to false)>'
48
48
  ) { |t| option_choice.reset_session_countdown = t }
49
49
 
50
50
  options.on(
@@ -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 60 i.e. 1 hour)>'
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.374'
4
+ VERSION = '0.0.376'
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.374
4
+ version: 0.0.376
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.