Skip to main content

A python package to identify and parse order for trade execution.

Project description

Find my order

Logo A python package to identify and
parse order for trade execution.
Pypi Version
Pypi
Build codecov
Find & Parse a trade order for execution

Key features:

  • Identify an order with word BUY SELL LONG SHORT or your own Bull, to the moon, pump via config file
  • Parse and return a structured order with action and instrument as mandatory
  • Settings for custom option

Install

pip install findmyorder

How to use it

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

example

Real use case

TalkyTrader, submit trading order to CEX & DEX with messaging platform (Telegram, Matrix and Discord)

Documentation

Wiki

Questions? Want to help?

discord telegram

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

findmyorder-1.3.13-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file findmyorder-1.3.13.tar.gz.

File metadata

  • Download URL: findmyorder-1.3.13.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for findmyorder-1.3.13.tar.gz
Algorithm Hash digest
SHA256 f0fc7128c7fdd8f495812be3483b135a7963574c97ef5320ed5a96bb95cd9ccf
MD5 3314cec27a67d5ad790dc66e7de9ceae
BLAKE2b-256 cd5f54f52740c0cf041ebf8687c6dac4485b907a258c15f42933da269bc6743f

See more details on using hashes here.

File details

Details for the file findmyorder-1.3.13-py3-none-any.whl.

File metadata

  • Download URL: findmyorder-1.3.13-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for findmyorder-1.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a1d26f73aa352a48b41ca095ae19c25991c0eecc3d5618f1931ca41d5fd6041a
MD5 a74a0a34b49d8d9d6940f19a2ad88b4e
BLAKE2b-256 2b149dc006eb608fc2520995ced4981ddf4e4bb2d337fa69c15f25b114223179

See more details on using hashes here.

Supported by

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