cryptum 0.0.280 → 0.0.282

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: 8b7e5b4b12f22c90d12706f639b1e58a97789a8de8fc3ebc8191cf37a4874fa0
4
- data.tar.gz: 859098f14afce0affd6d1225ebc121e4e3f0f0b57b3c9df5fa41a94d10eaf5c6
3
+ metadata.gz: b68678cd4d82c2157cc18c4cfb329c25d9d35f059071ca6c413c0acdec2f11a7
4
+ data.tar.gz: 8eb8c32ae2681472f55dcd2bfe9e12882f6a664db9cd086cfc0e1a607eae4924
5
5
  SHA512:
6
- metadata.gz: ad27f846924423c7b6615091591d4af8d9e8c13b6011f706f58fa7e3b619d37963d97fedf9d47db31e2b8f0c7f394f76cffc97f6a345e4f69a7c30ec095bd477
7
- data.tar.gz: 057a58470a7873ebe704740664c0f08c765f78870f212a82eb335475ac2d2dd1c637b97e037536ba2d87a3a02758a5d4829594b817678b79c7509e3114ef2eb9
6
+ metadata.gz: ce8af07a2325e557d1db1935dca48ef099572473856476a039d9c227ebb864465866438f10eb0c5ffc4767bee3158f8ebc7f4ff31f58134203209d7418f4e69a
7
+ data.tar.gz: da58caa07fa6949c9c0ff46c76fec5b982c214e10dad4159bf29ea60dfc32af06a85718261ec96655d57465ac9b0770b2ef8ecc0a16b582828018ef4aeb156c8
@@ -70,12 +70,13 @@ module Cryptum
70
70
 
71
71
  ai_enabled = bot_conf[:artifical_intelligence]
72
72
  gross_tpm = bot_conf[:target_profit_margin_percent].to_f
73
+ order_history = event_history.order_book[:order_history]
74
+ order_history_meta = event_history.order_book[:order_history_meta]
73
75
 
76
+ # VERY EXPENSIVE
74
77
  # Only retain past 24 hours of
75
78
  # order history meta for bought, sold, and expired
76
79
  # keep open limit sell orders indefintely
77
- # order_history = event_history.order_book[:order_history]
78
- # order_history_meta = event_history.order_book[:order_history_meta]
79
80
  # before_twenty_four_hrs_ago = Time.now - 86_400
80
81
  # order_history_meta.delete_if do |ohm|
81
82
  # order_history.find do |oh|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.280'
4
+ VERSION = '0.0.282'
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.280
4
+ version: 0.0.282
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.