Skip to content

Conversation

@DayDreammy
Copy link

@DayDreammy DayDreammy commented Feb 8, 2026

📊 New Skill: Tushare API

Description

Tushare Pro financial data API assistant for querying Chinese stocks, funds, futures, bonds, and other financial data. Use this skill when users need to access stock quotes, financial reports, fundamental data, or macroeconomic indicators.

Features

  • 📈 Stock market data (daily/weekly/monthly quotes, PE/PB ratios, market cap)
  • 💰 Financial statements (income, balance sheet, cash flow)
  • 📊 Market data (capital flow, limit-up/down stocks, top traders)
  • 🏢 Company fundamentals and IPO calendar
  • 📅 Trading calendar and macroeconomic indicators

Supported Data Types

Category Data
Stocks A-shares, HK stocks, US stocks
Funds Mutual funds, ETFs, LOFs
Futures Commodity, index futures
Bonds Treasury, corporate, convertible
Macro Economic indicators, rates, FX

File Structure

tushare-api/
├── http://SKILL.md # Main skill file
├── http://README.md # Documentation
├── references/
│ └── http://api-reference.md # API reference
└── scripts/
├── analyze_bank_stocks.py # Bank stock analysis example
└── tushare_examples.py # Common usage examples

Dependencies

  • Python 3.x
  • tushare package (pip install tushare)
  • Tushare Pro Token (free registration required)

Author

@DayDreammy

Greptile Overview

Greptile Summary

This PR introduces a new tushare-api skill with documentation, an API reference, and two example Python scripts for querying Tushare Pro financial data (stocks/funds/futures/bonds/macro) and a bank-stocks analysis example.

In the current state, the added artifacts under skills/tushare-api/ are not usable because the .md and .py files are committed as base64-encoded single-line blobs rather than plaintext sources; the docs won’t render and the scripts won’t run until the decoded content is committed.

Confidence Score: 1/5

  • Not safe to merge as-is because the added skill files are unusable artifacts.
  • All added Markdown and Python files appear to be base64-encoded blobs committed as a single line, so documentation won’t render and scripts won’t execute. Fix requires committing decoded plaintext sources (and normal newlines).
  • skills/tushare-api/README.md; skills/tushare-api/SKILL.md; skills/tushare-api/references/api-reference.md; skills/tushare-api/scripts/analyze_bank_stocks.py; skills/tushare-api/scripts/tushare_examples.py

(2/5) Greptile learns from your feedback when you react with thumbs up/down!

Context used:

  • Context from dashboard - AGENTS.md (source)

@vercel
Copy link
Contributor

vercel bot commented Feb 8, 2026

@DayDreammy is attempting to deploy a commit to the Amantus Machina Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@@ -0,0 +1 @@
IyBUdXNoYXJlIEFQSSBTa2lsbAoKIyMg5o+P6L+wClR1c2hhcmUgUHJvIOmHkeiejeaVsOaNriBBUEkg5p+l6K+i5Yqp5omL44CC55So5LqO5biu5Yqp55So5oi35p+l6K+i5Lit5Zu96IKh56Wo44CB5Z+66YeR44CB5pyf6LSn44CB5YC65Yi4562J6YeR6J6N5pWw5o2u44CC5b2T55So5oi36ZyA6KaB6I635Y+W6IKh56Wo6KGM5oOF44CB6LSi5Yqh5pWw5o2u44CB5Z+656GA5L+h5oGv44CB5a6P6KeC57uP5rWO5pWw5o2u5pe25L2/55So5q2kIHNraWxs44CCCgojIyDlip/og70KLSDwn5OIIOiCoeelqOWfuuehgOS/oeaBr+WSjOihjOaDheaVsOaNruafpeivogotIPCfkrAg6LSi5Yqh5pWw5o2u77yI5Yip5ram6KGo44CB6LWE5Lqn6LSf5YC66KGo44CB546w6YeR5rWB6YeP6KGo77yJCi0g8J+TiiDluILlnLrmlbDmja7vvIjotYTph5HmtYHlkJHjgIHmtqjot4zlgZzjgIHpvpnomY7mppzvvIkKLSDwn4+iIOS4iuW4guWFrOWPuOWfuuacrOS/oeaBrwotIPCfk4Ug5Lqk5piT5pel5Y6G5ZKMIElQTyDmlrDogqHliJfooagKCiMjIOaUr+aMgeeahOaVsOaNruexu+Weiwp8IOexu+WIqyB8IOaVsOaNriB8CnwtLS0tLS18LS0tLS0tfAp8IOiCoeelqCB8IEHogqHjgIHmuK/ogqHjgIHnvo7ogqEgfAp8IOWfuumHkSB8IOWFrOWLn+WfuumHkeOAgUVURuOAgUxPRiB8Cnwg5pyf6LSnIHwg5ZWG5ZOB5pyf6LSn44CB6IKh5oyH5pyf6LSnIHwKfCDlgLrliLggfCDlm73lgLrjgIHkvIHkuJrlgLrjgIHlj6/ovazlgLogfAp8IOWuj+ingiB8IOe7j+a1juaMh+agh+OAgeWIqeeOh+OAgeaxh+eOhyB8CgojIyDkvZzogIUKQHl5Ym90CgojIyDorrjlj6/or4EKTUlUCg== No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base64 content committed

This file (and the other 4 in this PR) is committed as a base64-encoded blob (single line starting with Iy...) rather than actual Markdown/Python. As-is, GitHub won’t render the docs and the .py “scripts” won’t execute. Please commit the decoded plaintext sources instead (normal .md and .py content), and ensure the file ends with a trailing newline.

Also appears in:

  • skills/tushare-api/SKILL.md:1
  • skills/tushare-api/references/api-reference.md:1
  • skills/tushare-api/scripts/analyze_bank_stocks.py:1
  • skills/tushare-api/scripts/tushare_examples.py:1
Prompt To Fix With AI
This is a comment left during a code review.
Path: skills/tushare-api/README.md
Line: 1:1

Comment:
**Base64 content committed**

This file (and the other 4 in this PR) is committed as a base64-encoded blob (single line starting with `Iy...`) rather than actual Markdown/Python. As-is, GitHub won’t render the docs and the `.py` “scripts” won’t execute. Please commit the *decoded plaintext* sources instead (normal `.md` and `.py` content), and ensure the file ends with a trailing newline.

Also appears in:
- `skills/tushare-api/SKILL.md:1`
- `skills/tushare-api/references/api-reference.md:1`
- `skills/tushare-api/scripts/analyze_bank_stocks.py:1`
- `skills/tushare-api/scripts/tushare_examples.py:1`

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please review again.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed! The files are now properly decoded and readable.

All the Markdown docs and Python scripts are now in plaintext with proper formatting. The skill is ready to use. Great work!

@chenyuan99
Copy link

you can add skill yourself directly via the website, there is no need to raise this pr

@DayDreammy
Copy link
Author

you can add skill yourself directly via the website, there is no need to raise this pr

I want to share with others,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants