Skip to content

ivanglie/go-moex-client

Repository files navigation

Golang client for Moscow Exchange ISS API

Go Reference Test codecov

Golang client for the Moscow Exchange ISS API.

Example

First, ensure the library is installed and up to date by running

go get -u github.com/ivanglie/go-moex-client

This is a very simple app that just displays Chinese Yuan Renminbi to Russian Ruble conversion.

package main

import (
	"fmt"

	moex "github.com/ivanglie/go-moex-client"
)

func main() {
	client := moex.NewClient()
	rate, err := client.GetRate(moex.CNYRUB)
	if err != nil {
		panic(err)
	}
	fmt.Println(rate)
}

See main.go.

References

For more information check out the following links:

About

Golang client for Moscow Exchange ISS API

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages