BFJ manager api for python user
Project description
SIGMATMPY
SIGMATMPY-library is an APIRequest driven trading and monitoring platform. Each functionality (trades, price etc.) is represented by it's own class covering all aspect of that functionality.
Getting Started 使用指南
Installation 安装
$ pip install sigmatmpy
Usage example 使用示例
import sigmatmpy
# initualize APIRequest token
username = 'username'
password = 'password'
API = sigmatmpy.API(username,password)
# open_order(symbol, cmd, volume, price, slippage, stoploss, takeprofit)
API.open_order('EURUSD',1,0.01,1.18245,3,0,0)
# close_order(ticket, volume, price)
API.close_order(9999999,0.01,1.18245)
# trades_user_history(login , start_time, end_time)
API.trades_user_history(99999999, '2021-07-04 000000', '2021-07-16 075150')
# trades_user_history_user(login , start_time, end_time)
API.trades_user_history_user('2021-07-04 000000', '2021-07-16 075150')
# trades_user_history2(login , start_time_ctm, end_time_ctm)
API.trades_user_history2(99999999, 1625991769, 1626423769)
# trades_user_history2_user(login , start_time_ctm, end_time_ctm)
API.trades_user_history2_user(1625991769, 1626423769)
Release History 版本历史
Authors 关于作者
- SIGMATM - Initial work - [SIGMATM]
查看更多关于这个项目的贡献者,请阅读 contributors
License 授权协议
这个项目 MIT 协议, 请点击 LICENSE.md 了解更多细节。
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
sigmatmpy-0.0.10.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file sigmatmpy-0.0.10.tar.gz
.
File metadata
- Download URL: sigmatmpy-0.0.10.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedc5d319433fae0ccbc88ac02514ea75350d051c84d960e136bf48209c72c1f |
|
MD5 | a42eaccc8f41e0dd9ebbe840f44b7519 |
|
BLAKE2b-256 | 692aa1ba900fdfc6d7b8590d8b99838e832105732a781b7f70f2d108d77820df |
File details
Details for the file sigmatmpy-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: sigmatmpy-0.0.10-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda34d141c2646f95eecc92d06f63eb74d3f8629a18427f87956a25f8e043704 |
|
MD5 | a60903b865f561191781cdae9bd176a4 |
|
BLAKE2b-256 | 33d2e7b215fd5e2570973764300c42bfe0302826bb65825070d9fb9667ae96a6 |