システムトレーディングに必要な計算や便利なPythonライブラリをまとめたパッケージ
Project description
kabu-json-lib
システムトレーディングに必要な計算や便利なPythonライブラリをまとめたパッケージです。
機能一覧
- bp関数: パーセント表記をベーシスポイント(bp)に変換します。
- fetch_now関数: 現在の日本時間をdatetimeオブジェクトで返します。
インストール方法
pip install kabu-json-lib
使い方
from kabu_json_lib import bp, fetch_now
print(bp(0.05)) # 500
print(bp(None)) # None
now = fetch_now()
print(now) # 2023-10-01 12:34:56+09:00
リポジトリ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kabu_json_lib-0.1.4.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kabu_json_lib-0.1.4.tar.gz.
File metadata
- Download URL: kabu_json_lib-0.1.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
180eec335fc19f97557c2d2b359fc510b4ef1e3315cadb77e16b97062dbbddaf
|
|
| MD5 |
cb4bc3b380b58b6d81c4f987f322c627
|
|
| BLAKE2b-256 |
faf64eb604fe5961208c201e869475546b325b658edacb883e04d25d6e79d5fc
|
File details
Details for the file kabu_json_lib-0.1.4-py3-none-any.whl.
File metadata
- Download URL: kabu_json_lib-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a218d4225f7dc357d16351e9e0bbe3e19431480a9249dd66ead6514157f30ba9
|
|
| MD5 |
d93e25acf776b20dd5bedeb5a8cf382a
|
|
| BLAKE2b-256 |
971e67074619fbbc6638a502a405c3f6f56d136e7fda5fda55c5e660a1feaa7a
|