cryptum 0.0.436 → 0.0.437

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: 78e5097bce59e7bd90fc84a90b797160708198257a80873063394f3df043ead3
4
- data.tar.gz: 138a10078e544af2ffc8627378986b2f9df06c7f360c45830385e12550ebab92
3
+ metadata.gz: c52559a0fe9d90cb03287578b9f91831b1dab36fdf53fc27da19872bdfdcfad1
4
+ data.tar.gz: adc165e7481a2feb7388c2ad62fc83fcd2f63909e2f14cf3d7eee2fcf3aed5e6
5
5
  SHA512:
6
- metadata.gz: 25a3d7bc40279ba899dc69e920aed71c0c2bb3687b466135ede510d96afac45fce58553483a9e143cf878f2a66e4ed93b8ba941dde0dd5cfa5e8e7751ef837d0
7
- data.tar.gz: 6610510ac42fce2aa362eb8447881154eb185169815c82de718dfd34f1e2474d50b59cb71ad09d70427c388112ec2c73bc778131e85ed93deb55195493c77f9a
6
+ metadata.gz: 79c8982aa42b247eb98d74379f29f9f772281724a67f82db957451f9c3dd3c11ded0c196c52ff18ae7c9d9bd8eafdc14d5e306adb573d7dafd536288d701f9cc
7
+ data.tar.gz: e505dfa66f8aa2690c4bdb509ecd4d09b1783d2da6f9c11114ec2587e31fdfe94ac808314ea1de473e33cd6520a5e710cf578426576f1110fa31d3a185901bbc
@@ -88,8 +88,8 @@ module Cryptum
88
88
  # limit order, force it to be slightly less
89
89
  last_order = order_history_meta.reverse.find { |o| o[:color] == 'yellow' }
90
90
  # lowest_selling_price = event_history.lowest_selling_price
91
- last_purchase_price = event_history.last_purchase_price
92
91
  event_history.last_purchase_price = last_order[:price].to_f if last_order
92
+ last_purchase_price = event_history.last_purchase_price
93
93
 
94
94
  limit_price = last_purchase_price - quote_increment.to_f if last_purchase_price.positive? && last_purchase_price < limit_price
95
95
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.436'
4
+ VERSION = '0.0.437'
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.436
4
+ version: 0.0.437
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.