Objective
price, benchmark, corporate action, index composition, forex rate.
Url:
http://market-api.simpipro.com
Http method: POST
Access Key
No | Access Key | Apply |
1 | License Key | Y |
2 | Session ID | Y |
3 | Token ID | Y |
4 | AppCode | Y |
Parameter
No | Name | Type | Description |
1 | option_date | ||
2 | BenchmarkDate | Date | |
3 | BenchmarkID | Integer | |
4 | from_date | ||
5 | to_date | Integer |
Available Field
No | Field | Type | Description |
1 | BenchmarkID | Integer | |
2 | BenchmarkDate | Date | |
3 | BenchmarkValue | Decimal(20,9) | |
4 | Adjustment | Decimal(20,9) | |
5 | pC | Decimal(30,16) | |
6 | pI | Decimal(30,16) |
Sample Request:
{
“agent”:”web”, “license_key”:”xxx”, “method”:”market_database.benchmark_price_history”, “appcode”:”ayoavram.webapp”, “id”:1, “params”:{“option_date”:”between”, “from_date”:20040130, “to_date”:20040130, “BenchmarkID”:1, “BenchmarkDate”:”DESC”} } |
Sample Result :
{“status”:true,”execution_time”:”0.0185″,”cache”:false,”result”:[{“BenchmarkID”:”1″,”BenchmarkDate”:”2004-01-30″,”BenchmarkValue”:”752.932000000″,”Adjustment”:”0.000000000″,”pC”:”0.0000000000000000″,”pI”:”1.0000000000000000″},{“BenchmarkID”:”1″,”BenchmarkDate”:”2004-02-27″,”BenchmarkValue”:”761.081000000″,”Adjustment”:”0.000000000″,”pC”:”1.0108230225305900″,”pI”:”1.0108230225305900″}],”id”:1} |
Sample Data
“BenchmarkID”: “1”,
“BenchmarkDate”: “2004-01-30”, “BenchmarkValue”: “752.932000000”, “Adjustment”: “0.000000000”, “pC”: “0.0000000000000000”, “pI”: “1.0000000000000000” |