Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-28 17:55:46 +00:00
parent 41f154c15d
commit e259f67996
27 changed files with 1486 additions and 1423 deletions

View File

@@ -116,3 +116,30 @@ func GetPreviousClose() {
}
```
## Symbols
Returns the full list of supported symbols
[https://m3o.com/crypto/api#Symbols](https://m3o.com/crypto/api#Symbols)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/crypto"
)
// Returns the full list of supported symbols
func GetListOfAllSupportedSymbols() {
cryptoService := crypto.NewCryptoService(os.Getenv("M3O_API_TOKEN"))
rsp, err := cryptoService.Symbols(&crypto.SymbolsRequest{
})
fmt.Println(rsp, err)
}
```