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

Added Binance to Zenbot #782

Merged
merged 5 commits into from Dec 4, 2017
Merged

Added Binance to Zenbot #782

merged 5 commits into from Dec 4, 2017

Conversation

abduegal
Copy link
Contributor

@abduegal abduegal commented Dec 2, 2017

Hi Guys,

Here is the code to make binance work in zenbot. I've tested it in both sim, paper and live. Please contact me on discord if you have any questions.


function authedClient () {
if (!authed_client) {
if (!c.binance || !c.binance.key || !c.binance.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.

if (!c.binance || !c.binance.key || !c.binance.key === 'YOUR-API-KEY') {

This should be:
if (!c.binance || !c.binance.key || c.binance.key === 'YOUR-API-KEY') {

Because if c.binance.key === 'YOUR-API-KEY' we should stop

Repository owner deleted a comment from tfossoulw Dec 4, 2017
Repository owner deleted a comment Dec 4, 2017
@abduegal
Copy link
Contributor Author

abduegal commented Dec 4, 2017

@DeviaVir Fixed.

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.

👍 cool, thanks for your contribution! Let's see it in the wild.

@DeviaVir DeviaVir merged commit d24a9de into DeviaVir:master Dec 4, 2017
@brucetus
Copy link
Contributor

brucetus commented Dec 8, 2017

Are there options for the API keys in the conf.js? I cant find them

@DeviaVir
Copy link
Owner

DeviaVir commented Dec 8, 2017

in the same fashion as all other exchanges you can add key and secret to a binance object.

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.

None yet

3 participants