close_all_trades

core_v2.GCapiClientV2.close_all_trades(tolerance)

Close all open trades with a given price tolerance.

Parameters

Name Type Description Default
tolerance float The price tolerance for closing trades. required

Returns

Name Type Description
List[Dict] A list of responses from the API for each trade closure.