行情要從 Server 收。
圖,也就只能從我的 Server 上執行的 Redis 取得資訊後再來畫。
❯ pip install pandas_ta
Collecting pandas_ta
Downloading pandas_ta-0.3.14b.tar.gz (115 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.1/115.1 kB 1.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pandas (from pandas_ta)
Downloading pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl.metadata (89 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.9/89.9 kB 2.9 MB/s eta 0:00:00
Collecting numpy>=1.26.0 (from pandas->pandas_ta)
Downloading numpy-2.1.1-cp312-cp312-macosx_14_0_x86_64.whl.metadata (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.9/60.9 kB 2.1 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.8.2 in /Users/nipapa/.pyenv/versions/3.12.3/lib/python3.12/site-packages (from pandas->pandas_ta) (2.9.0.post0)
Collecting pytz>=2020.1 (from pandas->pandas_ta)
Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas->pandas_ta)
Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)
Requirement already satisfied: six>=1.5 in /Users/nipapa/.pyenv/versions/3.12.3/lib/python3.12/site-packages (from python-dateutil>=2.8.2->pandas->pandas_ta) (1.16.0)
Downloading pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl (12.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 MB 25.3 MB/s eta 0:00:00
Downloading numpy-2.1.1-cp312-cp312-macosx_14_0_x86_64.whl (6.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 21.9 MB/s eta 0:00:00
Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.0/508.0 kB 13.7 MB/s eta 0:00:00
Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.6/346.6 kB 11.3 MB/s eta 0:00:00
Building wheels for collected packages: pandas_ta
Building wheel for pandas_ta (pyproject.toml) ... done
Created wheel for pandas_ta: filename=pandas_ta-0.3.14b0-py3-none-any.whl size=218909 sha256=32738fb0f43e724300610cced89d9f7c1e264b63518f5e302d07e9b71165e385
Stored in directory: /Users/nipapa/Library/Caches/pip/wheels/fd/ed/18/2a12fd1b7906c63efca6accb351929f2c7f6bbc674e1c0ba5d
Successfully built pandas_ta
Installing collected packages: pytz, tzdata, numpy, pandas, pandas_ta
Successfully installed numpy-2.1.1 pandas-2.2.3 pandas_ta-0.3.14b0 pytz-2024.2 tzdata-2024.2
scp -i 主機金鑰.pem -r <開發目錄> ubuntu@遠端IP:/遠端目錄路徑
扔上去了。