Skip to main content
Glama

Zaifer-MCP

by curio184
MIT License

get_trade_executions

Retrieve executed trade history from Zaif cryptocurrency exchange to analyze transactions, calculate profits, or prepare for tax filings. Filter by currency pair, date range, or limit results for specific insights. Requires API key and secret for access.

Instructions

あなたのアカウントで約定(成立)した取引履歴を取得します。 このツールは、実際に成立した売買取引の記録を確認するために使用します。 特定の通貨ペアだけの履歴を見たり、取得件数や期間を指定して絞り込んだりできます。 使用例: - 過去1ヶ月の取引履歴を確認して収益を計算したい場合 - ビットコイン取引だけを分析したい場合 - 最近の20件の取引を確認して取引戦略の成果を評価したい場合 - 税金申告のために年間の取引記録を取得したい場合 注意: このツールを使用するには、環境変数にAPIキーとシークレットが設定されている必要があります。 Args: currency_pair: 取引通貨ペア('btc_jpy': ビットコイン/円、'eth_jpy': イーサリアム/円、'xym_jpy': シンボル/円) 指定しない場合、すべての通貨ペアの取引履歴が返されます limit: 取得する履歴の最大件数(例: 10, 20, 50) start_date: この日付以降の取引を取得(例: '2023-01-01') end_date: この日付以前の取引を取得(例: '2023-12-31') Returns: TradeExecutionList: 約定済み取引履歴 - executions: 約定済み取引のリスト(新しい順) - execution_id: 取引ID(約定ID) - currency_pair: 通貨ペア(例: 'btc_jpy') - trade_side: 取引であなたが行った行動('buy': 買い、'sell': 売り、'self': 自己取引) - market_role: 取引における役割('maker': 注文を出して待っていた側、'taker': 即時約定した側、'both': 自己取引の場合) - price: 約定価格(日本円) - quantity: 約定数量(暗号資産の量) - fee_amount: 支払った手数料の金額(日本円) - execution_time: 約定日時(ISO 8601形式の文字列、例: '2023-05-24T15:30:45+09:00') Raises: ValueError: 認証情報が設定されていない場合や、APIエラーが発生した場合

Input Schema

NameRequiredDescriptionDefault
currency_pairNo
end_dateNo
limitNo
start_dateNo

Input Schema (JSON Schema)

{ "properties": { "currency_pair": { "default": null, "enum": [ "btc_jpy", "eth_jpy", "xym_jpy" ], "title": "Currency Pair", "type": "string" }, "end_date": { "default": "", "title": "End Date", "type": "string" }, "limit": { "default": 20, "title": "Limit", "type": "integer" }, "start_date": { "default": "", "title": "Start Date", "type": "string" } }, "title": "get_trade_executionsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/curio184/zaifer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server