The resource loading... loading...

How to customize the set of currencies not shown on the exchange label when creating a digital currency trading robot

Author: Inventors quantify - small dreams, Created: 2017-07-03 16:35:22, Updated: 2017-10-11 10:26:10

How to customize the set of currencies not shown on the exchange label when creating a digital currency trading robot

Sometimes when creating a robot, there is no currency to operate in the exchange currency options (trading all of that currency), at which point we can use it in the codeexchange.IO("currency", "BTC")However, some users may find it inconvenient to use this code to switch the currency supported by the exchange, for ease of use, a custom currency control has been added to the bot configuration page.

The test code is:

function main(){
    Log(exchange.GetTicker(), exchange.GetCurrency())
    while(true){
        var ticker = exchange.GetTicker()
        Log(ticker, exchange.GetCurrency())
        LogStatus("ticker:", ticker)
        Sleep(1000)
    }
}
  • Creating a bot page

    img

    如果找不到 “自定义” 按钮,可以清空游览器缓存,刷新后重试。

  • Using custom controls and adding the currency supported by the exchange, we select EOS for Cloudcoin:

    img

  • Running the test:

    img

Come and try it!


More

Quantitative measurements of small insectsIt's not possible to customize it.

The Tree of LifeDo you not support the token perpetual contract?

xiangyuebj2020-03-27 23:20:07 Binance Error Buy ((0.2743, 0.1): 400: {"code":-1013, "msg:"Filter failure: MIN_NOTIONAL"} This is a list of all the different ways Binance is credited in the database. What happened to this error message when I added XRP_USDT?

The bride too.Can I tell you a bit more about how to add eth and BTC currency pairs, what is the format, I tried to use bitfinex, add code, exchange.IO (("currency", "BTC_ETH")); but it doesn't work.

The short-line king won selling the high-price strategyI've been testing and all the results are wrong!!!!! https://dn-filebox.qbox.me/d3f9b870027ec2236ada8be0123f88b326e07098.png https://dn-filebox.qbox.me/cddafb3d66d7c040c672d7bb1bd6c0bc3e99a248.png https://dn-filebox.qbox.me/50d71df3df9e819e644860d24f59b642265629de.png https://dn-filebox.qbox.me/50d71df3df9e819e644860d24f59b642265629de.png

leilml 6666

JIt's too powerful.

pinqy520 6666666

Inventors quantify - small dreamsRe-testing is definitely not customizable, there are thousands of different types of coins and it is impossible to collect all the data.

Inventors quantify - small dreamsThe retesting system currently only supports a limited number of currencies and not all trading pairs on the market; because of the large amount of data.

The Tree of LifeI found out that the retesting system does not support (token perpetual contracts).

Inventors quantify - small dreamsSupporting the permanence of the tokens, the exchange chooses the tokens futures, the contract code set swap is done.

Inventors quantify - small dreamsThis error is caused by low order prices, low order quantities, too many small digits. According to Binance, the order accuracy of this trading pair is under control.

Inventors quantify - small dreamsSome exchanges have interfaces to access supported trading pairs, some do not. For exchanges that do not provide an interface query, only an artificial one can be specified.

liputThe same exchange platform, how does the corresponding object look, how do you see which pairs the object supports?

Inventors quantify - small dreamsThis exchange, I remember.

The bride too.When did you support Bitrex?

Inventors quantify - small dreamsCustomize this because different exchanges have different string definitions for currency pairs, the format is generally: for example: ETH_BTC, priced in BTC. If it is CNY, then: BTC_CNY.

The short-line king won selling the high-price strategyAnd in the last 4 days, what progress has been made!!!!!!!!!!!!!!!!!!!!!!!!!

The short-line king won selling the high-price strategyThank you for the flowers.

Inventors quantify - small dreamsI'm waiting for the boss to get in.

The short-line king won selling the high-price strategyHow to deal with it?

Inventors quantify - small dreamsETH/ETC is a separate API address for Bitcoin, not BTC/LTC.