Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kybernetwork/exchange-simulator
https://github.com/kybernetwork/exchange-simulator
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kybernetwork/exchange-simulator
- Owner: KyberNetwork
- License: mit
- Created: 2017-10-19T05:37:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:49:47.000Z (about 2 years ago)
- Last Synced: 2023-08-15T21:37:38.282Z (over 1 year ago)
- Language: Python
- Size: 3.42 MB
- Stars: 42
- Watchers: 12
- Forks: 177
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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