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

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.

3 participants