honeymaker 0.9.6 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8422e7bd9ca706db93dc783081ee0fa1d86b9d5b23bd3171e247b46f2b4e867f
4
- data.tar.gz: 34d7470095820548d22b98aaf1f041a6992dad46784d1c26713eb44deb1dba66
3
+ metadata.gz: 632a9bc63075c21713722ff28baece102104084e83a6b20675c7a0604c0a49e6
4
+ data.tar.gz: 4d2d63654b5fedd397945f72dd21eca95ca2762b1f658f73cf80b02cb1a7285b
5
5
  SHA512:
6
- metadata.gz: c328d78bd4523dadf18a69bd1fd63a32a2b87211921268c0b36814cac82e69bc68a54b418880665d5457c296fcfb87c185f09e51eb4f4ee7cf68243fc91b8a80
7
- data.tar.gz: fe5c701aefb06e1a9dd25dc17b2d5f382aec1b38e846ec560f82b87a67b222210b0de131f92d027fbbf1d381ace2cc3948c656b445789f2b45bfc726ad3957b4
6
+ metadata.gz: 3a5f15c7d5163ef0013998fa7cccb81aa661018ff65561d7d55e606c7e70969e4172fca70ec3cfdc1529ad03c4637c69b6bff2eefaa9586627710aefe15710a1
7
+ data.tar.gz: 15b53a301be6c936a90d3ac96c505ebe9946448783d07fbfb4832d5e294e6ca2cd44bd726e86f7fa34eda0074b1febf24142c2206f0e743d3edda9609e091f26
@@ -238,8 +238,8 @@ module Honeymaker
238
238
  def parse_order_status(status)
239
239
  case status
240
240
  when "init", "new" then :unknown
241
- when "partial_fill", "live" then :open
242
- when "full_fill" then :closed
241
+ when "partially_filled", "live" then :open
242
+ when "filled" then :closed
243
243
  when "cancelled" then :cancelled
244
244
  else :unknown
245
245
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Honeymaker
4
- VERSION = "0.9.6"
4
+ VERSION = "0.9.7"
5
5
  end
@@ -51,7 +51,7 @@ class Honeymaker::Clients::BitgetTest < Minitest::Test
51
51
 
52
52
  def test_get_order
53
53
  stub_connection(:get, { "code" => "00000", "data" => [{
54
- "orderId" => "123", "orderType" => "market", "side" => "buy", "status" => "full_fill",
54
+ "orderId" => "123", "orderType" => "market", "side" => "buy", "status" => "filled",
55
55
  "priceAvg" => "50000", "size" => "0.001", "baseVolume" => "0.001", "quoteVolume" => "50"
56
56
  }] })
57
57
  result = @client.get_order(order_id: "123")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeymaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deltabadger