amor71 / LiuAlgoTrader

Framework for algorithmic trading
MIT License
784 stars 129 forks source link

Solana #359

Closed amor71 closed 1 year ago

amor71 commented 2 years ago

Adding support for calling Solana Smart Contracts

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 1.35%.

Quality metrics Before After Change
Complexity 11.05 🙂 10.15 🙂 -0.90 👍
Method Length 120.25 😞 116.00 🙂 -4.25 👍
Working memory 7.20 🙂 7.25 🙂 0.05 👎
Quality 57.18% 🙂 58.53% 🙂 1.35% 👍
Other metrics Before After Change
Lines 98 96 -2
Changed files Quality Before Quality After Quality Change
liualgotrader/market_miner 57.18% 🙂 58.53% 🙂 1.35% 👍

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
liualgotrader/market_miner main 11 🙂 199 😞 9 🙂 49.92% 😞 Try splitting into smaller methods

Legend and Explanation

The emojis denote the absolute quality of the code:

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

github-actions[bot] commented 2 years ago

Stale pull request message