Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [

{
"name": "Python Debug",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"python": "${workspaceFolder}/python/.venv/bin/python",
"args": "${command:pickArgs}"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"makefile.configureOnOpen": false
}
60 changes: 57 additions & 3 deletions python/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"data_deleted": "Data has been deleted successfully",
"operation_failed": "Operation failed. Please try again.",
"network_error": "Network error. Please check your connection.",
"unauthorized": "You are not authorised to perform this action",
"unauthorised": "You are not authorised to perform this action",
"session_expired": "Your session has expired. Please login again.",
"maintenance": "System is under maintenance. Please try again later."
},
Expand Down Expand Up @@ -94,7 +94,11 @@
"days": "Days",
"weeks": "Weeks",
"months": "Months",
"years": "Years"
"years": "Years",
"thousand": "K",
"million": "M",
"billion": "B",
"trillion": "T"
},
"app": {
"name": "ValueCell",
Expand All @@ -104,7 +108,7 @@
},
"settings": {
"language": "Language",
"timezone": "Timezone",
"timezone": "Time Zone",
"theme": "Theme",
"notifications": "Notifications",
"privacy": "Privacy",
Expand All @@ -113,5 +117,55 @@
"preferences": "Preferences",
"general": "General",
"advanced": "Advanced"
},
"assets": {
"types": {
"stock": "Share",
"crypto": "Cryptocurrency",
"etf": "ETF",
"bond": "Bond",
"commodity": "Commodity",
"forex": "Foreign Exchange",
"index": "Index",
"mutual_fund": "Unit Trust",
"option": "Option",
"future": "Future"
},
"market_status": {
"open": "Open",
"closed": "Closed",
"pre_market": "Pre-market",
"after_hours": "After Hours",
"halted": "Halted",
"unknown": "Unknown"
},
"watchlist": {
"title": "Watchlist",
"my_watchlist": "My Watchlist",
"add_asset": "Add Asset",
"remove_asset": "Remove Asset",
"search_placeholder": "Search shares, funds, or cryptocurrencies...",
"no_assets": "No assets in watchlist",
"price": "Price",
"change": "Change",
"change_percent": "Change %",
"market_cap": "Market Cap",
"volume": "Volume",
"last_updated": "Last Updated",
"add_to_watchlist": "Add to Watchlist",
"remove_from_watchlist": "Remove from Watchlist",
"notes": "Notes"
},
"search": {
"title": "Asset Search",
"placeholder": "Enter ticker symbol or company name...",
"no_results": "No assets found",
"searching": "Searching...",
"results_count": "Found {count} results",
"filters": "Filters",
"asset_type": "Asset Type",
"exchange": "Exchange",
"country": "Country"
}
}
}
56 changes: 55 additions & 1 deletion python/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@
"days": "Days",
"weeks": "Weeks",
"months": "Months",
"years": "Years"
"years": "Years",
"thousand": "K",
"million": "M",
"billion": "B",
"trillion": "T"
},
"app": {
"name": "ValueCell",
Expand All @@ -113,5 +117,55 @@
"preferences": "Preferences",
"general": "General",
"advanced": "Advanced"
},
"assets": {
"types": {
"stock": "Stock",
"crypto": "Cryptocurrency",
"etf": "ETF",
"bond": "Bond",
"commodity": "Commodity",
"forex": "Forex",
"index": "Index",
"mutual_fund": "Mutual Fund",
"option": "Option",
"future": "Future"
},
"market_status": {
"open": "Open",
"closed": "Closed",
"pre_market": "Pre-market",
"after_hours": "After Hours",
"halted": "Halted",
"unknown": "Unknown"
},
"watchlist": {
"title": "Watchlist",
"my_watchlist": "My Watchlist",
"add_asset": "Add Asset",
"remove_asset": "Remove Asset",
"search_placeholder": "Search stocks, funds, or cryptocurrencies...",
"no_assets": "No assets in watchlist",
"price": "Price",
"change": "Change",
"change_percent": "Change %",
"market_cap": "Market Cap",
"volume": "Volume",
"last_updated": "Last Updated",
"add_to_watchlist": "Add to Watchlist",
"remove_from_watchlist": "Remove from Watchlist",
"notes": "Notes"
},
"search": {
"title": "Asset Search",
"placeholder": "Enter ticker symbol or company name...",
"no_results": "No assets found",
"searching": "Searching...",
"results_count": "Found {count} results",
"filters": "Filters",
"asset_type": "Asset Type",
"exchange": "Exchange",
"country": "Country"
}
}
}
56 changes: 55 additions & 1 deletion python/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@
"days": "天",
"weeks": "周",
"months": "月",
"years": "年"
"years": "年",
"thousand": "千",
"million": "百万",
"billion": "十亿",
"trillion": "万亿"
},
"app": {
"name": "ValueCell",
Expand All @@ -113,5 +117,55 @@
"preferences": "偏好设置",
"general": "常规",
"advanced": "高级"
},
"assets": {
"types": {
"stock": "股票",
"crypto": "加密货币",
"etf": "ETF基金",
"bond": "债券",
"commodity": "商品",
"forex": "外汇",
"index": "指数",
"mutual_fund": "共同基金",
"option": "期权",
"future": "期货"
},
"market_status": {
"open": "开盘",
"closed": "闭市",
"pre_market": "盘前交易",
"after_hours": "盘后交易",
"halted": "暂停交易",
"unknown": "未知"
},
"watchlist": {
"title": "自选股",
"my_watchlist": "我的自选",
"add_asset": "添加资产",
"remove_asset": "移除资产",
"search_placeholder": "搜索股票、基金或加密货币...",
"no_assets": "暂无自选资产",
"price": "价格",
"change": "涨跌",
"change_percent": "涨跌幅",
"market_cap": "市值",
"volume": "成交量",
"last_updated": "最后更新",
"add_to_watchlist": "加入自选",
"remove_from_watchlist": "移出自选",
"notes": "备注"
},
"search": {
"title": "资产搜索",
"placeholder": "输入股票代码或公司名称...",
"no_results": "未找到相关资产",
"searching": "搜索中...",
"results_count": "找到 {count} 个结果",
"filters": "筛选条件",
"asset_type": "资产类型",
"exchange": "交易所",
"country": "国家/地区"
}
}
}
56 changes: 55 additions & 1 deletion python/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@
"days": "天",
"weeks": "週",
"months": "月",
"years": "年"
"years": "年",
"thousand": "千",
"million": "百萬",
"billion": "十億",
"trillion": "萬億"
},
"app": {
"name": "ValueCell",
Expand All @@ -113,5 +117,55 @@
"preferences": "偏好設定",
"general": "一般",
"advanced": "高級"
},
"assets": {
"types": {
"stock": "股票",
"crypto": "加密貨幣",
"etf": "ETF基金",
"bond": "債券",
"commodity": "商品",
"forex": "外匯",
"index": "指數",
"mutual_fund": "共同基金",
"option": "期權",
"future": "期貨"
},
"market_status": {
"open": "開盤",
"closed": "閉市",
"pre_market": "盤前交易",
"after_hours": "盤後交易",
"halted": "暫停交易",
"unknown": "未知"
},
"watchlist": {
"title": "自選股",
"my_watchlist": "我的自選",
"add_asset": "新增資產",
"remove_asset": "移除資產",
"search_placeholder": "搜尋股票、基金或加密貨幣...",
"no_assets": "暫無自選資產",
"price": "價格",
"change": "漲跌",
"change_percent": "漲跌幅",
"market_cap": "市值",
"volume": "成交量",
"last_updated": "最後更新",
"add_to_watchlist": "加入自選",
"remove_from_watchlist": "移出自選",
"notes": "備註"
},
"search": {
"title": "資產搜尋",
"placeholder": "輸入股票代碼或公司名稱...",
"no_results": "未找到相關資產",
"searching": "搜尋中...",
"results_count": "找到 {count} 個結果",
"filters": "篩選條件",
"asset_type": "資產類型",
"exchange": "交易所",
"country": "國家/地區"
}
}
}
4 changes: 4 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ dependencies = [
"fastapi>=0.104.0",
"pydantic>=2.0.0",
"uvicorn>=0.24.0",
"yfinance>=0.2.65",
"tushare>=1.4.24",
"requests>=2.32.5",
"akshare>=1.17.44",
]

[project.optional-dependencies]
Expand Down
Loading