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

Bitfinex extension PR #245

Merged
merged 9 commits into from
Jun 9, 2017
Merged

Bitfinex extension PR #245

merged 9 commits into from
Jun 9, 2017

Conversation

nedievas
Copy link
Contributor

@nedievas nedievas commented Jun 8, 2017

Final version.

DeviaVir
DeviaVir previously approved these changes Jun 8, 2017
conf-sample.js Outdated
c.bitfinex.key = 'YOUR-API-KEY'
c.bitfinex.secret = 'YOUR-SECRET'
// May use 'exchange' or 'trading' wallet balances. However margin trading may not work...read
the API documentation.
Copy link
Owner

Choose a reason for hiding this comment

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

missing leading //


function authedClient () {
if (!authed_client) {
if (!c.bitfinex.key || c.bitfinex.key === 'YOUR-API-KEY') {
Copy link
Owner

Choose a reason for hiding this comment

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

no check for secret?

var exchange = {
name: 'bitfinex',
// historyScan: 'backward',
makerFee: 0.1,
Copy link
Owner

Choose a reason for hiding this comment

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

could you add takerFee too? (via #233)

opts.type = 'exchange limit'
}
else if (c.bitfinex.wallet === 'trading' && typeof opts.type === 'undefined') {
opts.type = 'limit'
Copy link
Owner

Choose a reason for hiding this comment

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

ref #233 again, could you add a check for order_type (if bitfinex supports it) and use market orders when people supply taker? not a must, just a "would be nice"

@DeviaVir DeviaVir dismissed their stale review June 8, 2017 18:28

should really fix the missing // before approval

Support ref #233.
Did not test after update as master is not update to #233
@nedievas nedievas mentioned this pull request Jun 9, 2017
Copy link
Owner

@DeviaVir DeviaVir left a comment

Choose a reason for hiding this comment

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

👍

@DeviaVir
Copy link
Owner

DeviaVir commented Jun 9, 2017

Merging this in so people can start to play with this and more feedback can find its way to this repo.

@DeviaVir DeviaVir merged commit e7b5703 into DeviaVir:master Jun 9, 2017
supersabbath pushed a commit to supersabbath/zenbot that referenced this pull request Oct 2, 2017
* Add files via upload

* Delete bitfinex-master.zip

* Create package.json

* final version

* Bitfinex API credentials

* Bitfinex deps

* // fix

* add takerFee

Support ref DeviaVir#233.
Did not test after update as master is not update to DeviaVir#233

* move to /
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.

2 participants