{"id":4593,"date":"2025-01-20T21:00:52","date_gmt":"2025-01-20T12:00:52","guid":{"rendered":"https:\/\/secondlife.lol\/?p=4593"},"modified":"2025-01-20T21:09:36","modified_gmt":"2025-01-20T12:09:36","slug":"trump-meme-coin-controversy","status":"publish","type":"post","link":"https:\/\/secondlife.lol\/zh\/trump-meme-coin-controversy\/","title":{"rendered":"\u7279\u6717\u666e\u6885\u6885\u5e01\uff1a\u4ef7\u683c\u8d8b\u52bf\u3001\u5229\u76ca\u51b2\u7a81\u4e89\u8bae\u4ee5\u53ca\u5982\u4f55\u7528 Python \u5c06\u5176\u53ef\u89c6\u5316"},"content":{"rendered":"<style>.kb-image4593_71e78a-10 .kb-image-has-overlay:after{opacity:0.3;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}.kb-image4593_71e78a-10 img.kb-img, .kb-image4593_71e78a-10 .kb-img img{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}<\/style>\n<div class=\"wp-block-kadence-image kb-image4593_71e78a-10\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1200\" height=\"715\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044.jpg\" alt=\"\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778 \uac00\uaca9 \ucd94\uc138 \uadf8\ub798\ud504 \uc774\ubbf8\uc9c0\" class=\"kb-img wp-image-4594\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044.jpg 1200w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044-300x179.jpg 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044-600x358.jpg 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044-768x458.jpg 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4044-18x12.jpg 18w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><figcaption>($TRUMP Memecoin \u4ef7\u683c\u8d8b\u52bf)<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u4f60\u542c\u8bf4\u8fc7 \"\u7279\u6717\u666e\u7eaa\u5ff5\u5e01\uff08$TRUMP\uff09\"\u5417\uff1f\u5b83\u662f\u76ee\u524d\u52a0\u5bc6\u8d27\u5e01\u5e02\u573a\u4e0a\u6700\u70ed\u95e8\u7684\u8bdd\u9898\u4e4b\u4e00\uff01\u8fd9\u679a\u7531\u7f8e\u56fd\u5f53\u9009\u603b\u7edf\u7279\u6717\u666e\u4eb2\u81ea\u63a8\u51fa\u7684\u7eaa\u5ff5\u5e01\u4e0d\u4ec5\u4ec5\u662f\u597d\u73a9\uff0c\u5b83\u8fd8\u88ab\u89c6\u4e3a\u4e00\u79cd\u653f\u6cbb\u8c61\u5f81\u548c\u6295\u8d44\u3002<\/p>\n\n\n\n<p>\u7279\u522b\u662f $TRUMP \u7684\u4ef7\u683c\u8d70\u52bf\u548c\u7279\u6717\u666e\u5907\u5fd8\u5f55\u5e01\u7684\u5e02\u503c\u81ea\u63a8\u51fa\u4ee5\u6765\u4e00\u76f4\u5448\u7206\u70b8\u5f0f\u589e\u957f\uff0c\u5438\u5f15\u4e86\u5927\u91cf\u5173\u6ce8\u3002 \u7136\u800c\uff0c\u5b83\u4e5f\u5f15\u53d1\u4e86\u5229\u76ca\u51b2\u7a81\u4e89\u8bae\u7b49\u6cd5\u5f8b\u548c\u9053\u5fb7\u95ee\u9898\u3002 <\/p>\n\n\n\n<p>\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u4e86\u89e3\u4e00\u4e0b\u7279\u6717\u666e\u5e01\u7684\u80cc\u666f\u548c\u73b0\u72b6\uff0c\u751a\u81f3\u6559\u4f60\u5982\u4f55\u7528 Python \u4ee3\u7801\u6765\u53ef\u89c6\u5316\u5b83\u7684\u4ef7\u683c\u6ce2\u52a8\u3002 \u672c\u7bc7\u6587\u7ae0\u7ed3\u675f\u65f6\uff0c\u5373\u4f7f\u4f60\u662f\u52a0\u5bc6\u8d27\u5e01\u521d\u5b66\u8005\uff0c\u4e5f\u4f1a\u5bf9\u5b83\u6709\u4e00\u4e2a\u5f88\u597d\u7684\u4e86\u89e3\uff01<\/p>\n\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{color:var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{color:var(--global-palette2, #2B6CB0);font-size:28px;font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list{color:var(--global-palette1, #3182CE);line-height:2em;font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list .kb-table-of-contents__entry:hover{color:var(--global-palette6, #718096);}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}@media all and (max-width: 767px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}<\/style>\n\n\n<h2 class=\"wp-block-heading\">\u4ec0\u4e48\u662f\u7279\u6717\u666e\u7eaa\u5ff5\u5e01\uff1f<\/h2>\n\n\n\n<p>Mimecoin \u672c\u8d28\u4e0a\u662f\u4e00\u79cd <strong>\u4e3a\u4e50\u8da3\u548c\u793e\u533a\u6fc0\u60c5\u800c\u751f\u7684\u52a0\u5bc6\u8d27\u5e01<\/strong>\u4ee3\u5e01\u3002\u4f8b\u5982 Dogecoin \u548c Shiba Inu\uff0c\u4f46 Trump MemeCoin \u6709\u70b9\u4e0d\u540c\u3002<\/p>\n\n\n<style>.kb-image4593_82f8d9-89 .kb-image-has-overlay:after{opacity:0.3;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}.kb-image4593_82f8d9-89 img.kb-img, .kb-image4593_82f8d9-89 .kb-img img{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}<\/style>\n<div class=\"wp-block-kadence-image kb-image4593_82f8d9-89\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"600\" height=\"699\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4042-600x699.jpeg\" alt=\"$TRUMPH \ubc08\ucf54\uc778 \ubc1c\ud589 \uc54c\ub9bc X \uc774\ubbf8\uc9c0\" class=\"kb-img wp-image-4596\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4042-600x699.jpeg 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4042-300x349.jpeg 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4042-10x12.jpeg 10w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/IMG_4042.jpeg 700w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption>(\u8d44\u6599\u6765\u6e90 <a href=\"https:\/\/x.com\/realdonaldtrump\">\u7279\u6717\u666e X<\/a> )<\/figcaption><\/figure><\/div>\n\n\n\n<p>$TRUMP \u4e8e 2025 \u5e74 1 \u6708 17 \u65e5\u63a8\u51fa\uff0c\u662f\u7531\u7f8e\u56fd\u524d\u603b\u7edf\u5510\u7eb3\u5fb7-\u7279\u6717\u666e\u4eb2\u81ea\u53d1\u884c\u7684\u4e00\u79cd\u786c\u5e01\uff0c\u5177\u6709\u653f\u6cbb\u8c61\u5f81\u610f\u4e49\u548c\u6295\u8d44\u4ef7\u503c\u3002\u81ea\u63a8\u51fa\u4ee5\u6765\uff0c\u5b83\u7684\u4ef7\u683c\u5927\u5e45\u4e0a\u6da8\uff0c\u5f15\u8d77\u4e86\u5e7f\u6cdb\u5173\u6ce8\uff0c\u4f7f\u5176\u6709\u522b\u4e8e\u5176\u4ed6\u7eaa\u5ff5\u5e01\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7279\u6717\u666e\u7eaa\u5ff5\u5e01\u5e02\u503c\u548c\u4ef7\u683c\u8d70\u52bf<\/h2>\n\n\n\n<p>\u7279\u6717\u666e\u786c\u5e01\u7684\u4ef7\u683c\u662f <strong>\u53d1\u5c04\u65e5\u4e3a 0.41<\/strong>\u4ece\u90a3\u65f6\u8d77\uff0c\u5b83\u7ee7\u7eed\u7a33\u6b65\u4e0a\u626c\uff0c\u5728 2010 \u5e74 1 \u6708 1 \u65e5\u8fbe\u5230 33.87 \u7f8e\u5143\u3002 <strong>\u622a\u81f3 2025 \u5e74 1 \u6708 19 \u65e5\u7ea6\u4e3a 45.91 \u7f8e\u5143<\/strong>\u5e76\u5728<\/p>\n\n\n\n<p>\u5e02\u503c\u4e5f\u4ee5\u60ca\u4eba\u7684\u901f\u5ea6\u589e\u957f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53d1\u5c04\u9996\u65e5\u7ea6 76 \u4ebf\u7f8e\u5143<\/li>\n\n\n\n<li>\u4e09\u5929\u540e\uff0c\u5b83\u5728\u6240\u6709\u52a0\u5bc6\u8d27\u5e01\u4e2d\u6392\u540d\u7b2c 19 \u4f4d\uff0c\u4ef7\u503c\u7ea6 91 \u4ebf\u7f8e\u5143<\/li>\n<\/ul>\n\n\n\n<p>\u56e0\u6b64\uff0c$TRUMP \u4e0d\u4ec5\u4ec5\u662f\u4e00\u79cd\u7eaa\u5ff5\u5e01\uff0c\u5b83\u8fd8\u662f\u5e02\u573a\u4e0a\u4e00\u80a1\u5f3a\u5927\u7684\u529b\u91cf\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5229\u76ca\u51b2\u7a81\u4e89\u8bae\uff1a\u7279\u6717\u666e\u786c\u5e01\u7684\u9634\u5f71\u3002<\/h2>\n\n\n\n<p>$TRUMP \u5c3d\u7ba1\u6210\u529f\u8fdb\u5165\u4e86\u5e02\u573a\uff0c\u5374\u9762\u4e34\u7740\u4e00\u7cfb\u5217\u9053\u5fb7\u548c\u6cd5\u5f8b\u6311\u6218\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u96c6\u4e2d\u6240\u6709\u6743<\/strong>80% \u7684 $TRUMP \u6d41\u901a\u4f9b\u5e94\u96c6\u4e2d\u5728\u7279\u6717\u666e\u96c6\u56e2\u7684\u5173\u8054\u516c\u53f8\uff0c\u8fd9\u5c31\u589e\u52a0\u4e86\u64cd\u7eb5\u5e02\u573a\u7684\u53ef\u80fd\u6027\u3002<\/li>\n\n\n\n<li><strong>\u5bf9\u5229\u7528\u603b\u7edf\u804c\u4f4d\u7684\u62c5\u5fe7<\/strong>\u4ed6\u88ab\u6279\u8bc4\u5728\u5c31\u804c\u5178\u793c\u524d\u4e0d\u4e45\u53d1\u884c\u786c\u5e01\u4ee5\u8c0b\u53d6\u79c1\u5229\u3002<\/li>\n\n\n\n<li><strong>\u5916\u56fd\u653f\u5e9c\u53ef\u80fd\u8fdb\u884c\u5e72\u9884<\/strong>\u8fd8\u6709\u4eba\u62c5\u5fc3\uff0c\u5916\u56fd\u653f\u5e9c\u6216\u516c\u53f8\u53ef\u80fd\u4f1a\u8d2d\u4e70\u8fd9\u79cd\u786c\u5e01\uff0c\u4ee5\u8ba8\u597d\u7279\u6717\u666e\u3002<\/li>\n\n\n\n<li><strong>\u6295\u8d44\u8005\u4fdd\u62a4\u95ee\u9898<\/strong>\u6295\u8d44\u98ce\u9669\uff1a\u9ad8\u5ea6\u6295\u673a\u7684\u7ed3\u6784\u4f7f\u6295\u8d44\u8005\u9762\u4e34\u5de8\u5927\u7684\u4e8f\u635f\u98ce\u9669\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u867d\u7136\u7279\u6717\u666e\u7684\u9635\u8425\u575a\u79f0\u8fd9\u4e9b\u6279\u8bc4 \"\u6ca1\u6709\u653f\u6cbb\u52a8\u673a\"\uff0c\u4f46\u4e89\u8bae\u4e0d\u4f1a\u5f88\u5feb\u6d88\u5931\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528 Python \u5bf9 $TRUMP \u4ef7\u683c\u8d8b\u52bf\u8fdb\u884c\u53ef\u89c6\u5316\u5206\u6790<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u4ee3\u7801\u5757<\/h3>\n\n\n\n<p>\u4e0b\u9762\u662f\u6839\u636e $TRUMP \u7684\u4ef7\u683c\u6570\u636e\u7ed8\u5236\u7b80\u5355\u6298\u7ebf\u56fe\u7684 Python \u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import matplotlib.pyplot as plt\nimport pandas as pd\n\n# $TRUMP \u4ef7\u683c\u6570\u636e\uff08\u793a\u4f8b\u6570\u636e\uff09\n\u6570\u636e = {\n    \u65e5\u671f['2025-01-17', '2025-01-18', '2025-01-19', '2025-01-20'],\n    \u4ef7\u683c[0.41, 33.87, 45.91, 47.36] # \u4ef7\u683c\uff08\u7f8e\u5143\uff09\n}\n\n\u8ba1\u7b97 # \u589e\u957f\u7387\ndef calculate_growth(prices)\uff1a\n    [0] # \u589e\u957f\u7387 = [0] # \u7b2c\u4e00\u5929\u7684\u589e\u957f\u7387\u4e3a 0%\n    for i in range(1, len(prices))\uff1a\n        growth.append(((prices[i] - prices[i-1]) \/ prices[i-1]))* 100)\n    \u8fd4\u56de\u589e\u957f\u7387\n\n\u521b\u5efa # \u6570\u636e\u6846\ndf = pd.DataFrame(data)\n\n\u6dfb\u52a0 # \u589e\u957f\u7387\ndf['Growth (%)'] = calculate_growth(df['Price'])\n\n# \u8f6c\u6362\u65e5\u671f\u683c\u5f0f\ndf['Date'] = pd.to_datetime(df['Date'])\n\n\u521b\u5efa # \u56fe\u8868\nplt.figure(figsize=(10, 6))\nplt.plot(df['Date'], df['Price'], marker='o', linestyle='-', color='b', label='Price (USD)')\n\n\u6dfb\u52a0 # \u6807\u7b7e\nfor i, row in df.iterrows()\uff1a\n    plt.text(row['Date'], row['Price'], f\"{row['Price']}\\n({row['Growth (%)']:.2f}%)\", fontsize=9, ha='center')\n\nplt.title('$TRUMP \u4ef7\u683c\u5386\u53f2\u53ca\u589e\u957f\u7387', fontsize=16)\nplt.xlabel('Date', fontsize=12)\nplt.ylabel('\u4ef7\u683c\uff08\u7f8e\u5143\uff09', fontsize=12)\nplt.grid(True)\nplt.xticks(rotation=45)\nplt.legend()\nplt.tight_layout()\n\n\u8f93\u51fa # \u56fe\u8868\nplt.show()<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u7ed3\u8bba\u4e0e\u5c55\u671b<\/h2>\n\n\n\n<p>Trump Memecoin \u662f\u4e00\u79cd\u72ec\u7279\u7684\u52a0\u5bc6\u8d27\u5e01\uff0c\u5b83\u4e0d\u4ec5\u4ec5\u662f\u597d\u73a9\u800c\u5df2\u3002 \u5b83\u7684\u5feb\u901f\u589e\u957f\u548c\u9ad8\u5229\u606f\u5bf9\u6295\u8d44\u8005\u5f88\u6709\u5438\u5f15\u529b\uff0c\u4f46\u5b83\u7684\u6295\u673a\u6027\u548c\u5229\u76ca\u51b2\u7a81\u4e89\u8bae\u4e5f\u4f7f\u5b83\u5907\u53d7\u9752\u7750\u3002<\/p>\n\n\n\n<p>\u987a\u4fbf\u8bf4\u4e00\u4e0b\uff0c\u63d0\u5230\u52a0\u5bc6\u8d27\u5e01\uff0c\u4f60\u4f1a\u60f3\u5230\u6bd4\u7279\u5e01\uff0c\u5bf9\u5417\uff1f <a href=\"https:\/\/secondlife.lol\/zh\/30-day-bitcoin-usd-chart-python-cryptocompare-api\/\" data-type=\"post\" data-id=\"3557\">\u4f7f\u7528 Python \u548c CryptoCompare API \u5206\u6790 30 \u5929\u6bd4\u7279\u5e01\u7f8e\u5143\u56fe\u8868<\/a> \u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u70b9\u51fb\u6b64\u5904\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"># \u4ee3\u7801\u8bf4\u660e<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5bfc\u5165\u6240\u9700\u7684\u5e93\u3002\nimport matplotlib.pyplot as plt # \u7528\u4e8e\u7ed8\u5236\u56fe\u5f62\u7684\u5e93\nimport pandas as pd # \u7528\u4e8e\u5904\u7406\u6570\u636e\u7684\u5e93\n\n# $TRUMP \u4ef7\u683c\u6570\u636e\uff08\u793a\u4f8b\u6570\u636e\uff09\n\u6570\u636e = {\n    \u65e5\u671f['2025-01-17'\u3001'2025-01-18'\u3001'2025-01-19'\u3001'2025-01-20']\uff0c# \u65e5\u671f\u5217\u8868\n    \u4ef7\u683c[0.41, 33.87, 45.91, 47.36] # \u4ef7\u683c\u8868\uff08\u7f8e\u5143\uff09\n}\n\n\u5b9a\u4e49\u8ba1\u7b97 # \u589e\u957f\u7387\u7684\u51fd\u6570\u3002\ndef calculate_growth(prices)\uff1a\n    growth = [0] # \u7b2c 1 \u5929\u5f00\u59cb\uff0c\u589e\u957f\u7387\u4e3a 0%\n    for i in range(1, len(prices))\uff1a  # \u5bf9\u7b2c\u4e8c\u5929\u81f3\u6700\u540e\u4e00\u5929\u91cd\u590d\u8ba1\u7b97\n        # \u8ba1\u7b97\u524d\u4e00\u5929\u7684\u589e\u957f\u7387\uff0c\u5e76\u4ee5\u767e\u5206\u6bd4\u663e\u793a\n        growth.append(((prices[i] - prices[i-1]) \/ prices[i-1]))* 100)\n    return growth # \u8fd4\u56de\u8ba1\u7b97\u51fa\u7684\u589e\u957f\u7387\u5217\u8868\n\n\u521b\u5efa # \u6570\u636e\u6846\ndf = pd.DataFrame(data) \u5c06 # \u5b57\u5178\u6570\u636e\u8f6c\u6362\u4e3a pandas DataFrame\n\n\u6dfb\u52a0 # \u589e\u957f\u7387\ndf['Growth (%)'] = calculate_growth(df['Price']) # \u6dfb\u52a0\u5217 \"Growth (%) \"\u5e76\u4fdd\u5b58\u589e\u957f\u8ba1\u7b97\u7ed3\u679c\n\n# \u8f6c\u6362\u65e5\u671f\u683c\u5f0f\ndf['Date'] = pd.to_datetime(df['Date']) # \u5c06\u5217 \"\u65e5\u671f \"\u8f6c\u6362\u4e3a\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\n\n# \u521b\u5efa\u56fe\u8868\nplt.figure(figsize=(10, 6)) \u8bbe\u7f6e # \u56fe\u8868\u7684\u5927\u5c0f\uff08\u6a2a\u5411 10\uff0c\u7eb5\u5411 6\uff09\nplt.plot(df['Date'], df['Price'], marker='o', linestyle='-', color='b', label='Price (USD)')\n# \u7ed8\u5236\u4ee5\u65e5\u671f\u4e3a x \u8f74\u3001\u4ef7\u683c\u4e3a y \u8f74\u7684\u6298\u7ebf\u56fe\n# marker='o'\uff1a\u7528\u5706\u5708\u6807\u8bb0\u6bcf\u4e2a\u6570\u636e\u70b9\n# linestyle='-'\uff1a\u7528\u5b9e\u7ebf\u8fde\u63a5\n# color='b'\uff1a\u8bbe\u7f6e\u4e3a\u84dd\u8272\n# label='\u4ef7\u683c\uff08\u7f8e\u5143\uff09'\uff1a\u56fe\u4f8b\u4e2d\u8981\u663e\u793a\u7684\u6807\u7b7e\n\n\u6dfb\u52a0 # \u6807\u7b7e\nfor i, row in df.iterrows()\uff1a  # \u91cd\u590d\u6570\u636e\u5e27\u4e2d\u7684\u6bcf\u4e00\u884c\n    plt.text(row['Date'], row['Price'], # \u6587\u672c\u4f4d\u7f6e (x, y)\n             f\"{row['Price']}\\n({row['Growth (%)']:.2f}%)\", # \u8981\u663e\u793a\u7684\u6587\u672c\uff08\u4ef7\u683c\u548c\u589e\u957f\u7387\uff09\n             fontsize=9, ha='center') # \u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u548c\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f\n\n# \u8bbe\u7f6e\u56fe\u8868\u6807\u9898\nplt.title('$TRUMP \u4ef7\u683c\u5386\u53f2\u53ca\u589e\u957f\u7387', fontsize=16)\n\n# \u8bbe\u7f6e x \u8f74\u6807\u7b7e\nplt.xlabel('Date', fontsize=12)\n\n\u8bbe\u7f6e # y \u8f74\u6807\u7b7e\nplt.ylabel('Price (USD)', fontsize=12)\n\n\u663e\u793a # \u7f51\u683c\nplt.grid(True)\n\n\u65cb\u8f6c # x \u8f74\u65e5\u671f\u6807\u7b7e\nplt.xticks(rotation=45)\n\n\u663e\u793a # \u56fe\u4f8b\nplt.legend()\n\n\u8c03\u6574 # \u56fe\u8868\u7684\u5e03\u5c40\nplt.tight_layout()\n\n\u663e\u793a # \u56fe\u8868\nplt.show()<\/code><\/pre>\n\n\n<style>.kb-image4457_249bea-0c.kb-image-is-ratio-size, .kb-image4457_249bea-0c .kb-image-is-ratio-size{max-width:300px;width:100%;}.wp-block-kadence-column > .kt-inside-inner-col > .kb-image4457_249bea-0c.kb-image-is-ratio-size, .wp-block-kadence-column > .kt-inside-inner-col > .kb-image4457_249bea-0c .kb-image-is-ratio-size{align-self:unset;}.kb-image4457_249bea-0c figure{max-width:300px;}.kb-image4457_249bea-0c .image-is-svg, .kb-image4457_249bea-0c .image-is-svg img{width:100%;}.kb-image4457_249bea-0c .kb-image-has-overlay:after{opacity:0.3;}<\/style>\n<div class=\"wp-block-kadence-image kb-image4457_249bea-0c\"><figure class=\"aligncenter size-medium\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-300x300.webp\" alt=\"\ud14c\ub9ac \uc774\ubaa8\ud2f0\ucf58\" class=\"kb-img wp-image-4456\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-300x300.webp 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-600x600.webp 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-150x150.webp 150w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-768x768.webp 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding-12x12.webp 12w, https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/teri-coding.webp 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption><strong>(\u5feb\u4e50\u7f16\u7801\uff09<\/strong><\/figcaption><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>&#8220;\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778($TRUMP)&#8221;\uc774\ub77c\ub294 \ub2e8\uc5b4\ub97c \ub4e4\uc5b4\ubcf4\uc168\ub098\uc694? \uc694\uc998 \uc554\ud638\ud654\ud3d0 \uc2dc\uc7a5\uc5d0\uc11c \uac00\uc7a5 \ub728\uac70\uc6b4 \ud654\uc81c&#8230;<\/p>","protected":false},"author":3,"featured_media":4601,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[3],"tags":[795,791,521,793,790,792,794,450],"class_list":["post-4593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-coding","tag-trump--","tag-791","tag-521","tag-793","tag-790","tag-792","tag-794","tag-450"],"taxonomy_info":{"category":[{"value":3,"label":"\ud30c\uc774\uc36c(Python)"}],"post_tag":[{"value":795,"label":"$TRUMP \ubc08\ucf54\uc778 \uac00\uaca9"},{"value":791,"label":"\ubc08\ucf54\uc778\uc774\ub780"},{"value":521,"label":"\uc554\ud638\ud654\ud3d0 \ubd84\uc11d"},{"value":793,"label":"\uc774\ud574\ucda9\ub3cc \ub17c\ub780"},{"value":790,"label":"\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778"},{"value":792,"label":"\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778 \uc2dc\uac00\ucd1d\uc561"},{"value":794,"label":"\ud2b8\ub7fc\ud504 \ucf54\uc778"},{"value":450,"label":"\ud30c\uc774\uc36c \uc2dc\uac01\ud654"}]},"featured_image_src_large":["https:\/\/secondlife.lol\/wp-content\/uploads\/2025\/01\/\ud2b8\ub7fc\ud504-\ubc08\ucf54\uc778-\ud3ec\uc2a4\ud2b8-\uc378\ub124\uc77c-600x600.jpg",600,600,true],"author_info":{"display_name":"TERE","author_link":"https:\/\/secondlife.lol\/zh\/author\/tere\/"},"comment_info":0,"category_info":[{"term_id":3,"name":"\ud30c\uc774\uc36c(Python)","slug":"python-coding","term_group":0,"term_taxonomy_id":3,"taxonomy":"category","description":"","parent":20,"count":116,"filter":"raw","cat_ID":3,"category_count":116,"category_description":"","cat_name":"\ud30c\uc774\uc36c(Python)","category_nicename":"python-coding","category_parent":20}],"tag_info":[{"term_id":795,"name":"$TRUMP \ubc08\ucf54\uc778 \uac00\uaca9","slug":"trump-%eb%b0%88%ec%bd%94%ec%9d%b8-%ea%b0%80%ea%b2%a9","term_group":0,"term_taxonomy_id":795,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":791,"name":"\ubc08\ucf54\uc778\uc774\ub780","slug":"%eb%b0%88%ec%bd%94%ec%9d%b8%ec%9d%b4%eb%9e%80","term_group":0,"term_taxonomy_id":791,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":521,"name":"\uc554\ud638\ud654\ud3d0 \ubd84\uc11d","slug":"%ec%95%94%ed%98%b8%ed%99%94%ed%8f%90-%eb%b6%84%ec%84%9d","term_group":0,"term_taxonomy_id":521,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw"},{"term_id":793,"name":"\uc774\ud574\ucda9\ub3cc \ub17c\ub780","slug":"%ec%9d%b4%ed%95%b4%ec%b6%a9%eb%8f%8c-%eb%85%bc%eb%9e%80","term_group":0,"term_taxonomy_id":793,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":790,"name":"\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778","slug":"%ed%8a%b8%eb%9f%bc%ed%94%84-%eb%b0%88%ec%bd%94%ec%9d%b8","term_group":0,"term_taxonomy_id":790,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":792,"name":"\ud2b8\ub7fc\ud504 \ubc08\ucf54\uc778 \uc2dc\uac00\ucd1d\uc561","slug":"%ed%8a%b8%eb%9f%bc%ed%94%84-%eb%b0%88%ec%bd%94%ec%9d%b8-%ec%8b%9c%ea%b0%80%ec%b4%9d%ec%95%a1","term_group":0,"term_taxonomy_id":792,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":794,"name":"\ud2b8\ub7fc\ud504 \ucf54\uc778","slug":"%ed%8a%b8%eb%9f%bc%ed%94%84-%ec%bd%94%ec%9d%b8","term_group":0,"term_taxonomy_id":794,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":450,"name":"\ud30c\uc774\uc36c \uc2dc\uac01\ud654","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%8b%9c%ea%b0%81%ed%99%94","term_group":0,"term_taxonomy_id":450,"taxonomy":"post_tag","description":"","parent":0,"count":18,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/comments?post=4593"}],"version-history":[{"count":7,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4593\/revisions"}],"predecessor-version":[{"id":4603,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4593\/revisions\/4603"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media\/4601"}],"wp:attachment":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media?parent=4593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/categories?post=4593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/tags?post=4593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}