adshao / go-binance

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

Add staking positions and history services #377

Closed pcasteran closed 2 years ago

pcasteran commented 2 years ago

Add some services from the new stacking endpoints:

codecov[bot] commented 2 years ago

Codecov Report

Merging #377 (e378790) into master (87c1345) will decrease coverage by 0.44%. The diff coverage is 39.08%.

@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
- Coverage   70.80%   70.36%   -0.45%     
==========================================
  Files          66       67       +1     
  Lines        6149     6236      +87     
==========================================
+ Hits         4354     4388      +34     
- Misses       1353     1393      +40     
- Partials      442      455      +13     
Impacted Files Coverage Δ
v2/staking_service.go 36.14% <36.14%> (ø)
v2/client.go 79.79% <100.00%> (+0.28%) :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 87c1345...e378790. Read the comment docs.