exchanges: Update OKCoin V5 exchange support (#1206)

* starting public endpoints

* Adding public endpoints

* added public spot market endpoints

* websocket subscriptions updates

* websocket push data handlers completing

* linter fix

* Added funding private endpoints

* Adding authenticated account endpoints

* Added fiat and OTC-RFQ authenticated endpoints

* trading authenticated endpoints

* completing trade endpoints and add public wrapper endpoints

* Authenticated wrapper functions and corresponding unit test

* Adding authenticated websocket endpoint and fixing wrapper functions

* Documentation and exchange websocket update

* update websocket orderbook checksum handling

* linter issues fix and unit test update

* remove invalid orderbook endpoint and unit test

* Documentation, handlers, and model types update

* minot fix

* Minor fixes

* Updating unit tests and added missing endpoints

* Add missing credential check

* Minor unit test fixes

* fix minor linter issue

* add snaphot test unit test

* Fix on update checksum and documentation update

* update exchange, add UpdateOrderExecutionLimits, and update documentation

* Minor fix on tickers fetching

* Minor websocket fix and smaill unit tests

* Minor websocket and naming fixes

* uncomment default channels

* Fix type and unit test issues

* websocket channels and data handling update

* Update Advanced-Algo websocket handling and minor fixes

* documentation and minor code fixes

* Fix name changes

* documentation contribution update

* intervalToString method update

* fix exchange_wrapper_standard tests

* Fix minor issues based on exchange_wrapper_standards_test

* Fix wrapper extended candlestick check

* websocket orders fetching error check method update

* Exchange name check and change

* docs: Add missing contributors

---------

Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
This commit is contained in:
Samuael A
2023-08-21 23:44:39 +00:00
committed by GitHub
parent a440fab4f3
commit 9c83231696
37 changed files with 7469 additions and 4559 deletions

View File

@@ -178,6 +178,11 @@ func main() {
URL: "https://github.com/cornelk",
Contributions: 2,
},
{
Login: "gam-phon",
URL: "https://github.com/gam-phon",
Contributions: 2,
},
{
Login: "herenow",
URL: "https://github.com/herenow",
@@ -193,6 +198,11 @@ func main() {
URL: "https://github.com/lozdog245",
Contributions: 2,
},
{
Login: "MarkDzulko",
URL: "https://github.com/MarkDzulko",
Contributions: 2,
},
{
Login: "mshogin",
URL: "https://github.com/mshogin",

View File

@@ -63,7 +63,7 @@ _b in this context is an `IBotExchange` implemented struct_
| ItBit | Yes | NA | No |
| Kraken | Yes | Yes | No |
| Lbank | Yes | No | Yes |
| OKCoin International | Yes | Yes | No |
| Okcoin | Yes | Yes | Yes |
| Okx | Yes | Yes | Yes |
| Poloniex | Yes | Yes | Yes |
| Yobit | Yes | NA | No |

View File

@@ -1,6 +1,6 @@
{{define "exchanges okcoin" -}}
{{template "header" .}}
## OKCoin Exchange
## Okcoin Exchange
### Current Features
@@ -31,8 +31,8 @@ main.go
var o exchange.IBotExchange
for i := range bot.Exchanges {
if bot.Exchanges[i].GetName() == "OKCoin" {
y = bot.Exchanges[i]
if bot.Exchanges[i].GetName() == "Okcoin" {
o = bot.Exchanges[i]
}
}

View File

@@ -41,7 +41,7 @@ Join our slack to discuss all things related to GoCryptoTrader! [GoCryptoTrader
| ItBit | Yes | NA | No |
| Kraken | Yes | Yes | NA |
| Lbank | Yes | No | NA |
| OKCoin International | Yes | Yes | No |
| Okcoin | Yes | Yes | No |
| Okx | Yes | Yes | NA |
| Poloniex | Yes | Yes | NA |
| Yobit | Yes | NA | NA |