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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a78297f3f507363560f8127ddbe5a801975c0d9741d0b06eb255260388cf9393
4
- data.tar.gz: 49279724c8c8bbda01f2a987f32f94fae70fddaa003941ff3a05dd7fd8bbbe0f
3
+ metadata.gz: 77b1b6e404a5b14add7a262c2b04b370321d566bad8cb8d9fdac7a0e288437df
4
+ data.tar.gz: cbffd4853c9051aa098e18685b8e698c25d667078b84f709f90e432b528dafde
5
5
  SHA512:
6
- metadata.gz: da4280d0b8c0d77526d999437e1643828cf00510722186d3c6408a679e1577c905956fb27ba2550ada2505af3baebd11f9242b73cf331467876f8589517b80fb
7
- data.tar.gz: f52c1f848a9fe79f6861c989e985e73d5797b90a860288d49d7f68a249e923872fffc7446545f46220eea8c1a20f6adccada401c97cb81fa1cf91dd8edb3af36
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 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:
@@ -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.375'
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.375
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.