open
, closed
{'models': [{'id': 12345,'currency_pair_code': 'BTCJPY','status': 'closed','side': 'short','margin_used': '0.0','open_quantity': '0.0','close_quantity': '0.003','quantity': '0.003','leverage_level': 4,'product_code': 'CASH','product_id': 5,'open_price': '1070000.0','close_price': '1131820.0','trader_id': 93712,'open_pnl': 0.0,'close_pnl': '-185.46','pnl': -185.46,'stop_loss': '0.0','take_profit': '0.0','margin_type': 'cross','funding_currency': 'JPY','total_interest': '9.63','created_at': 12345,'updated_at': 12345,'total_fee': 0.0,'close_fee': '0.0','liquidation_price': None,'maintenance_margin': None,'trading_type': 'cfd','last_settlement_at': None}],'current_page': 0,'total_pages': 10000}
{'id': 12345,'currency_pair_code': 'XRPJPY','status': 'open','side': 'long','margin_used': '7.91075','open_quantity': '1.0','close_quantity': '0.0','quantity': '1.0','leverage_level': 4,'product_code': 'CASH','product_id': 83,'open_price': '31.643','close_price': '31.666','trader_id': 93712,'open_pnl': 0.023,'close_pnl': '0.0','pnl': 0.023,'stop_loss': '0.0','take_profit': '0.0','margin_type': 'isolated','funding_currency': 'JPY','total_interest': '0.0','created_at': 12345,'updated_at': 12345,'total_fee': 0.0,'close_fee': '0.0','liquidation_price': '24.99797','maintenance_margin': '1.26572','trading_type': 'cfd','last_settlement_at': None}
"buy"
, "sell"
を指定する事でどちらか一方向だけをクローズする事が可能です。[{"id": 12345,"currency_pair_code": "BTCUSD","status": "closed","side": "short","margin_type": "cross","margin_used": "0.83588","liquidation_price": null,"maintenance_margin": null,"open_quantity": "0.01","close_quantity": "0.0","quantity": "0.01","leverage_level": 5,"product_code": "CASH","product_id": 1,"open_price": "417.65","close_price": "417.0","trader_id": 3020,"open_pnl": "0.0","close_pnl": "0.0065","pnl": "0.0065","stop_loss": "0.0","take_profit": "0.0","funding_currency": "USD","created_at": 12345,"updated_at": 12345,"total_interest": "0.02"},...]
{"id": 12345,"currency_pair_code": "BTCUSD","status": "open","side": "short","margin_type": "cross","margin_used": "0.83588","liquidation_price": null,"maintenance_margin": null,"open_quantity": "0.01","close_quantity": "0.0","quantity": "0.01","leverage_level": 5,"product_code": "CASH","product_id": 1,"open_price": "417.65","close_price": "0","trader_id": 3020,"open_pnl": "0.0","close_pnl": "0.0065","pnl": "0.0065","stop_loss": "300.0","take_profit": "600.0","funding_currency": "USD","created_at": 12345,"updated_at": 12345,"total_interest": "0.02"}