Copy Trading: Statistics (copytrading_statistics)

Retrieve performance, trading, risk and copiers statistics of trader.

copytrading_statistics(trader_id: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • trader_id (str) – The ID of the target trader.
  • passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
  • req_id (Optional[int]) – [Optional] Used to map request to response.
Returns:

req_id

Return type:

int

Example

binary.api.copytrading_statistics(
    trader_id='CR1234'
)