{"id":50742,"date":"2021-05-21T00:00:00","date_gmt":"2021-05-21T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/"},"modified":"2025-11-14T07:54:36","modified_gmt":"2025-11-14T15:54:36","slug":"parsing-api-data-to-griddb-using-binance-api","status":"publish","type":"post","link":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/","title":{"rendered":"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b"},"content":{"rendered":"<p>\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002Binance\u306f\u4e16\u754c\u6700\u5927\u7d1a\u306e\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u3067\u3042\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u5b89\u5168\u3067\u52b9\u7387\u7684\u306a\u6697\u53f7\u901a\u8ca8\u306e\u53d6\u5f15\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001Binance API\u3092\u4f7f\u3063\u3066\u69d8\u3005\u306a\u6697\u53f7\u901a\u8ca8\u306e\u60c5\u5831\u3092\u7167\u4f1a\u3057\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u89e3\u6790\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>Binance\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3059\u308b<\/h2>\n<p>\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001Binance\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u307e\u305a\u306f\u3001Binance API\u3092\u4f7f\u3063\u3066\u63a5\u7d9a\u3057\u3001\u6697\u53f7\u901a\u8ca8\u306e\u5e02\u5834\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001API\u30ad\u30fc\u3092\u4f5c\u6210\u3057\u3001Binance API\u3092\u4ecb\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>Binance API Key\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>Binance\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308c\u3070\u8ab0\u3067\u3082\u3001Binance API\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306eAPI\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u8a2d\u5b9a\u304b\u3089API Management\u306b\u79fb\u52d5\u3057\u3066\u3001Binance\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u65b0\u3057\u3044API Key\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30e6\u30fc\u30b6\u30fc\u306fAPI\u30ad\u30fc\u7528\u306e\u540d\u524d\u3092\u63d0\u4f9b\u3057\u3001API\u30ad\u30fc\u3092\u6b63\u5e38\u306b\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u8a8d\u8a3c\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/i9LfX_3X_6-PJjXspCkiTO8SE4sCDW5Bc5fXwkGqoQqy2QAg-7gBackI6izOVcFXnUOd1yWX_xhlTDleNdMS4XXN1srd2U80bOlF6KyHEKQ1BzZEqDYN4bolY8BFvwNCLMdg-Af9\" alt=\"\" \/><\/p>\n<h3>Binance API\u306b\u63a5\u7d9a\u3059\u308b<\/h3>\n<p>Python\u306f\u3001Binance API\u3078\u306e\u63a5\u7d9a\u3092\u7c21\u5358\u306b\u78ba\u7acb\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b<a href=\"https:\/\/pypi.org\/project\/python-binance\/\">python-binance<\/a>\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u57fa\u672c\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066Python\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306f\u3001Binance\u3067\u5229\u7528\u53ef\u80fd\u306a\u3059\u3079\u3066\u306e\u6697\u53f7\u901a\u8ca8\u306e\u63a5\u7d9a\u3068\u73fe\u5728\u306e\u4fa1\u683c\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">\nfrom binance.client import Client  \nimport pandas as pd  \nimport os  \n  \n# Create the client  \nclient = Client(os.environ['binance_api_key'], os.environ['binance_api_secret'])  \n  \n# Retrieve all data  \nprices = client.get_all_tickers()  \n  \n# Create a Pandas DataFrame  \ndata = pd.DataFrame(prices)  \nprint(data)\n<\/code><\/pre>\n<\/div>\n<h5>\u7d50\u679c<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/Ct_okDpTE0rUJMJ8rLtP92J6PDkZ4zSV1cSJdFxbqsYPs-vQuVn55RHByVhJ8Oj30DcNhG5hnBh1b7E1IB_CzQ-KfE6WU9VSNOfByH0Mcie0a-8_ODLrQUlLWYhP-sCweg2czWAw\" alt=\"\" \/><\/p>\n<h3>\u5b9a\u671f\u7684\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<p>\u9078\u629e\u3057\u305f\u6697\u53f7\u901a\u8ca8\u306e24\u6642\u9593\u306e\u5e02\u5834\u60c5\u5831\u3092\u5b9a\u671f\u7684\u306b\u53ce\u96c6\u3059\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u308b\u30b7\u30ca\u30ea\u30aa\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306f\u3001\u3053\u306e\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">  \ndef retrive_market_data(currency_list):\n    try:\n        # Create the Connection\n        client = Client(os.environ['binance_api_key'],\n                        os.environ['binance_api_secret'])\n        currency_data = []\n        # Iterate the Currency List\n        for currency in currency_list:\n            # Get Crypto Information\n            tickers = client.get_ticker(symbol=str(currency))\n            currency_data.append(tickers)\n        # Create a DataFrame\n        currency_data_df = pd.DataFrame(currency_data)\n        # Return the DataFrame\n        return currency_data_df\n    except BaseException as error:\n        print(f\"Error Occuered: {error}\")\n  \n  \nif __name__ == \"__main__\":  \n    list = ['DOGEUSDT','BNBBTC','BTCUSDT','ETHUSDT']  \n    print(retrive_market_data(list))\n<\/code><\/pre>\n<\/div>\n<h5>\u7d50\u679c<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/B08whr8wg7nXCE2NOJrRqgqVhnqlpg9cYpVTmKUdCLTOjGzWcYQDNHEWwL5Tf5MFUPCZMJmJhe6JyfTdmfTRI5Wme7vtIiuvrtkxhpesBLYa4SMPthkIk7jku8-gxC-Nmk4lEnP8\" alt=\"\" \/><\/p>\n<h2>GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u30c7\u30fc\u30bf\u3092\u89e3\u6790\u3059\u308b<\/h2>\n<p>\u3055\u3066\u3001Binance API\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u305f\u306e\u3067\u3001\u6b21\u306b\u3053\u308c\u3089\u306e\u30c7\u30fc\u30bf\u3092GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u89e3\u6790\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u60c5\u5831\u3060\u3051\u304c\u5fc5\u8981\u3068\u306a\u308b\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>symbol<\/li>\n<li>piceChange<\/li>\n<li>priceChangePercent<\/li>\n<li>weightedAvgPrice<\/li>\n<li>prevClosePrice<\/li>\n<li>lastPrice<\/li>\n<li>openPrice<\/li>\n<li>highPrice<\/li>\n<li>lowPrice<\/li>\n<li>volume<\/li>\n<li>openTime<\/li>\n<li>closeTime<\/li>\n<\/ul>\n<p>\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u9001\u308b\u524d\u306b\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066Pandas DataFrame\u304b\u3089\u4e0d\u8981\u306a\u30ab\u30e9\u30e0\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u3067\u7c21\u5358\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">\nmarket_data.drop(columns=['lastQty','bidPrice','bidQty','askPrice','askQty', 'quoteVolume', 'firstId', 'lastId', 'count'],inplace=True)\n<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u5fc5\u8981\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u307b\u3068\u3093\u3069\u306e\u5024\u306ffloat\u5024\u306a\u306e\u3067\u3001\u6587\u5b57\u5217\u304b\u3089float\u306b\u5909\u63db\u3057\u3001\u300copenTime\u300d\u3068\u300ccloseTime\u300d\u306e\u5024\u3092Epoch\u304b\u3089TimeStamp\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">\n# Convert String to Float  \nmarket_data['priceChange'] = market_data['priceChange'].astype(float)  \nmarket_data['priceChangePercent'] = market_data['priceChangePercent'].astype(float)  \nmarket_data['weightedAvgPrice'] = market_data['weightedAvgPrice'].astype(float)  \nmarket_data['prevClosePrice'] = market_data['prevClosePrice'].astype(float)  \nmarket_data['lastPrice'] = market_data['lastPrice'].astype(float)  \nmarket_data['openPrice'] = market_data['openPrice'].astype(float)  \nmarket_data['highPrice'] = market_data['highPrice'].astype(float)  \nmarket_data['lowPrice'] = market_data['lowPrice'].astype(float)  \nmarket_data['volume'] = market_data['volume'].astype(float)  \n  \n# Convert from Time since Epoch  \nmarket_data['openTime'] = pd.to_datetime(market_data['openTime'], unit='ms')  \nmarket_data['closeTime'] = pd.to_datetime(market_data['closeTime'], unit='ms')\n<\/code><\/pre>\n<\/div>\n<h3>GridDB\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u3053\u308c\u3067\u30c7\u30fc\u30bf\u306e\u5909\u63db\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u30c7\u30fc\u30bf\u3092GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u633f\u5165\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u306e\u524d\u306b\u3001\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u305f\u3081\u306e\u9069\u5207\u306a\u30b3\u30f3\u30c6\u30ca\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306b\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u306b\u306f\u3001griddb_python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u304cPandas DataFrame\u3068GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4e21\u65b9\u306b\u30de\u30c3\u30c1\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">\nimport griddb_python as griddb\n\nfactory = griddb.StoreFactory.get_instance()\ntry:\n    # Get GridStore object\n    gridstore = factory.get_store(\n        host='10.10.10.100',\n        port=250,\n        cluster_name='default',\n        username='admin',\n        password='admin'\n    )\n\n    # Create Collection\n    containerName = \"Crypto_Data_Container\"\n    crypto_container = griddb.ContainerInfo(containerName,\n                    [[\"symbol\", griddb.Type.STRING],\n                     [\"priceChange\", griddb.Type.FLOAT],\n                     [\"priceChangePercent\", griddb.Type.FLOAT],\n                     [\"weightedAvgPrice\", griddb.Type.FLOAT],\n                     [\"prevClosePrice\", griddb.Type.FLOAT],\n                     [\"lastPrice\", griddb.Type.FLOAT],\n                     [\"openPrice\", griddb.Type.FLOAT],\n                     [\"highPrice\", griddb.Type.FLOAT],\n                     [\"lowPrice\", griddb.Type.FLOAT],\n                     [\"volume\", griddb.Type.FLOAT],\n                     [\"openTime\", griddb.Type.TIMESTAMP],\n                     [\"closeTime\", griddb.Type.TIMESTAMP]],\n                    griddb.ContainerType.COLLECTION, True)\n\n    data_container = gridstore.put_container(crypto_container)\n\nexcept griddb.GSException as e:\n    for i in range(e.get_error_stack_size()):\n        print(\"[\", i, \"]\")\n        print(e.get_error_code(i))\n        print(e.get_location(i))\n        print(e.get_message(i))\n<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306f\u3001griddb_python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001GridDB\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b<\/h3>\n<p>\u6700\u5f8c\u306b\u3001Binance API\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092GridDB\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u6e21\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u30c7\u30fc\u30bf\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30bb\u30c3\u30c8\u304c\u3067\u304d\u307e\u3057\u305f\u3002Pandas\u306e &#8220;marketdata &#8220;\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u306f\u3001\u89e3\u6790\u3055\u308c\u305f\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u306bGridDB\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002GridDB\u3067\u306f\u3001\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u305f\u3081\u306b\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u81ea\u4f53\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">\ndef insert_data(binance_data):\n    factory = griddb.StoreFactory.get_instance()\n    try:\n        # Get GridStore object\n        gridstore = factory.get_store(\n            host='10.10.10.100',\n            port=250,\n            cluster_name='default',\n            username='admin',\n            password='admin'\n        )\n\n        # Get the Collection\n        containerName = \"Crypto_Data_Container\"\n        data_container = gridstore.get_container(containerName)\n\n        # Insert the DataFrame data\n        data_container.put_rows(binance_data)\n\n    except griddb.GSException as e:\n        for i in range(e.get_error_stack_size()):\n            print(\"[\", i, \"]\")\n            print(e.get_error_code(i))\n            print(e.get_location(i))\n            print(e.get_message(i))\n<\/code><\/pre>\n<\/div>\n<p>\u4ee5\u4e0a\u3067\u3001Binance API\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u683c\u7d0d\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u30b5\u30fc\u30d0\u30fc\u306b\u914d\u5099\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fcron\u30b8\u30e7\u30d6\u3092\u4f7f\u7528\u3057\u3066\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3057\u3001\u30af\u30e9\u30a6\u30c9\u6a5f\u80fd\u3068\u3057\u3066\u914d\u5099\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u7528\u3057\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9a\u671f\u7684\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3059\u308b<\/h3>\n<p>\u30c7\u30fc\u30bf\u3092\u89e3\u6790\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u304b\u3089\u610f\u5473\u306e\u3042\u308b\u60c5\u5831\u3092\u62bd\u51fa\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4e0a\u8a18\u306e\u95a2\u6570\u30921\u9031\u9593\u6bce\u65e5\u5b9f\u884c\u3057\u305f\u3068\u4eee\u5b9a\u3057\u3066\u3001weightedAvgPrice\u3092\u4f7f\u7528\u3057\u3066\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u3001\u9078\u629e\u3057\u305f\u6697\u53f7\u901a\u8ca8\u306e\u5024\u52d5\u304d\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306f\u3001TQL\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066GridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u554f\u3044\u5408\u308f\u305b\u3066ETHUSDT\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u5f97\u3089\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30e9\u30a4\u30f3\u30c1\u30e3\u30fc\u30c8\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">from binance.client import Client\nimport griddb_python as griddb\nimport pandas as pd\n\ndef get_data(symbol):\n    factory = griddb.StoreFactory.get_instance()\n    try:\n        # Get GridStore object\n        gridstore = factory.get_store(\n            host='10.10.10.100',\n            port=250,\n            cluster_name='default',\n            username='admin',\n            password='admin'\n        )\n\n        # Get the Collection\n        containerName = \"Crypto_Data_Container\"\n        data_container = gridstore.get_container(containerName)\n\n        # Fetch all rows - Crypto_Data_Container\n        query_string = f\"select symbol, weightedAvgPrice, closeTime where symbol = '{symbol}'\"\n        query = data_container.query(query_string)\n        rs = query.fetch(False)\n        \n        # Create a List form the Crypto_Data_Container\n        retrieved_data= []\n        while rs.has_next():\n            data = rs.next()\n            retrieved_data.append(data)\n\n        return retrieved_data\n\n    except griddb.GSException as e:\n        for i in range(e.get_error_stack_size()):\n            print(\"[\", i, \"]\")\n            print(e.get_error_code(i))\n            print(e.get_location(i))\n            print(e.get_message(i))\n\nif __name__ == \"__main__\":\n    # Get the Necessary Data\n    crypto_data = get_data('ETHUSDT')\n    crypto_dataframe = pd.DataFrame(crypto_data, columns=['symbol', 'weightedAvgPrice', 'closeTime'])\n\n    # Create the Plot using Pandas\n    crypto_dataframe.sort_values('closeTime', ascending=True, inplace=True)\n    lines = crypto_dataframe.plot.line(x='closeTime', y=\"weightedAvgPrice\", figsize=(20, 10))<\/code><\/pre>\n<\/div>\n<h5>\u7d50\u679c<\/h5>\n<p><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/QbFBeANq3fbmF9WB4Loq-PTRRqGyRporUZEP1qAGcaJit2F9dJMNhyKZFLOv9JTr-R9dxMuthPdWX0Egcgu0w9h62s1z329Tmy7Vb3L_0HXVb678LpTQuQAL1Yy4XMUXlXUXQdM8\" alt=\"\" \/><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001API\u3068\u5bfe\u8a71\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3068\u3001\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u89e3\u6790\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u5927\u307e\u304b\u306b\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u30c7\u30fc\u30bf\u3092\u89e3\u6790\u3059\u308b\u969b\u306b\u6700\u3082\u91cd\u8981\u306a\u8981\u7d20\u306f\u3001\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u53d7\u3051\u5165\u308c\u308b\u6b63\u3057\u3044\u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u6a5f\u80fd\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u3042\u3089\u3086\u308b\u7d44\u7e54\u306e\u305f\u3081\u306e\u81ea\u52d5\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u5206\u6790\u6a5f\u80fd\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002Binance\u306f\u4e16\u754c\u6700\u5927\u7d1a\u306e\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u3067 [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":49234,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/parsing-api-data-to-griddb-using-binance-api\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/parsing-api-data-to-griddb-using-binance-api\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-21T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:54:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1272\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b\",\"datePublished\":\"2021-05-21T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/\"},\"wordCount\":88,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/\",\"name\":\"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg\",\"datePublished\":\"2021-05-21T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:36+00:00\",\"description\":\"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg\",\"width\":1920,\"height\":1272},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT","description":"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/parsing-api-data-to-griddb-using-binance-api\/","og_locale":"ja_JP","og_type":"article","og_title":"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT","og_description":"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/parsing-api-data-to-griddb-using-binance-api\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2021-05-21T07:00:00+00:00","article_modified_time":"2025-11-14T15:54:36+00:00","og_image":[{"width":1920,"height":1272,"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg","type":"image\/jpeg"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b","datePublished":"2021-05-21T07:00:00+00:00","dateModified":"2025-11-14T15:54:36+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/"},"wordCount":88,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/","name":"Binance API\u3092\u4f7f\u3063\u3066API\u30c7\u30fc\u30bf\u3092GridDB\u306b\u89e3\u6790\u3059\u308b | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg","datePublished":"2021-05-21T07:00:00+00:00","dateModified":"2025-11-14T15:54:36+00:00","description":"\u6697\u53f7\u901a\u8ca8\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u6280\u8853\u306b\u57fa\u3065\u304f\u5206\u6563\u578b\u306e\u30c7\u30b8\u30bf\u30eb\u901a\u8ca8\u3092\u63d0\u4f9b\u3057\u3001\u91d1\u878d\u5206\u91ce\u3067\u5727\u5012\u7684\u306a\u5b58\u5728\u611f\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6697\u53f7\u901a\u8ca8\u3092\u53d6\u5f15\u3059\u308b\u969b\u306b\u306f\u3001\u6697\u53f7\u901a\u8ca8\u53d6\u5f15\u6240\u304c","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/parsing-api-data-to-griddb-using-binance-api\/#primaryimage","url":"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg","contentUrl":"\/wp-content\/uploads\/2021\/05\/74734-chain-zip-bag_1920x1272.jpg","width":1920,"height":1272},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/comments?post=50742"}],"version-history":[{"count":1,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50742\/revisions"}],"predecessor-version":[{"id":51579,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50742\/revisions\/51579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media\/49234"}],"wp:attachment":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media?parent=50742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/categories?post=50742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/tags?post=50742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}