mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +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
22 lines
616 B
Cheetah
22 lines
616 B
Cheetah
{{define "tools exchange" -}}
|
|
{{template "header" .}}
|
|
## Exchange Template Management Tool
|
|
|
|
### Current Features
|
|
|
|
+ Generates a basic template for incorporating a new exchange in the codebase
|
|
|
|
#### How to example
|
|
|
|
+ This will update the entire codebase when a change is made in the documentation templates
|
|
+ add -name flag to generate an exchange e.g -name yobit
|
|
+ add supporting request protocols by adding either -rest, -ws and or -fix
|
|
|
|
```sh
|
|
cd $GOPATH/src/github.com/thrasher-corp/gocryptotrader/tools/exchange_template/
|
|
go run exchange_template.go -name Bitmex -ws -rest
|
|
```
|
|
|
|
{{template "donations" .}}
|
|
{{end}}
|