Skip to content

acquire_profit_history

yuanshibtc edited this page Mar 14, 2024 · 4 revisions

Acquire Profit History

name type required description
coin string yes coin type
start_date string no start date,such as 2019-01-24
end_date string no end date
utc bool no true/false, default: false
page int no page number
limit int no return amount, default: 50
{
  "code": 0,
  "data": {
    "count": 2,
    "curr_page": 1,
    "data": [
      {
        "coin": "BTC",
        "date": "2018-10-05",
        "pplns_profit": "0",
        "pps_profit": "0.00002148", 
        "solo_profit": "0",
        "total_profit": "0.00002148"
      },
      {
        "coin": "BTC",
        "date": "2018-10-06",
        "pplns_profit": "0",
        "pps_profit": "0.00028948",
        "solo_profit": "0",
        "total_profit": "0.00028948"
      }
    ],
    "has_next": false,
    "total": 2,
    "total_page": 1
  },
  "message": "OK"
}