Skip to content

rubykube/toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RubyKube Toolbox

Stress testing Peatio trading engine

See help pages:

  • docker run -it --rm rubykube/toolbox bin/stress_trading help.

  • docker run -it --rm rubykube/toolbox bin/stress_trading help run.

Usage example:

docker run -it --rm rubykube/toolbox:2.0.0 bin/stress_trading --root-url http://peatio.local --api-v2-jwt-key KEY --management-api-v2-jwt-key KEY --currencies uah,usd,eur --markets uahusd,uaheur --orders 1000 --traders 10 --threads 10 --report-yaml results.yml

The command above creates 10 traders each with 1 billion UAH, USD & USD. Then it opens 1000 new orders in UAHUSD, UAHEUR markets using 10 threads (parallel).