cryptum 0.0.280 → 0.0.281

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: 99b8305a25439dced16901f0569fa4dd9a2cac394be0757f01796cb461ff3c63
4
+ data.tar.gz: 489296de373d30ff837f4a67ef1059a13f1b2646482f55db44a365dfb7c82145
5
5
  SHA512:
6
- metadata.gz: ad27f846924423c7b6615091591d4af8d9e8c13b6011f706f58fa7e3b619d37963d97fedf9d47db31e2b8f0c7f394f76cffc97f6a345e4f69a7c30ec095bd477
7
- data.tar.gz: 057a58470a7873ebe704740664c0f08c765f78870f212a82eb335475ac2d2dd1c637b97e037536ba2d87a3a02758a5d4829594b817678b79c7509e3114ef2eb9
6
+ metadata.gz: f37bb82b77e23f4341898a5dc4c629ad1517b281bcdb56ccd8eb4c34230de0fc5ec786054142ed8280c7782239c780ed0693fae3a88196b78c4605c9937c347d
7
+ data.tar.gz: 24a53cf5141f675308efca558149fbdbaea99587de3ae701ab063cfff5c21f16e4ccd9d10928e592c8e337fc033de2d08f78d12d14d507c0809f7a37d8b537dd
@@ -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.281'
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.281
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.