mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-08 15:11:07 +00:00
* docs: Create new CODING_GUIDELINES doc Rids excess contribution instructions from other packages Adds AGENTS.md file for the AI overlords Rids unused templates Updates ADD_NEW_EXCHANGE.md with minor fixes * docs: Fix linter issues and minor adjustments based on Copilot feedback * docs: Update coding guidelines for API parameters and testing practices * docs: Remove redundant GoDoc references Adds copilot-instructions.md * docs: Update CODING_GUIDELINES with export recommendations and test commentary * docs: Fix formatting inconsistencies in ADD_NEW_EXCHANGE.md links * docs: Update struct naming conventions for request and response types * docs: Improve clarity and consistency in ADD_NEW_EXCHANGE.md and CODING_GUIDELINES.md * refactor: Simplify error handling in QueryOrder method
21 lines
505 B
Cheetah
21 lines
505 B
Cheetah
{{define "currency pair" -}}
|
|
{{template "header" .}}
|
|
## Current Features for {{.Name}}
|
|
|
|
+ Provides a new data structure for a currency pair
|
|
+ Methods to manipulate, create and retrieve different parts of the currency pair
|
|
|
|
+ Example below:
|
|
```go
|
|
import "github.com/thrasher-corp/gocryptotrader/currency/pair"
|
|
|
|
// Create new pair
|
|
newPair := currency.NewPairFromStrings("BTC", "USD")
|
|
|
|
// Retrieve different parts of the pair
|
|
bitcoinString := newPair.GetFirstCurrency
|
|
```
|
|
|
|
{{template "donations" .}}
|
|
{{end}}
|