adshao / go-binance

A Go SDK for Binance API
MIT License
1.49k stars 661 forks source link

Add support for binance c2c service #369

Closed halink0803 closed 2 years ago

halink0803 commented 2 years ago

Add support for binance c2c service: https://binance-docs.github.io/apidocs/spot/en/#get-c2c-trade-history-user_data

halink0803 commented 2 years ago

@adshao please kindly check.

codecov[bot] commented 2 years ago

Codecov Report

Merging #369 (0d1e6e7) into master (b7df07b) will decrease coverage by 0.21%. The diff coverage is 36.84%.

@@            Coverage Diff             @@
##           master     #369      +/-   ##
==========================================
- Coverage   71.63%   71.41%   -0.22%     
==========================================
  Files          64       65       +1     
  Lines        6022     6060      +38     
==========================================
+ Hits         4314     4328      +14     
- Misses       1279     1297      +18     
- Partials      429      435       +6     
Impacted Files Coverage Δ
v2/c2c_service.go 33.33% <33.33%> (ø)
v2/client.go 84.07% <100.00%> (+0.11%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b7df07b...0d1e6e7. Read the comment docs.

hungdoansy commented 2 years ago

Good job @halink0803 👏