A python package to identify and parse order for trade execution.
Project description
|
|
|
Find My order, a parsing package to find trading order |
How to use it
from findmyorder import FindMyOrder
fmo = FindMyOrder()
msg_order = "buy EURUSD sl=1000 tp=1000 q=1 comment=FOMC"
order = await fmo.get_order(msg_order)
#{'action': 'BUY', 'instrument': 'EURUSD', 'stop_loss': '1000', 'take_profit': '1000', 'quantity': '2', 'order_type': None, 'leverage_type': None, 'comment': None, 'timestamp': datetime.datetime(2023, 5, 3, 12, 10, 28, 731282, tzinfo=datetime.timezone.utc)}
Example
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
findmyorder-1.7.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for findmyorder-1.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 543da6737b46308b913406573cab15d7358e1d289b957c60688058255145593a |
|
MD5 | fc077fa006d3b4686aa17b4d08148ba7 |
|
BLAKE2b-256 | 73f8fc30614ea40b3263833e978d16d47b6fc48f6aa1c10caa1fea891a951682 |