cryptum 0.0.260 → 0.0.261

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: 4d516fc49952990a6873f6e2533dbc7853cc5a7b759bd36ecc9146635efd19e5
4
- data.tar.gz: af1d4ff1fdefc57021edb8894a54c932d1e28618b7fd7001eea8b73ef22fd7ea
3
+ metadata.gz: 4d760ea86d8e98005d157ecee37d0b52fbd89bc44bc5c093bac8201020dfee8c
4
+ data.tar.gz: e6e52346266ac38bf4f3e71535a17a6891388f27e06884985f35c7f09a957d6f
5
5
  SHA512:
6
- metadata.gz: 87b2644569e9931c657c9788fd4f8de94ad3ad4f79b0101db8c8a457fb243f3762db38cf5af780ad47e853c866bf675cef479569cc9782a0f9706bf1d73b7500
7
- data.tar.gz: db4817a4d481ec036126f5e7d69f4bc5d186c0eb0d9def78e2a2addcf08e86ab2907b3199ffd945ee564ed6e9a47f098d5a6ada396cc4db69e5e4f1a2cfdd7f3
6
+ metadata.gz: bffdfad77d1716fd242f4441a271066851c397fe44f3e3ec828b22bf8688236c98bd5b22d27e18da526c4c6bd445731351913eea9cb38b982216b459571a9fc5
7
+ data.tar.gz: dd2c16cbdb3ebdf0349cde5e5e9f4a08ad2f436bceed8994b44695ebbadec9552848e0a0ddb85da5dd408f9050b5ea5dbc598edeb7177cb705e034b952107e73
@@ -455,11 +455,11 @@ module Cryptum
455
455
  oh[:id] == meta[:buy_order_id]
456
456
  end
457
457
 
458
- buy_created_at = '__-__ __:__:__'
458
+ buy_created_at = '____-__-__ __:__:__'
459
459
  unless buy_created_at_hash_arr.empty?
460
460
  buy_created_at = Time.parse(
461
461
  buy_created_at_hash_arr.first[:created_at]
462
- ).strftime('%m-%d %H:%M:%S')
462
+ ).strftime('%Y-%m-%d %H:%M:%S')
463
463
  end
464
464
 
465
465
  invest = "$#{invest_out} @ "
@@ -469,7 +469,7 @@ module Cryptum
469
469
  targ_tick = "$#{target_price_out}"
470
470
  profit = "|Profit: $#{meta[:profit]}"
471
471
 
472
- order_exec_ln = "#{plan_no}#{buy_created_at}|#{invest}#{tick}#{size}#{tpm_out}#{targ_tick}#{profit}"
472
+ order_exec_ln = "#{buy_created_at}|#{invest}#{tick}#{size}#{tpm_out}#{targ_tick}#{profit}"
473
473
 
474
474
  order_execute_win.setpos(out_line_no, Cryptum::UI.col_first)
475
475
  order_execute_win.clrtoeol
@@ -492,7 +492,7 @@ module Cryptum
492
492
  string: ''.ljust(col_just1, ' ')
493
493
  )
494
494
 
495
- header_str = "SUMMARY: #{total_to_sell} | #{order_hist_meta_expired} Expired | #{order_hist_meta_sold} Sold | $#{gains_24h_out} Gained"
495
+ header_str = "24 HR SUMMARY | Open Sell Orders: #{total_to_sell} | Sold: #{order_hist_meta_sold} | Gains: $#{gains_24h_out} | Expired: #{order_hist_meta_expired}"
496
496
  order_execute_win.setpos(
497
497
  out_line_no,
498
498
  Cryptum::UI.col_center(str: header_str)
@@ -389,7 +389,7 @@ module Cryptum
389
389
  string: ''.ljust(col_just1, ' ')
390
390
  )
391
391
 
392
- header_str = "SUMMARY: $#{order_plan_volume_out} w #{max_order_plan_slices} Slices | $#{order_plan_profit_sum_out} 2 Gain | #{order_plan_exec_percent}% Done"
392
+ header_str = "CYCLE SUMMARY | Risk Allocated: $#{order_plan_volume_out} | Slices: #{max_order_plan_slices} | Profit: $#{order_plan_profit_sum_out} | #{order_plan_exec_percent}% Done"
393
393
  order_plan_win.setpos(
394
394
  out_line_no,
395
395
  Cryptum::UI.col_center(str: header_str)
@@ -36,7 +36,7 @@ module Cryptum
36
36
  open_24h = event[:open_24h].to_f
37
37
  order_book[:open_24h] = open_24h
38
38
 
39
- open_24h_out = "#{Cryptum.open_symbol} #{fiat_symbol}#{format("%0.#{fiat_smallest_decimal}f", open_24h)}"
39
+ open_24h_out = "#{Cryptum.open_symbol} #{fiat_symbol}#{Cryptum.beautify_large_number(value: format("%0.#{fiat_smallest_decimal}f", open_24h))}"
40
40
 
41
41
  beautify_ticker = Cryptum.beautify_large_number(
42
42
  value: format("%0.#{fiat_smallest_decimal}f", event[:price].to_f)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.260'
4
+ VERSION = '0.0.261'
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.260
4
+ version: 0.0.261
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.