Place a buy and a sell order in one go on MetaTrader5
Project description
doubo
Place a buy and a sell order in one go on MetaTrader5.
Pre-requisite
doubo interacts with MetaTrader5 to place orders.
It is required to have MetaTrader5 installed before using doubo.
Installation
doubo can be installed using pip:
pip install doubo
Note that doubo depends on MetaTrader's official Python library, which is only available on Windows x86 platform.
Usage
As of v1.0, only real time market orders are supported:
doubo place <SYMBOL> <VOLUME> <STOP_LOSS_PIPS> <TAKE_PROFIT_PIPS>
An example command to place 0.01 double-end orders on EUR/USD forex with 50 pips stop loss and doubled take profit:
doubo place EURUSD 0.01 50 100
License
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
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 doubo-1.0.tar.gz.
File metadata
- Download URL: doubo-1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508ce8c05ac1ac4e1a49195696fd3f8769f05ff9f8da4cdedb072d99dbc19999
|
|
| MD5 |
70ef65b66aedb50d87a6e2720a01339c
|
|
| BLAKE2b-256 |
c51a8f6e28897d369f4dd5ed57a5732909e7dca1f2765d0ee9a377453cabcf1d
|
File details
Details for the file doubo-1.0-py3-none-any.whl.
File metadata
- Download URL: doubo-1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaaf8e0a68c155c5630bb5ff020cadde49a398ade44a2669d9877bf8f2f37213
|
|
| MD5 |
ceb033dfb40ca3236fd8ad64392fd3e3
|
|
| BLAKE2b-256 |
eb85921cfd766a85ae84e84c7d9dbbe3053d7c49f9e85b42dd4159a4d892113c
|