cryptum 0.0.376 → 0.0.377

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: 043c3d94b013ab1e01ccf5364df8c0869b0bf8c90cafc7ca1d5f07c25319b769
4
- data.tar.gz: 25f1be8fd5c75b945029a73d4da3fcba37fe42bb986d3771690afd80f527ae68
3
+ metadata.gz: 1cecde8ef0c9a40d61c9d94636f63d3df09939d1b5baf9e8bbd59835813335d3
4
+ data.tar.gz: e7c3d2069f51de36184d6d0ecdbe5d02d3aa27d3e0f5c2b798b91423780c261f
5
5
  SHA512:
6
- metadata.gz: 43424ab77e95a32e2e2498ff6820d10aa33f75ba53ea0249336331c4b81bb05d8a6dbb8d3ab528f1bc5f112453af37169d0b14cff397966cf1bb57ddec0f0d57
7
- data.tar.gz: e103ba0857b45d83e6b59f6aa40f5085996eba804f6fa9ed962958745612bf384a3b3f5b183ba3f7dd512a953d27d798bc423048abcd848cec9674f66237e028
6
+ metadata.gz: e7c843bd5b558ce628c6bedf77b7f3126eddd44f92aae80318c4844847737c93797b4cdb0d0315cfe6608dc119648057bb32743fef9a1389368cbbe601a6a23c
7
+ data.tar.gz: 1d06c529c4dd3e2ad3583e3c247270392f2d8d9ecb704bb0dc7006ae7ef9b32d6d29c18bbcf99e56cd5b922d9c8a77a145600ca200cd0d114ea8cfdcc6a4d73f
data/README.md CHANGED
@@ -60,17 +60,16 @@ $ vi ~/cryptum/etc/open_ai.yaml
60
60
  ```
61
61
  $ rvm use ruby-<VERSION>@cryptum
62
62
  $ cryptum --help
63
+
63
64
  USAGE: cryptum [opts]
64
65
  -s, --symbol=SYMBOL <Required - Crypto Symbol.(e.g. btc-usd, eth-usd, etc.)
65
66
  -A, --[no-]autotrade <Optional - Automatically Buy and Sell Crypto>
66
67
  -l, --[no-]list-products <Optional - List Supported Crypto Currency Products and Exit>
67
68
  -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
69
+ -R, --[no-]reset-trend-countdown <Optional - Reset Market Trend Countdown at Session Init (Defaults to false)>
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 86_400 i.e. 1 day)>
73
- --time-between-market-trend-reset
72
+ -t, --trend-reset-time=SECONDS <Optional - Seconds Between Market Trend Reset (Default 86_400 i.e. 1 day)>
74
73
  ```
75
74
 
76
75
  Example usage to trade on weekly instead of default daily:
@@ -78,15 +77,15 @@ Example usage to trade on weekly instead of default daily:
78
77
  $ cryptum --symbol btc-usd \
79
78
  --autotrade \
80
79
  --session-root ~/cryptum \
81
- --time-between-market-trend-reset 604_800
80
+ --trend-reset-time 604_800
82
81
  ```
83
82
 
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:
83
+ 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 (e.g. 4 hours):
85
84
  ```
86
85
  $ cryptum --symbol btc-usd \
87
86
  --autotrade \
88
87
  --session-root ~/cryptum \
89
- --time-between-market-trend-reset 14_400
88
+ --trend-reset-time 14_400
90
89
  ```
91
90
 
92
91
  Possible values for market trend reset are:
@@ -61,7 +61,7 @@ module Cryptum
61
61
 
62
62
  options.on(
63
63
  '-tSECONDS',
64
- '--time-between-market-trend-reset=SECONDS',
64
+ '--trend-reset-time=SECONDS',
65
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!
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.376'
4
+ VERSION = '0.0.377'
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.376
4
+ version: 0.0.377
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.