Skip to main content
Glama
ariesanhthu

VNStock MCP Server

by ariesanhthu
test.ipynb10.9 kB
{ "cells": [ { "cell_type": "code", "execution_count": 9, "id": "73cbcfe8", "metadata": {}, "outputs": [], "source": [ "from vnstock.explorer.misc.gold_price import sjc_gold_price, btmc_goldprice\n", "import pandas as pd\n", "import json" ] }, { "cell_type": "code", "execution_count": 15, "id": "ed3cb027", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\"[{\\\"name\\\":\\\"VÀNG MIẾNG SJC (Vàng SJC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12950000\\\",\\\"sell_price\\\":\\\"13280000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG SJC (Vàng SJC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12950000\\\",\\\"sell_price\\\":\\\"13240000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG SJC (Vàng SJC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12840000\\\",\\\"sell_price\\\":\\\"13190000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG SJC (Vàng SJC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12840000\\\",\\\"sell_price\\\":\\\"13140000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG SJC (Vàng SJC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12840000\\\",\\\"sell_price\\\":\\\"13140000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"NHẪN TRÒN TRƠN (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12770000\\\",\\\"sell_price\\\":\\\"13070000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG VRTL (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12770000\\\",\\\"sell_price\\\":\\\"13070000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"QUÀ MỪNG BẢN VỊ VÀNG (Quà Mừng Bản Vị Vàng)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12770000\\\",\\\"sell_price\\\":\\\"13070000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG VRTL (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12730000\\\",\\\"sell_price\\\":\\\"13030000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"QUÀ MỪNG BẢN VỊ VÀNG (Quà Mừng Bản Vị Vàng)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12730000\\\",\\\"sell_price\\\":\\\"13030000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"NHẪN TRÒN TRƠN (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12730000\\\",\\\"sell_price\\\":\\\"13030000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"QUÀ MỪNG BẢN VỊ VÀNG (Quà Mừng Bản Vị Vàng)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"NHẪN TRÒN TRƠN (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"QUÀ MỪNG BẢN VỊ VÀNG (Quà Mừng Bản Vị Vàng)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG VRTL (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG VRTL (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"QUÀ MỪNG BẢN VỊ VÀNG (Quà Mừng Bản Vị Vàng)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"VÀNG MIẾNG VRTL (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"NHẪN TRÒN TRƠN (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"NHẪN TRÒN TRƠN (Vàng Rồng Thăng Long)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12700000\\\",\\\"sell_price\\\":\\\"13000000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 999.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12540000\\\",\\\"sell_price\\\":\\\"12920000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 99.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"99.9\\\",\\\"buy_price\\\":\\\"12530000\\\",\\\"sell_price\\\":\\\"12910000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 999.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12500000\\\",\\\"sell_price\\\":\\\"12880000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 99.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"99.9\\\",\\\"buy_price\\\":\\\"12490000\\\",\\\"sell_price\\\":\\\"12870000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 999.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12470000\\\",\\\"sell_price\\\":\\\"12850000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 999.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12470000\\\",\\\"sell_price\\\":\\\"12850000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 999.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"12470000\\\",\\\"sell_price\\\":\\\"12850000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 99.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"99.9\\\",\\\"buy_price\\\":\\\"12460000\\\",\\\"sell_price\\\":\\\"12840000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 99.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"99.9\\\",\\\"buy_price\\\":\\\"12460000\\\",\\\"sell_price\\\":\\\"12840000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"},{\\\"name\\\":\\\"TRANG SỨC VÀNG RỒNG THĂNG LONG 99.9 (Vàng BTMC)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"99.9\\\",\\\"buy_price\\\":\\\"12460000\\\",\\\"sell_price\\\":\\\"12840000\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"VÀNG NGUYÊN LIỆU (Vàng thị trường)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"11450000\\\",\\\"sell_price\\\":\\\"0\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 12:09\\\"},{\\\"name\\\":\\\"VÀNG NGUYÊN LIỆU (Vàng thị trường)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"11420000\\\",\\\"sell_price\\\":\\\"0\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 10:42\\\"},{\\\"name\\\":\\\"VÀNG NGUYÊN LIỆU (Vàng thị trường)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"11480000\\\",\\\"sell_price\\\":\\\"0\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:01\\\"},{\\\"name\\\":\\\"VÀNG NGUYÊN LIỆU (Vàng thị trường)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"11420000\\\",\\\"sell_price\\\":\\\"0\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 09:00\\\"},{\\\"name\\\":\\\"VÀNG NGUYÊN LIỆU (Vàng thị trường)\\\",\\\"karat\\\":\\\"24k\\\",\\\"gold_content\\\":\\\"999.9\\\",\\\"buy_price\\\":\\\"11550000\\\",\\\"sell_price\\\":\\\"0\\\",\\\"world_price\\\":\\\"0\\\",\\\"time\\\":\\\"12\\\\/09\\\\/2025 14:30\\\"}]\"\n" ] } ], "source": [ "data = btmc_goldprice()\n", "data = data.to_json(orient='records', force_ascii=False)\n", "data = json.dumps(data, ensure_ascii=False, indent=4)\n", "print(data)" ] } ], "metadata": { "kernelspec": { "display_name": ".venv", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" } }, "nbformat": 4, "nbformat_minor": 5 }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ariesanhthu/mcp-server-vietnam-stock-trading'

If you have feedback or need assistance with the MCP directory API, please join our Discord server