Skip to content

paulgnz/dex_python_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dex_python_scripts

various python scripts for metalx

This is a work in progress. Maybe it will be helpful to someone!

  1. Ensure you have python installed
  2. Clone repo
  3. Explore!

https://api.dex.docs.metalx.com/reference/what-is-metal-x

Trades

Get Trades History

To get the trades history for a specific account, market and number of hours in the past to look for, use the following command:

python dex.py trades history <account> <market> <hours>

For Example

python dex.py trades history paul XDOGE_XMD 24

Get Daily Stats

To get the daily stats for a specific market, use the following command:

python dex.py trades daily <market>

For Example

python dex.py trades daily XDOGE_XMD

Get Recent Trades

To get the recent trades for a specific market, use the following command:

python dex.py trades recent <market> <offset> <limit>

For Example

python dex.py trades recent XDOGE_XMD 0 3

Why Proton DEX?

Proton DEX allows users to trade all available cryptos on the exchange and offers what most of the CEX's offer nowadays - Orderbook, different types of orders (Limit order, Market order, Stop loss order, Take profit order,) and trading view chart integration. The DEX also allows users to manage their orders - view or cancel active orders as well as view order history.

Proton Blockchains offers no gas fees to users, this combined with the secure DeFi wallet Webauth, offers the best decentralized trading experience!

Learn more about the Proton blockchain and ecosystem in this overview.

https://api.dex.docs.metalx.com/reference/what-is-metal-x

About

various python scripts for protondex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages