Skip to main content

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


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.7.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

sigmatmpy-0.0.7-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file sigmatmpy-0.0.7.tar.gz.

File metadata

  • Download URL: sigmatmpy-0.0.7.tar.gz
  • Upload date:
  • Size: 4.3 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

Hashes for sigmatmpy-0.0.7.tar.gz
Algorithm Hash digest
SHA256 99f8b40622b9cfb6abebc4d696a478a8bcab1429eaa0295982c4c8919b206949
MD5 068c0763a0ca42833d50a096e84ac311
BLAKE2b-256 b7af29d5a815e28441014cda88de574844d52ce4b39731db6105c577d0702a6c

See more details on using hashes here.

File details

Details for the file sigmatmpy-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: sigmatmpy-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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

Hashes for sigmatmpy-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f1c0246efb457d6bc67797c89dbb9938311e8767094692732dd54e2f8b6974
MD5 b97a83d6d7e85dcd399c5c7f2622af4f
BLAKE2b-256 da50ca9c9e91a440cb26baa136a681b4697cf076ef83d7b3d39a0417f315a72b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page