File tree Expand file tree Collapse file tree 10 files changed +9
-237
lines changed Expand file tree Collapse file tree 10 files changed +9
-237
lines changed Original file line number Diff line number Diff line change
1
+ 1.2.0
2
+ - Removes rest/v2 pulse functions
3
+ - Fixes rest/v2 margin info functions
4
+
1
5
1.1.0
2
6
- Bump dependencies for ruby 3.x
3
7
- 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)
4
4
5
5
Gem ::Specification . new do |spec |
6
6
spec . name = 'bitfinex-rb'
7
- spec . version = '1.1 .0'
7
+ spec . version = '1.2 .0'
8
8
spec . authors = [ 'Bitfinex' ]
9
9
spec . email = [ '[email protected] ' ]
10
10
spec . summary = %q{Bitfinex API Wrapper}
11
11
spec . description = %q{Official Bitfinex API ruby wrapper}
12
12
spec . homepage = 'https://www.bitfinex.com/'
13
13
spec . license = 'MIT'
14
14
15
- spec . files = Dir [ 'lib/**/*' ]
15
+ spec . files = Dir [ 'lib/**/*' ]
16
16
spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
17
17
spec . require_paths = [ 'lib' ]
18
18
Original file line number Diff line number Diff line change 46
46
* ` :wallet_snapshot `
47
47
* ` :wallet_update `
48
48
* ` :balance_update `
49
- * ` :marign_info_update `
49
+ * ` :margin_info_update `
50
50
* ` :funding_info_update `
51
51
* ` :funding_trade_entry `
52
52
* ` :funding_trade_update `
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 37
37
require_relative './models/trading_ticker'
38
38
require_relative './models/user_info'
39
39
require_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 9
9
require_relative './v2/wallet'
10
10
require_relative './v2/funding'
11
11
require_relative './v2/positions'
12
- require_relative './v2/pulse'
13
12
14
13
module Bitfinex
15
14
class RESTv2
@@ -28,7 +27,6 @@ class RESTv2
28
27
include Bitfinex ::RESTv2Wallet
29
28
include Bitfinex ::RESTv2Funding
30
29
include Bitfinex ::RESTv2Positions
31
- include Bitfinex ::RESTv2Pulse
32
30
33
31
def initialize ( args = { } )
34
32
self . api_endpoint = args [ :url ] ? "#{ args [ :url ] } /v2/" : "https://api.bitfinex.com/v2/"
Original file line number Diff line number Diff line change 1
1
module Bitfinex
2
2
module RESTv2Margin
3
3
4
- # Get active offers
5
- #
6
- # @example:
7
- # client.offers
8
- def offers
9
- authenticated_post ( "auth/r/offers" ) . body
10
- end
11
-
12
4
# Get account margin info
13
5
# - if symbol is not specified return everything
14
6
#
@@ -17,7 +9,7 @@ def offers
17
9
# @example:
18
10
# client.margin_info("tBTCUSD")
19
11
def margin_info ( symbol = "base" )
20
- authenticated_post ( "auth/r/margin/#{ symbol } " ) . body
12
+ authenticated_post ( "auth/r/info/ margin/#{ symbol } " ) . body
21
13
end
22
14
23
15
# Get account funding info
@@ -27,7 +19,7 @@ def margin_info(symbol = "base")
27
19
# @example:
28
20
# client.funding_info
29
21
def funding_info ( symbol = "fUSD" )
30
- authenticated_post ( "auth/r/funding/#{ symbol } " ) . body
22
+ authenticated_post ( "auth/r/info/ funding/#{ symbol } " ) . body
31
23
end
32
24
end
33
25
end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments