mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
update forex examples
This commit is contained in:
43
forex/examples.json
Normal file
43
forex/examples.json
Normal file
@@ -0,0 +1,43 @@
|
||||
|
||||
{
|
||||
"price": [{
|
||||
"title": "Get an FX price",
|
||||
"description": "Returns the last traded price of a currency pair",
|
||||
"request": {
|
||||
"symbol": "GBPUSD"
|
||||
},
|
||||
"response": {
|
||||
"symbol": "GBPUSD",
|
||||
"price": 1.38
|
||||
}
|
||||
}],
|
||||
"quote": [{
|
||||
"title": "Get a FX quote",
|
||||
"description": "Returns the last quote for a currency pair as bid and ask prices",
|
||||
"request": {
|
||||
"symbol": "GBPUSD"
|
||||
},
|
||||
"response": {
|
||||
"symbol": "GBPUSD",
|
||||
"ask_price": 1.38422,
|
||||
"bid_price": 1.38416,
|
||||
"timestamp": "2021-06-21T08:58:31Z"
|
||||
}
|
||||
}],
|
||||
"history": [{
|
||||
"title": "Get previous close",
|
||||
"description": "Returns the data for the previous close",
|
||||
"request": {
|
||||
"symbol": "GBPUSD"
|
||||
},
|
||||
"response": {
|
||||
"symbol": "GBPUSD",
|
||||
"open": 1.37902,
|
||||
"close": 1.3814,
|
||||
"high": 1.3824,
|
||||
"low": 1.37902,
|
||||
"volume": 3930,
|
||||
"date": "2021-06-20"
|
||||
}
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user