cryptum 0.0.328 → 0.0.330

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: d537b32fc50af720ce0cc67974757c859bc0806c61e08b67767965b8c09c6a07
4
- data.tar.gz: ea661892420f9088b105fa0b17bfd823066de3659b16dbd046f5b4944308a691
3
+ metadata.gz: d3a2741d859d2027bad2166baa33bf51cf3110e1926378dcd1a3280a95fd4a97
4
+ data.tar.gz: e611c452d7016a663b098f24ebfc66d163649cf6c8968362aa71b39a0700486d
5
5
  SHA512:
6
- metadata.gz: 8c227a272ba47900bc0edb859270adeeb4eef3e1673155660f7334ebb0c0ba2a0c55a1ba9bd03b6ef36a519360169d9c8e90fcc27346f7c36337fedcf329b2d7
7
- data.tar.gz: 3ae326daa9912a53cf8570fc205e3e7d9522d1efd08fa9a6ac9c35423e478fcc18039ee0ce6ae17574ad118b22c8e60300b4a34c0cbc8f31ccb19f62ac61fa67
6
+ metadata.gz: 116600bd6e3e8ed4f4f6da284cc1e29d8b55a891d64aaa47a7e9fed1e32343ae6aa2b99f2badee7e32b06e6117ee5b8201312ddaaeaf300f97f88042cfdfeef0
7
+ data.tar.gz: 93ae969032e900b3acfad8964f11c5dde7694e83ae692fc699822e844b3101eada07386f0dd8453ee7580ccd84de3d9fdb34d2a7749d41e802a65406578373f6
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.1.3
data/lib/cryptum/event.rb CHANGED
@@ -5,18 +5,31 @@ require 'logger'
5
5
  module Cryptum
6
6
  # This plugin is used to parse Coinbase Pro Web Socket Events in the HTTP Response
7
7
  module Event
8
- autoload :BotConf, 'cryptum/event/bot_conf'
9
- autoload :Buy, 'cryptum/event/buy'
10
- autoload :Cancel, 'cryptum/event/cancel'
11
- autoload :Exit, 'cryptum/event/exit'
12
- autoload :GTFO, 'cryptum/event/gtfo'
13
- autoload :History, 'cryptum/event/history'
14
- autoload :KeyPress, 'cryptum/event/key_press'
15
- autoload :OrderBook, 'cryptum/event/order_book'
16
- autoload :Pane, 'cryptum/event/pane'
17
- autoload :Parse, 'cryptum/event/parse'
18
- autoload :Scroll, 'cryptum/event/scroll'
19
- autoload :Sell, 'cryptum/event/sell'
8
+ require 'cryptum/event/bot_conf'
9
+ require 'cryptum/event/buy'
10
+ require 'cryptum/event/cancel'
11
+ require 'cryptum/event/exit'
12
+ require 'cryptum/event/gtfo'
13
+ require 'cryptum/event/history'
14
+ require 'cryptum/event/key_press'
15
+ require 'cryptum/event/order_book'
16
+ require 'cryptum/event/pane'
17
+ require 'cryptum/event/parse'
18
+ require 'cryptum/event/scroll'
19
+ require 'cryptum/event/sell'
20
+
21
+ # autoload :BotConf, 'cryptum/event/bot_conf'
22
+ # autoload :Buy, 'cryptum/event/buy'
23
+ # autoload :Cancel, 'cryptum/event/cancel'
24
+ # autoload :Exit, 'cryptum/event/exit'
25
+ # autoload :GTFO, 'cryptum/event/gtfo'
26
+ # autoload :History, 'cryptum/event/history'
27
+ # autoload :KeyPress, 'cryptum/event/key_press'
28
+ # autoload :OrderBook, 'cryptum/event/order_book'
29
+ # autoload :Pane, 'cryptum/event/pane'
30
+ # autoload :Parse, 'cryptum/event/parse'
31
+ # autoload :Scroll, 'cryptum/event/scroll'
32
+ # autoload :Sell, 'cryptum/event/sell'
20
33
 
21
34
  # Display Usage for this Module
22
35
 
@@ -7,7 +7,8 @@ module Cryptum
7
7
  # Cryptum::UI Module used for Presenting the
8
8
  # Cryptum Curses Interface
9
9
  module Option
10
- autoload :Choice, 'cryptum/option/choice'
10
+ require 'cryptum/option/choice'
11
+ # autoload :Choice, 'cryptum/option/choice'
11
12
 
12
13
  # Options for cryptum Driver
13
14
  public_class_method def self.parser(opts = {})
@@ -6,10 +6,15 @@ require 'logger'
6
6
  module Cryptum
7
7
  # This module is used to define the Order Book Data Structure
8
8
  module OrderBook
9
- autoload :Generate, 'cryptum/order_book/generate'
10
- autoload :Indicator, 'cryptum/order_book/indicator'
11
- autoload :MarketTrend, 'cryptum/order_book/market_trend'
12
- autoload :ProfitMargin, 'cryptum/order_book/profit_margin'
9
+ require 'cryptum/order_book/generate'
10
+ require 'cryptum/order_book/indicator'
11
+ require 'cryptum/order_book/market_trend'
12
+ require 'cryptum/order_book/profit_margin'
13
+
14
+ # autoload :Generate, 'cryptum/order_book/generate'
15
+ # autoload :Indicator, 'cryptum/order_book/indicator'
16
+ # autoload :MarketTrend, 'cryptum/order_book/market_trend'
17
+ # autoload :ProfitMargin, 'cryptum/order_book/profit_margin'
13
18
 
14
19
  # Display Usage for this Module
15
20
  public_class_method def self.help
@@ -5,7 +5,8 @@ require 'logger'
5
5
  module Cryptum
6
6
  # This plugin is used to instantiate a Cryptum logger with a custom message format
7
7
  module Portfolio
8
- autoload :Balance, 'cryptum/portfolio/balance'
8
+ require 'cryptum/portfolio/balance'
9
+ # autoload :Balance, 'cryptum/portfolio/balance'
9
10
 
10
11
  # Display Usage for this Module
11
12
  public_class_method def self.help
data/lib/cryptum/ui.rb CHANGED
@@ -7,18 +7,31 @@ module Cryptum
7
7
  # Cryptum::UI Module used for Presenting the
8
8
  # Cryptum Curses Interface
9
9
  module UI
10
- autoload :KeyPressEvent, 'cryptum/ui/key_press_event'
11
- autoload :TerminalWindow, 'cryptum/ui/terminal_window'
12
- autoload :Ticker, 'cryptum/ui/ticker'
13
- autoload :Portfolio, 'cryptum/ui/portfolio'
14
- autoload :OrderPlan, 'cryptum/ui/order_plan'
15
- autoload :OrderPlanDetails, 'cryptum/ui/order_plan_details'
16
- autoload :OrderTimer, 'cryptum/ui/order_timer'
17
- autoload :MarketTrend, 'cryptum/ui/market_trend'
18
- autoload :SignalEngine, 'cryptum/ui/signal_engine'
19
- autoload :OrderExecution, 'cryptum/ui/order_execution'
20
- autoload :OrderExecuteDetails, 'cryptum/ui/order_execute_details'
21
- autoload :Command, 'cryptum/ui/command'
10
+ require 'cryptum/ui/key_press_event'
11
+ require 'cryptum/ui/terminal_window'
12
+ require 'cryptum/ui/ticker'
13
+ require 'cryptum/ui/portfolio'
14
+ require 'cryptum/ui/order_plan'
15
+ require 'cryptum/ui/order_plan_details'
16
+ require 'cryptum/ui/order_timer'
17
+ require 'cryptum/ui/market_trend'
18
+ require 'cryptum/ui/signal_engine'
19
+ require 'cryptum/ui/order_execution'
20
+ require 'cryptum/ui/order_execute_details'
21
+ require 'cryptum/ui/command'
22
+
23
+ # autoload :KeyPressEvent, 'cryptum/ui/key_press_event'
24
+ # autoload :TerminalWindow, 'cryptum/ui/terminal_window'
25
+ # autoload :Ticker, 'cryptum/ui/ticker'
26
+ # autoload :Portfolio, 'cryptum/ui/portfolio'
27
+ # autoload :OrderPlan, 'cryptum/ui/order_plan'
28
+ # autoload :OrderPlanDetails, 'cryptum/ui/order_plan_details'
29
+ # autoload :OrderTimer, 'cryptum/ui/order_timer'
30
+ # autoload :MarketTrend, 'cryptum/ui/market_trend'
31
+ # autoload :SignalEngine, 'cryptum/ui/signal_engine'
32
+ # autoload :OrderExecution, 'cryptum/ui/order_execution'
33
+ # autoload :OrderExecuteDetails, 'cryptum/ui/order_execute_details'
34
+ # autoload :Command, 'cryptum/ui/command'
22
35
 
23
36
  # Initialize the UI
24
37
  public_class_method def self.init
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.328'
4
+ VERSION = '0.0.330'
5
5
  end
@@ -4,8 +4,11 @@ module Cryptum
4
4
  # This plugin is used to Establish a Web
5
5
  # Socket Connection with Coinbase
6
6
  module WebSock
7
- autoload :Coinbase, 'cryptum/web_sock/coinbase'
8
- autoload :EventMachine, 'cryptum/web_sock/event_machine'
7
+ require 'cryptum/web_sock/coinbase'
8
+ require 'cryptum/web_sock/event_machine'
9
+
10
+ # autoload :Coinbase, 'cryptum/web_sock/coinbase'
11
+ # autoload :EventMachine, 'cryptum/web_sock/event_machine'
9
12
 
10
13
  # Display Usage for this Module
11
14
 
data/lib/cryptum.rb CHANGED
@@ -1,29 +1,39 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'cryptum/version'
4
3
  require 'rbtrace'
5
4
  require 'yaml'
6
5
  require 'json'
7
6
  require 'fileutils'
8
7
  require 'tty-spinner'
9
-
10
8
  # Root-Level Namespace for cryptum
11
9
  module Cryptum
12
10
  $stdout.sync = true
13
11
  $stdout.flush
14
12
 
15
- autoload :API, 'cryptum/api'
16
- autoload :BotConf, 'cryptum/bot_conf'
17
- autoload :Event, 'cryptum/event'
18
- autoload :Indicator, 'cryptum/indicator'
19
- autoload :Log, 'cryptum/log'
20
- autoload :Matrix, 'cryptum/matrix'
21
- autoload :Option, 'cryptum/option'
22
- autoload :OrderBook, 'cryptum/order_book'
23
- autoload :Portfolio, 'cryptum/portfolio'
24
- autoload :ProbabilityEngine, 'cryptum/probability_engine'
25
- autoload :UI, 'cryptum/ui'
26
- autoload :WebSock, 'cryptum/web_sock'
13
+ require 'cryptum/api'
14
+ require 'cryptum/bot_conf'
15
+ require 'cryptum/event'
16
+ require 'cryptum/log'
17
+ require 'cryptum/matrix'
18
+ require 'cryptum/option'
19
+ require 'cryptum/order_book'
20
+ require 'cryptum/portfolio'
21
+ require 'cryptum/ui'
22
+ require 'cryptum/version'
23
+ require 'cryptum/web_sock'
24
+
25
+ # autoload :API, 'cryptum/api'
26
+ # autoload :BotConf, 'cryptum/bot_conf'
27
+ # autoload :Event, 'cryptum/event'
28
+ # autoload :Indicator, 'cryptum/indicator'
29
+ # autoload :Log, 'cryptum/log'
30
+ # autoload :Matrix, 'cryptum/matrix'
31
+ # autoload :Option, 'cryptum/option'
32
+ # autoload :OrderBook, 'cryptum/order_book'
33
+ # autoload :Portfolio, 'cryptum/portfolio'
34
+ # autoload :ProbabilityEngine, 'cryptum/probability_engine'
35
+ # autoload :UI, 'cryptum/ui'
36
+ # autoload :WebSock, 'cryptum/web_sock'
27
37
 
28
38
  public_class_method def self.bin
29
39
  File.join root, 'bin'
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.328
4
+ version: 0.0.330
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.