-
Notifications
You must be signed in to change notification settings - Fork 2k
Conversation
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. |
There was a problem hiding this comment.
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') { |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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"
should really fix the missing //
before approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Merging this in so people can start to play with this and more feedback can find its way to this repo. |
* 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 /
Final version.