Skip to content

smk762/atomicDEX_pystats

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 9 commits ahead of tonymorony:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

API for seed node jsons parser

WIP!

Calls:

  1. Get swaps success rate

/atomicstats/api/v1.0/get_success_rate

Returns success rate for all files on seed node

  1. Get failed swaps info

/atomicstats/api/v1.0/get_fail_data

Outputs fail events info for all swaps on seed node. Include counts for each fail event type, and uuid, timestamp, trade pair and error message for failing swaps.

Optional args:

maker - TICKER of coin traded from maker
taker - TICKER of coin traded to taker
from - 13 digits timestamp (miliseconds epoch)
to - 13 digits timestamp (miliseconds epoch)
gui - filters results based on GUI used by maker (if set in maker's MM2.json).

Examples:

/atomicstats/api/v1.0/get_success_rate?from=1564658276000
/atomicstats/api/v1.0/get_success_rate?to=156690467900
/atomicstats/api/v1.0/get_success_rate?maker=LABS
/atomicstats/api/v1.0/get_success_rate?taker=KMD
/atomicstats/api/v1.0/get_success_rate?gui=atomicDEX 0.2.5 Android

These args can be combined:

/atomicstats/api/v1.0/get_success_rate?gui=atomicDEX 0.2.5 Android&maker=LABS&taker=KMD&from=1564658276000&to=156690467900

TODO

  • filter by address / pubkey

  • get swaps volume (wip)

/atomicstats/api/v1.0/get_volumes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%