1.3.3 The exchange

Author: The Little Dream, Created: 2016-11-04 12:07:39, Updated: 2019-08-01 09:44:48

The Exchange


  • What does the inventor refer to as an exchange on a quantitative trading platform?

    The exchange refers to the actual account information that the user has to authorize the robot to operate, and the way in which the robot is authorized varies depending on the market.

  • The exchanges that were added are shown below, by the way, with annotations.

    img

    # 注意:
    上图添加的是 交易所配置 ,即 发明者量化 支持的交易所 的配置信息(配置一次,可以修改)。
    主要配置 ACCESS KEY , SECRET KEY ,有些交易所 API 访问时 可能还要求 配置 用户交易所账号ID 等等,可以按要求配置。
    然后可以设置 不同的标签用来区别 相同的交易所,例如 OKEX 这个交易所 如果您有 多个账号, 可以把各个账号的 API KEY 
    也就是 ACCESS KEY , SECRET KEY , 都各自添加,并用 标签 (label)区分,这样就可以操作 OKEX 不同的账号了。
    
    在回测 或者 实盘、模拟盘 时配置的 交易所 实际是指 要操作的 交易所账户,在代码中 即 交易所对象 exchange ,
    添加多个 交易所 对象时 ,代码中用 交易所对象数组 控制 访问, 即 :  exchanges ,   其中 exchanges[0] 即是 exchange
    exchanges 中的顺序 和 机器人 或者 回测页面 添加 交易所的顺序 一致。
    
  • Added after the exchange:

    1. Do not easily modify the inventor-quantified platform password, especially for users who have a lot of exchanges associated with them (like my picture above); since all the user's API-KEY, account password information is all added to the platform after being encrypted in the user's browser. If the user modifies the inventor-quantified password, the encrypted API-KEY, account password will fail, requiring a reset of each exchange's API-KEY, password information, is very troublesome for users with multiple accounts.img

  • API KEY specific configuration for individual exchanges

    • BigOne

      # BigOne 目前申请 API KEY 可以获取 一个 accessKey , 一个 secretKey , 和大部分交易所 添加 API KEY 方式一样。
      # BigOne 已经更新了 API 接口 结构,以下内容已经过期。
      

      BigOne Exchange Official Application for API KEY You will only get one KEY, a very long string.

      When the inventor quantifies the configuration, the configuration interface displays one ACCESS KEY and the other one displays SECRET KEY. How is this configured?

      img

      ACCESS KEY filled in by Bearer

      The secret key is eyJhbGciOiJIUzI1NiIsInR5cCI6...
      (In this example, the actual KEY string requested is very long..)

    • BitPie

      ACCESS KEY filled in by Bearer

      Secret key: ea54e0cb23f6f7b88604d85f...
      (Examples here)


More

zqgeThere are a few small exchanges where developers can pair each other's APIs if they need to.

zqgeIs there a tutorial for developers to add on their own?

liuwei9090Dream Total, request to add the YoBit exchange, there are many coins in it

lonelypig85If you're new to this, ask yourself how to add a digital currency exchange that isn't in the category.

tianweiCan I have a Bibox?

The Little DreamYou can see this post here. https://www.fmz.com/bbs-topic/1052

The Little DreamGood, if the user demand is high, it will be added.

The Little DreamExchanges that do not have access can write plug-in access using a common protocol.

The Little DreamBibox has already been supported by the exchange.