Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Bitfinex WS Fixes: Reconnect and crash on previously non-traded assets/currency #474

Merged
merged 3 commits into from
Aug 15, 2017
Merged

Bitfinex WS Fixes: Reconnect and crash on previously non-traded assets/currency #474

merged 3 commits into from
Aug 15, 2017

Conversation

crubb
Copy link
Contributor

@crubb crubb commented Aug 14, 2017

As the title says. Also removed some trailing white spaces.

@nedievas?

@@ -46,13 +46,13 @@ module.exports = function container (get, set, clear) {
}
ws_trades.push(newTrade)
})

Copy link
Contributor

@nedievas nedievas Aug 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -65,7 +65,7 @@ module.exports = function container (get, set, clear) {
if (message[0] != "undefined")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove at 64

return cb(null, order)
} else if (order.status === 'rejected' && order.reject_reason === 'zenbot canceled') {
return cb(null, order)
return cb(null, order)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Copy link
Contributor

@nedievas nedievas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more trailing spaces to remove...I suppose this update has fix for balance bug which crashes zenbot with a fresh asset trade attempt.

@DeviaVir DeviaVir merged commit 1cc90b6 into DeviaVir:master Aug 15, 2017
@crubb crubb deleted the crubb/bitfinex.ws.reconnect branch August 15, 2017 08:38
supersabbath pushed a commit to supersabbath/zenbot that referenced this pull request Oct 2, 2017
…s/currency (DeviaVir#474)

* Bitfinex WS: Fix reconnect

* Bitfinex WS: Report wallet balance as 0, when an unknown pair is traded for the first time on Bitfinex

* Bitfinex WS: Removed a bunch of trailing white spaces
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants