【问题标题】:Binance api endpoint for fiat deposits from bank card?Binance api端点用于银行卡的法定存款?
【发布时间】:2020-11-25 12:44:18
【问题描述】:

我没有找到法定存款的历史记录(来自银行卡), 这里只有加密货币存款:https://prnt.sc/ttdwc2=) 例如,在我的银行账户界面中,我在 5 月 12 日找到了存款,但在这里找不到...

有人知道可能有 api 端点 可以寻找吗? 在这里没有找到任何东西https://github.com/binance-us/binance-official-api-docs/blob/master/rest-api.md

再说一遍:我在 api 和网站界面中没有找到任何关于法定存款的信息。没有这样的方法可以查看信用卡存款的法定历史记录,这看起来很奇怪。 可能是我遗漏了什么吗?

【问题讨论】:

  • 这段时间你有没有发现什么?
  • 同样的问题,我也在找那些但找不到...client.get_deposit_history() 只返回密码。

标签: binance


【解决方案1】:

据我所知,2021 年 2 月 28 日没有这样的端点 如果有什么改变那就太好了 或者可能不是税收的重要原因

【讨论】:

    【解决方案2】:

    这让我很烦恼一段时间,但看起来 Binance 开发人员添加了一些功能。

    我已经开始使用 binance-connector python 包了。它只是让导航 API 变得更容易(不需要散列你的密钥)。您可以在此处找到更多信息:

    https://github.com/binance/binance-connector-python

    我使用的代码:

    from binance.spot import Spot as Client
    from datetime import datetime
    
    # api_key and secret_key you get when you set up your API on Binance
    
    spot_client = Client(api_key, secret_key)
    
    currTime = round((time.time()*1000))
    startTime = "01/01/2021"
    beginTime = round(datetime.strptime(startTime, "%d/%m/%Y").timestamp()*1000)
    params = {
          "beginTime": beginTime,
          "endTime": currTime
             }
    # 0 = deposit, 1 = withdrawals
    # if no beginTime and endTime specified will give last 30 days
    
    spot_client.fiat_order_history(0, **params)
    

    更多信息在这里: https://binance-docs.github.io/apidocs/spot/en/#fiat-endpoints

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多