ssoper / Batil

Client SDK to automate stock and options trading
https://ssoper.github.io/Batil
MIT License
12 stars 2 forks source link

Renew expired tokens or generate a new one #90

Closed ssoper closed 2 years ago

ssoper commented 2 years ago

Resolves https://github.com/ssoper/Batil/issues/87

codecov[bot] commented 2 years ago

Codecov Report

Merging #90 (ca9dd62) into master (0f48191) will decrease coverage by 1.03%. The diff coverage is 52.94%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #90      +/-   ##
============================================
- Coverage     77.87%   76.83%   -1.04%     
+ Complexity      107      105       -2     
============================================
  Files            31       31              
  Lines          2147     2189      +42     
  Branches        123      128       +5     
============================================
+ Hits           1672     1682      +10     
- Misses          404      434      +30     
- Partials         71       73       +2     
Impacted Files Coverage Δ
src/main/kotlin/brokers/etrade/EtradeClient.kt 0.00% <0.00%> (ø)
src/main/kotlin/brokers/etrade/services/Service.kt 73.07% <45.45%> (-9.85%) :arrow_down:
...in/brokers/etrade/interceptors/ErrorInterceptor.kt 64.70% <55.55%> (-17.12%) :arrow_down:
src/main/kotlin/brokers/etrade/services/Alerts.kt 64.70% <66.66%> (+0.70%) :arrow_up:
src/main/kotlin/brokers/etrade/services/Market.kt 74.57% <85.71%> (+0.43%) :arrow_up:
src/main/kotlin/brokers/etrade/services/Orders.kt 87.93% <85.71%> (+0.21%) :arrow_up:
...rc/main/kotlin/brokers/etrade/services/Accounts.kt 67.56% <87.50%> (+0.44%) :arrow_up:
src/main/kotlin/brokers/etrade/auth/Session.kt 100.00% <100.00%> (ø)
...lin/brokers/etrade/interceptors/HttpInterceptor.kt 78.75% <100.00%> (ø)

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 0f48191...ca9dd62. Read the comment docs.