File tree Expand file tree Collapse file tree 10 files changed +11
-230
lines changed Expand file tree Collapse file tree 10 files changed +11
-230
lines changed Original file line number Diff line number Diff line change 1+ 2.0.0
2+ - Removes rest/v2 pulse functions
3+ - Fixes rest/v2 margin & funding info functions
4+ - Fixes rest/v2 offers function
5+
161.1.0
27- Bump dependencies for ruby 3.x
38- Replace faraday_adapter_socks with custom class
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
55Gem ::Specification . new do |spec |
66 spec . name = 'bitfinex-rb'
7- spec . version = '1.1 .0'
7+ spec . version = '2.0 .0'
88 spec . authors = [ 'Bitfinex' ]
99 spec . email = [ '[email protected] ' ] 1010 spec . summary = %q{Bitfinex API Wrapper}
1111 spec . description = %q{Official Bitfinex API ruby wrapper}
1212 spec . homepage = 'https://www.bitfinex.com/'
1313 spec . license = 'MIT'
1414
15- spec . files = Dir [ 'lib/**/*' ]
15+ spec . files = Dir [ 'lib/**/*' ]
1616 spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
1717 spec . require_paths = [ 'lib' ]
1818
Original file line number Diff line number Diff line change 4646* ` :wallet_snapshot `
4747* ` :wallet_update `
4848* ` :balance_update `
49- * ` :marign_info_update `
49+ * ` :margin_info_update `
5050* ` :funding_info_update `
5151* ` :funding_trade_entry `
5252* ` :funding_trade_update `
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3737require_relative './models/trading_ticker'
3838require_relative './models/user_info'
3939require_relative './models/wallet'
40- require_relative './models/pulse_profile'
41- require_relative './models/pulse'
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99require_relative './v2/wallet'
1010require_relative './v2/funding'
1111require_relative './v2/positions'
12- require_relative './v2/pulse'
1312
1413module Bitfinex
1514 class RESTv2
@@ -28,7 +27,6 @@ class RESTv2
2827 include Bitfinex ::RESTv2Wallet
2928 include Bitfinex ::RESTv2Funding
3029 include Bitfinex ::RESTv2Positions
31- include Bitfinex ::RESTv2Pulse
3230
3331 def initialize ( args = { } )
3432 self . api_endpoint = args [ :url ] ? "#{ args [ :url ] } /v2/" : "https://api.bitfinex.com/v2/"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module RESTv2Margin
66 # @example:
77 # client.offers
88 def offers
9- authenticated_post ( "auth/r/offers" ) . body
9+ authenticated_post ( "auth/r/funding/ offers" ) . body
1010 end
1111
1212 # Get account margin info
@@ -17,7 +17,7 @@ def offers
1717 # @example:
1818 # client.margin_info("tBTCUSD")
1919 def margin_info ( symbol = "base" )
20- authenticated_post ( "auth/r/margin/#{ symbol } " ) . body
20+ authenticated_post ( "auth/r/info/ margin/#{ symbol } " ) . body
2121 end
2222
2323 # Get account funding info
@@ -27,7 +27,7 @@ def margin_info(symbol = "base")
2727 # @example:
2828 # client.funding_info
2929 def funding_info ( symbol = "fUSD" )
30- authenticated_post ( "auth/r/funding/#{ symbol } " ) . body
30+ authenticated_post ( "auth/r/info/ funding/#{ symbol } " ) . body
3131 end
3232 end
3333end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments