Sign inSign up

mraniki/findmyorder

By mraniki

•Updated about 3 years ago

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

Image
0

1.4K

mraniki/findmyorder repository overview

⁠Find my order

LogoA 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

https://github.com/mraniki/findmyorder/wiki⁠

⁠🚧 Roadmap

🚧 Roadmap⁠

⁠Questions? Want to help?

discord telegram

Tag summary

Content type

Image

Digest

sha256:bf4503a02…

Size

370.1 MB

Last updated

about 3 years ago

docker pull mraniki/findmyorder