Skip to content

Mock Exchange for CCXT. Quick and dirty for now, I will probably improve it in the future but it might already be useful to others.

Notifications You must be signed in to change notification settings

dsbaars/ccxt.mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCXT Mock Exchange

Quick and dirty mock exchange for CCXT sufficient for my own needs but perhaps useful for others.

My design considerations

  • No need for external libs except for ccxt itself
  • Stay as close to the ccxt exchange classes as possible

What does it offer

  • Order creation and cancelling including stop orders, use the following parameters for createOrder
{
        symbol: "RCC/BTC",
        type: 'market',
        side: "buy",
        amount: 5,
        price: undefined,
        params: {
            type: 'stopMarket',
            stopPrice: '0.00011'
        }
    }
  • One market (RCC/BTC) with the currency: RollerCoasterCoin (RCC) where its exchange rate goes up and down really fast

About

Mock Exchange for CCXT. Quick and dirty for now, I will probably improve it in the future but it might already be useful to others.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published