cryptum 0.0.322 → 0.0.323

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: 8ea4631099b7ad8ff94d00136248b662803cfba132ab021303bea8964f89dc78
4
- data.tar.gz: efa2d3a350d174059f33ce86b6f3d04a6dce885b4c5b7649a185d2c13607c5a4
3
+ metadata.gz: e522f21a65cef1a50c40d23d8a8414bb497a0205e0bf146e74d9179c56a81ef0
4
+ data.tar.gz: 02a029b2056b507ce6d9aca8538a6697e7d12208b0f7d66fc35babdb9ea27cc3
5
5
  SHA512:
6
- metadata.gz: 0ed9f8234e09f5de2b916cd2769019427d2db893e3498e8e728b7e52b542d617f0766e2dce1d3ba73f7236330780bd306a403205918629beaf253feee0508366
7
- data.tar.gz: 3c87ccb59b8f82a553d7cb37261490610f979200e858b1892b07c300bf1314d13aafdeace8382562a7f313acc43c8edb27b2c91c8c0d2c4b7feab247d8856d29
6
+ metadata.gz: f3973aa9521539f46d831cc0677dce3684b76c5012670c0ea68b0348f1fd4729a823883f275d6ce35a241584c2d2704169c97b3eb87737c47bf5393a0a842343
7
+ data.tar.gz: c82fc92fa7f30b95220d032ebf5c64f1b475711cd94d5d2341eec49636576ef4e187ed231cd9a30e93cdd1adf5b5ec30ff111839c07cba481d0f687ae7f111a1
data/README.md CHANGED
@@ -9,7 +9,7 @@ The goal of cryptum is three-fold:
9
9
  - Grow asset portfolios.
10
10
 
11
11
  #### How ####
12
- Leveraging a timing algorithm based upon portfolio balances, market trends, and a duration of time, cryptum determines order size amounts to trickle-buy crytpo. Once a given buy order is filled, a limit sell order is submitted at a specific, fixed profit margin which can be defined by the user.
12
+ Leveraging multiple algorithms based upon portfolio balances, market trends / % margins of change, and a duration of time, cryptum determines order size amounts to trickle-buy crytpo. Once a given buy order is filled, a limit sell order is submitted at a specific, fixed profit margin which can be defined by the user.
13
13
 
14
14
  ### **Installation** ###
15
15
  Tested on Linux, & OSX leveraging Ruby via RVM.
@@ -22,17 +22,17 @@ $ gem install --verbose cryptum
22
22
  $ cryptum --help
23
23
  ```
24
24
 
25
- - Create a Local Cryptum Config Folder
25
+ - Create a Local Cryptum Session Folder
26
26
  ```
27
27
  $ mkdir -p ~/cryptum/order_books
28
28
  ```
29
29
 
30
- - Copy the Gem etc to the Local Config Folder
30
+ - Copy the cryptum Gem's etc Folder to the Local Session Folder
31
31
  ```
32
32
  $ cp -a $(ruby -r cryptum -e 'puts "#{Gem.path.first}/gems/cryptum-#{Cryptum::VERSION}/etc"') ~/cryptum
33
33
  ```
34
34
 
35
- - Copy coinbase_pro.yaml.EXAMPLE to the Local Config Folder
35
+ - Copy coinbase_pro.yaml.EXAMPLE to the Local Session Folder
36
36
  ```
37
37
  $ cp ~/cryptum/etc/coinbase_pro.yaml.EXAMPLE \
38
38
  ~/cryptum/etc/coinbase_pro.yaml
@@ -11,107 +11,6 @@ module Cryptum
11
11
  autoload :MarketTrend, 'cryptum/order_book/market_trend'
12
12
  autoload :ProfitMargin, 'cryptum/order_book/profit_margin'
13
13
 
14
- # Supported Method Parameters::
15
- # Cryptum::OrderBook.get_populated_indicators(
16
- # indicator_status: 'required - indicator_status object instantiated via Cryptum::OrderBook::Indicators'
17
- # )
18
- public_class_method def self.get_populated_indicators(opts = {})
19
- indicator_status = opts[:indicator_status]
20
-
21
- indicator_type_hash = {}
22
- indicator_type_hash[:trend_indicator_arr] = []
23
- trend_indicator_arr = indicator_type_hash[:trend_indicator_arr]
24
-
25
- indicator_type_hash[:health_indicator_arr] = []
26
- health_indicator_arr = indicator_type_hash[:health_indicator_arr]
27
-
28
- if indicator_status.order_trend
29
- trend_indicator_arr.push(
30
- indicator_status.order_trend
31
- )
32
- end
33
-
34
- if indicator_status.weighted_avg
35
- health_indicator_arr.push(
36
- indicator_status.weighted_avg
37
- )
38
- end
39
-
40
- if indicator_status.profit_margin
41
- health_indicator_arr.push(
42
- indicator_status.profit_margin
43
- )
44
- end
45
-
46
- indicator_type_hash
47
- rescue StandardError => e
48
- raise e
49
- end
50
-
51
- # Supported Method Parameters::
52
- # base_currency_overrides = Cryptum::OrderBook.base_currency_overrides
53
- public_class_method def self.base_currency_overrides
54
- %i[
55
- 1inch
56
- aave
57
- ada
58
- amp
59
- ankr
60
- bal
61
- band
62
- bat
63
- bnt
64
- bond
65
- cgld
66
- chz
67
- clv
68
- comp
69
- crv
70
- ctsi
71
- dot
72
- enj
73
- farm
74
- fet
75
- fil
76
- forth
77
- grt
78
- gtc
79
- icp
80
- keep
81
- lpt
82
- lrc
83
- mana
84
- mask
85
- matic
86
- mir
87
- mkr
88
- mln
89
- nkn
90
- nmr
91
- nu
92
- ogn
93
- poly
94
- qnt
95
- ren
96
- rly
97
- shib
98
- skl
99
- snx
100
- sol
101
- storj
102
- sushi
103
- trb
104
- tribe
105
- uma
106
- uni
107
- wbtc
108
- yfi
109
- zrx
110
- ]
111
- rescue StandardError => e
112
- raise e
113
- end
114
-
115
14
  # Display Usage for this Module
116
15
  public_class_method def self.help
117
16
  constants.sort
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.322'
4
+ VERSION = '0.0.323'
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.322
4
+ version: 0.0.323
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.