首页 文章
  • 2 votes
     answers
     views

    python ccxt中的Nonce覆盖

    所以当我尝试使用ccxt进行交易时,我会继续收到此消息: “此请求的时间戳无效 . ” 我已经阅读了ccxt手册,它说要覆盖我应该使用的nonce: class MyBitfinex (ccxt.bitfinex): def nonce (self): return self.milliseconds () 但我只是不明白如何使这项工作 . 我不是太高级的python程序...
  • 7 votes
     answers
     views

    使用WordPress REST API通过AJAX更改密码

    我正在使用WordPress REST API构建密码更改表单 . 用户输入一个新密码,然后通过AJAX提交给自定义 endpoints ,该 endpoints 执行以下操作: $userID = get_current_user_id(); wp_set_password($password, $userID); //Log user in and update auth cookie wp...

热门问题