Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kybernetwork/exchange-simulator


https://github.com/kybernetwork/exchange-simulator

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# exchange-simulator

A simulator of centeralized exchange.
Includes deposit and withdrawal of funds, and orders execution.

## Setup
```
pip install -r requirements.txt
```
## Usage
Open api for exchanges:
```sh
$ uwsgi --emperor *.ini
```
In **simulation** mode, import the data first:
```
$ python import_simulation_data.py & uwsgi --emperor *.ini
```
### Mode
Setup modes via KYBER_ENV variable:

* **dev** is local development env **[DEFAULT]**
* **simulation** is with our market data and fake blockchain
* **kovan** deploy on a server to run with kovan
* **production** is mainnet