Author

Topic: [ANN] 🔥 JSMEX the first programmable exchange 🔥 (Read 263 times)

copper member
Activity: 13
Merit: 0
jsmex owner
It is a pleasure to announce our latest release:

We have released a new appealing strategy editor in strategy account section


We have added a small dedicated Key-value storage that will help to associate your strategy order levels with pending orders id, learn more about it in the jsmex trading sdk documentation.

We have published strategy plugins; you can create additional files which are imported in the global scope of the isolated environment before the execution of your strategy.

We have added a market page with more information about market status, trading fees, and references of the listed coins to bitcointalk, coinmarketcap, cryptocompare, coingecko, and coinpaprika.

https://twitter.com/jsmexchange/status/1220740746145337346
Show us some love signup now

copper member
Activity: 13
Merit: 0
jsmex owner


Things are escalating quickly! We are pleased to announce the introduction of the referral program: promoting the exchange with the referral link in your profile section, you earn 20% of all the commissions produced by your referred accounts.
Sign up now http://signup.jsmex.io

https://twitter.com/jsmexchange/status/1215424047154110465


copper member
Activity: 13
Merit: 0
jsmex owner
copper member
Activity: 13
Merit: 0
jsmex owner
image loading...


JSMEX.io, the first programmable cryptocurrency exchange.
In addition to the standard functionalities, jsmex is programmable; this means that users can deploy trading strategies in the account strategy section, and then those will be executed server-side, reducing latency drastically.
Other exchanges do not commonly use this technology, and We have developed a secure way that can execute third-party code in a runtime process using isolated environments.

Users can use strategies to build safe measures, advanced trading bots, or manage their market price.
We have fully integrated ccxt in our custom environment, so Users can easily port any current strategy based on ccxt to jsmex; of course, HTTP requests are restricted and are open only for jsmex.io domains.

Listing requests or market-makers email [email protected]

Check out jsmex-trader-sdk on npm, our trading strategy sdk based on ccxt.


image loading...     image loading...
Demo preview


Sample panic close strategy
Code:
module.exports = class extends (global.Trader || require('jsmex-trader-sdk')) {
  constructor (options) {
    super(options)
    this.defaultSymbol = this.options.defaultSymbol
  }

  /**
     * SamplePanicCloseStrategy on tick method
     *
     * @author jsb4ch
     * @since 1.1.0
    */
  async onTick () {
    try {
      let close = this.close()
      let yesterdayOpen = this.open(24)
      let rate = (
        close.minus(yesterdayOpen)
      ).div(yesterdayOpen)
      if (rate.lte(-0.2)) {
        return this.cancelAllOrders()
      } else {
        global.log(rate.toNumber())
      }
    } catch (err) {
      global.error(err)
    }
  }

  /**
     * SamplePanicCloseStrategy static options
     *
     * @author jsb4ch
     * @since 1.1.0
    */
  static get options () {
    return {
      ...this.defaultOptions,
      defaultSymbol: 'JMX/USDT',
      exchanges: {
        jsmex: {
          wwwDomain: 'jsmex.io',
          apiDomain: 'api.jsmex.io'
        }
      },
      ccxt: {
        fetchOHLCV: {
          resolution: '10m',
          limit: 500
        }
      }
    }
  }
}

Jump to: