On this page

latest contributor to this doc

Last Edit:

@gcharang

stop_simple_market_maker_bot

The stop_simple_market_maker_bot method tells the bot to finish placing orders at the end of the current loop (30 seconds minimum & 30 seconds by default). This method takes as input a url to a price service, and configuration parameters of the pairs to trade at a defined spread percentage value.

At the end of the final loop, orders placed by the bot will be cancelled. Users should wait until the loop ends before exiting the Komodo DeFi Framework API, otherwise orders will not cancel, and will reappear on the orderbook next time Komodo DeFi Framework API starts.

StructureTypeDescription
(none )

POST
stop_simple_market_maker_bot
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "stop_simple_market_maker_bot",
  "params": {},
  "id": 0
}