leek-fund
:chart_with_upwards_trend: 韭菜盒子插件,兼容 VS Code 生态编辑器。在你用 AI 专注于写代码的同时,它在后台实时且隐蔽地追踪着市场,绝不打断你的任何工作流。
Top Related Projects
stock,股票系统。使用python进行开发。
TuShare is a utility for crawling historical data of China stocks
基于Python的开源量化交易平台开发框架
提供同花顺客户端/miniqmt/雪球的股票量化交易,支持跟踪 joinquant /ricequant 模拟交易 和 实盘雪球组合
Quick Overview
LeekHub/leek-fund is a Visual Studio Code extension for monitoring stock and fund data in real-time. It provides a convenient way for developers and investors to keep track of their investments directly within their coding environment, offering features like stock price alerts, fund tracking, and customizable watchlists.
Pros
- Seamless integration with VS Code, allowing users to monitor investments without leaving their development environment
- Real-time updates on stock and fund prices, providing up-to-date information
- Customizable watchlists and alerts for personalized tracking
- Open-source project with active community contributions
Cons
- Limited to Visual Studio Code users, not available as a standalone application
- Primarily focused on Chinese markets, which may limit its usefulness for international investors
- Potential for distraction from coding tasks due to constant financial updates
- Relies on third-party data sources, which may occasionally lead to data accuracy issues
Getting Started
To install and use the Leek Fund extension in Visual Studio Code:
- Open Visual Studio Code
- Go to the Extensions view (Ctrl+Shift+X)
- Search for "Leek Fund"
- Click "Install" on the Leek Fund extension
- Once installed, click "Reload" to activate the extension
- Access the Leek Fund sidebar by clicking on the leek icon in the Activity Bar
- Configure your watchlist by editing the
leek-fund.stocksandleek-fund.fundssettings in VS Code's settings.json file
Example configuration:
{
"leek-fund.stocks": [
"sh000001",
"sh600519",
"hk00700"
],
"leek-fund.funds": [
"001618",
"161725"
]
}
After configuration, you'll see your selected stocks and funds displayed in the Leek Fund sidebar, with real-time updates on their prices and performance.
Competitor Comparisons
stock,股票系统。使用python进行开发。
Pros of stock
- More comprehensive stock analysis tools and algorithms
- Includes machine learning models for prediction
- Supports multiple data sources and APIs
Cons of stock
- Less user-friendly interface compared to leek-fund
- Requires more technical knowledge to set up and use
- Documentation is primarily in Chinese, limiting accessibility for non-Chinese speakers
Code Comparison
leek-fund:
const stockCode = '000001';
const url = `https://api.example.com/stock/${stockCode}`;
fetch(url)
.then(response => response.json())
.then(data => console.log(data));
stock:
import tushare as ts
ts.set_token('YOUR_TOKEN')
pro = ts.pro_api()
df = pro.daily(ts_code='000001.SZ', start_date='20210101', end_date='20210630')
print(df)
Summary
While stock offers more advanced features and analysis capabilities, leek-fund provides a more user-friendly experience for casual investors. stock is better suited for developers and data scientists looking to perform in-depth analysis, while leek-fund is ideal for users who want a simple, easy-to-use tool for tracking stocks and funds.
TuShare is a utility for crawling historical data of China stocks
Pros of tushare
- More comprehensive data coverage, including stocks, funds, futures, and macroeconomic data
- Supports both real-time and historical data retrieval
- Well-documented API with extensive examples and tutorials
Cons of tushare
- Requires a paid subscription for full access to all features
- Steeper learning curve due to its extensive functionality
- Less focus on visualization compared to leek-fund
Code Comparison
tushare:
import tushare as ts
ts.set_token('your_token_here')
pro = ts.pro_api()
df = pro.daily(ts_code='000001.SZ', start_date='20200101', end_date='20200331')
leek-fund:
const { getStockData } = require('leek-fund');
const stockData = await getStockData('sh000001');
console.log(stockData);
Summary
tushare offers a more comprehensive solution for financial data analysis in Python, while leek-fund provides a simpler, JavaScript-based approach focused on stock and fund data visualization. tushare's extensive features come with a steeper learning curve and potential cost, whereas leek-fund is more accessible for beginners and free to use.
基于Python的开源量化交易平台开发框架
Pros of vnpy
- More comprehensive trading platform with support for multiple asset classes
- Extensive documentation and active community support
- Modular architecture allowing for easy customization and extension
Cons of vnpy
- Steeper learning curve due to its complexity and extensive features
- Requires more system resources and setup time compared to leek-fund
Code Comparison
leek-fund (JavaScript):
async function getStockData(codes) {
const url = `https://api.example.com/stock?codes=${codes.join(',')}`;
const response = await axios.get(url);
return response.data;
}
vnpy (Python):
class StockDataEngine(BaseEngine):
def __init__(self, event_engine: EventEngine):
super().__init__(event_engine, "StockData")
self.api = StockDataAPI()
def get_stock_data(self, codes: List[str]) -> Dict:
return self.api.query_stock_data(codes)
Summary
vnpy is a more robust and feature-rich trading platform suitable for professional traders and institutions, while leek-fund is a simpler, lightweight solution focused on stock and fund tracking for individual investors. vnpy offers greater flexibility and customization options but requires more technical expertise to set up and use effectively. leek-fund provides a more straightforward experience for basic stock and fund monitoring needs.
提供同花顺客户端/miniqmt/雪球的股票量化交易,支持跟踪 joinquant /ricequant 模拟交易 和 实盘雪球组合
Pros of easytrader
- More comprehensive trading functionality, supporting multiple brokers and trading platforms
- Offers automated trading capabilities and strategy implementation
- Provides a wider range of financial instruments, including stocks, funds, and options
Cons of easytrader
- More complex setup and configuration process
- Steeper learning curve for users new to algorithmic trading
- Less focus on real-time market data visualization compared to leek-fund
Code Comparison
easytrader:
user = easytrader.use('ths')
user.prepare('config/ths.json')
user.buy('162411', price=0.55, amount=100)
leek-fund:
const { getStockData } = require('leek-fund');
const data = await getStockData(['sh000001', 'sh000300']);
console.log(data);
Summary
easytrader is a more powerful and versatile trading tool, offering automated trading capabilities across multiple platforms. It's better suited for experienced traders looking to implement complex strategies. leek-fund, on the other hand, focuses on providing real-time market data and visualization, making it more accessible for beginners and those primarily interested in monitoring their investments.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
LeekFund
ç½ç«ï¼https://leek.fund/
å ¼å®¹ VS Code çæç¼è¾å¨ãå¨ä½ ç¨ AI 䏿³¨äºå代ç çåæ¶ï¼å®å¨åå°å®æ¶ä¸éè½å°è¿½è¸ªçå¸åºï¼ç»ä¸ææä½ çä»»ä½å·¥ä½æµã
æèµæé£é©ï¼å ¥å¸éè°¨æ ï¼
声æï¼æ¬è½¯ä»¶ä» ä¸ºæ°æ®è¾ å©å±ç¤ºå·¥å ·ï¼ä¸æä¾ä»»ä½æèµå»ºè®®ãæ°æ®åæ¥èªå ¬å¼ç½ç»æ¸ éï¼å ç½ç»å»¶è¿æç¬¬ä¸æ¹å¼èµ·çè¡æ è¯¯å·®ï¼æ¬è½¯ä»¶ä¸æ¿æ æ³å¾è´£ä»»ã
Table of contents
åè½ç¹æ§
åºç¡åè½
- åºé / è¡ç¥¨ / æè´§ / Binance 宿¶æ¶¨è·
- æ¯æ A è¡ã港è¡ãç¾è¡ãå½å æè´§ãæµ·å¤åºéã夿±çä»·
- ç¶ææ è¡æ æ¦è§
- åºé宿¶ / åå²èµ°å¿å¾ãåºéæè¡æ¦ãåºéæ«é²æä»ä¿¡æ¯
- èªå®ä¹æ¶¨è·é¢è²ä¸æ¶¨è·å¾æ
- ç®åçæ¬åºéæä»éé¢ãè¡ç¥¨ææ¬ä»·ç»´æ¤è®¾ç½®
- ç®åçæ¬åºé / è¡ç¥¨çäºå±ç¤º
- è¡ç¥¨æ¶¨è·æéé ç½®ï¼IDE å éç¥ï¼
- éèä¸å¿ï¼åºé / è¡ç¥¨è¯¦æ ãK 线ãèµéæµåç
LeekFund Pro
- è¡ç¥¨ / åºéèªå®ä¹åç»ï¼èªå®ä¹åç»ãèªå¨å±ç¤ºãæçæä»ãåç»ãåç»æå ãåç»ãä¸ªè¡ææ½æåº
- æä»ç®¡çä¸å¿ï¼å®æ´ï¼ï¼æ»èµäº§ãæµ®å¨çäºãç¼è¾ / å ä» / å é¤ãè´¦æ¬å¯¼å ¥å¯¼åº
- **å¸åºå¿«è®¯**ï¼éèä¸å¿>快讯 + LeekFund News 颿¿
- 大çäºå¾ï¼éèä¸å¿>大çäºå¾
- **个æ§åå®å¶é¢æ¿**ï¼é«çº§èªå®ä¹ãç¶ææ è¡ç¥¨èªéãæ¾ç¤ºæ ¼å¼ãè¡ç¥¨æ¶çæ ¼å¼çå¯è§åé ç½®
- è¡ä»·é¢è¦ Webhook 群æ¨éï¼ä¼ä¸å¾®ä¿¡ / éé / é£ä¹¦ï¼
- æ¿åè¡æ ï¼è¡ä¸ / æ¦å¿µå表ãèµéæµåãæ¶¨å¹ æ¦ä¸æåè¡è¯¦æ ï¼ä¸å¤§çäºå¾ãèªéèå¨ã è¯¦ç»ææ¡£
- **è¡æ ä¸ç»§**ï¼Pro ç¨æ·å¯å¨èªå»ºæå¡å¨é¨ç½²ä»£çï¼å°è¡ç¥¨ / åºéè¡æ 请æ±è½¬è³ä¸ªäººä¸ç»§ï¼åºå¯¹å ç½æ¦æªè¯å¸ API æé«é¢çæµï¼ è¯¦ç»ææ¡£
- LeekAgentï¼è¿è¡å¿«è®¯æè¦ãèªé / æä»æ¦è§ãæ çå ¬å¼ä¿¡æ¯è§£è¯»ã è¯¦ç»ææ¡£
- ç¼è¾å¨ Blame ä¼ªè£ ï¼å¨ä»£ç æä»¶ä¸ä»¥ Git æäº¤æ¥å¿æ ·å¼ç§å¯æ¥çæä»è¡ç¥¨è¡æ
å®è£ 使ç¨
å®è£ æä»¶ï¼Visual Studio Marketplace
| è¦æ± | çæ¬ |
|---|---|
| VS Code | ^1.100.0 |
| Cursor | ^3.0.0 |
ä½¿ç¨ææ¡£

èµäº§ç®¡ç

大çäºå¾

æ¿åè¡æ


个è¡å¼å¨

Blame 伪è£
ç¼è¾å¨ Blame ä¼ªè£ ï¼ç¸æ¯ç¶ææ ä¸ä¾§è¾¹æ æ¥çè¡æ ä¿¡æ¯æ´å éè½
æä»¶å¤´é¨

æä»¶git messageãæä»å¤åªè¡æ¶ï¼é¼ æ å æ 便¬¡æ¢è¡ç¹å»å³å¯è½®ææ¥çä¸åæä»è¡

èªå®ä¹é ç½®å¨ Settings è§å¾ä¸ï¼Pro ç¨æ·å¯ä½¿ç¨å¯è§å个æ§åå®å¶ï¼ï¼


All Thanks To Our Contributors
License
Top Related Projects
stock,股票系统。使用python进行开发。
TuShare is a utility for crawling historical data of China stocks
基于Python的开源量化交易平台开发框架
提供同花顺客户端/miniqmt/雪球的股票量化交易,支持跟踪 joinquant /ricequant 模拟交易 和 实盘雪球组合
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot

