Copy Trading: Start (copy_start)

Start copy trader bets

Auth Scope(s): trade

copy_start(copy_start: str, assets: Optional[Union[List, str]] = None, max_trade_stake: Optional[Union[int, float, Decimal]] = None, min_trade_stake: Optional[Union[int, float, Decimal]] = None, trade_types: Optional[Union[List, str]] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • copy_start (str) – API tokens identifying the accounts of trader which will be used to copy trades
  • assets (Optional[Union[List, str]]) – [Optional] Used to set assets to be copied. E.x [“frxUSDJPY”, “R_50”]
  • max_trade_stake (Optional[Union[int, float, Decimal]]) – [Optional] Used to set maximum trade stake to be copied.
  • min_trade_stake (Optional[Union[int, float, Decimal]]) – [Optional] Used to set minimal trade stake to be copied.
  • trade_types (Optional[Union[List, str]]) – [Optional] Used to set trade types to be copied. E.x [“CALL”, “PUT”]
  • 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.copy_start(
    'uw2mk7no3oktoRVVsB4Dz7TQnFgrthg'
)