Coder Social home page Coder Social logo

Comments (3)

thrasher- avatar thrasher- commented on August 22, 2024 1

Closing this issue, will follow up the password issue in https://github.com/thrasher-/gocryptotrader/issues/115

from gocryptotrader.

shazbert avatar shazbert commented on August 22, 2024

import (
	"fmt"

	"github.com/thrasher-/gocryptotrader/exchanges/binance"
)

func main() {
	exch := binance.Binance{}
	exch.SetDefaults()

	fmt.Println(exch.GetExchangeInfo())
}

Make sure you use SetDefaults() because it sets up the request handler.

from gocryptotrader.

frostrock7 avatar frostrock7 commented on August 22, 2024

Ok.thanks.

One more question:
When I compile for Windows. Like discribed here:

go get github.com/thrasher-/gocryptotrader
cd %GOPATH%\src\github.com\thrasher-\gocryptotrader
go install
copy %GOPATH%\src\github.com\thrasher-\gocryptotrader\config_example.json %GOPATH%\bin\config.json

I run the gocryptotrader binary than encrypt standart config.json (without changes)
It asks me a password I'm entering from config file ("Password")
And it asks to repeat and after entering it continuing to asking password again and again and nothing changes. And even if I change password in config it will repeating same.
What I did wrong?

from gocryptotrader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.