本文发表在 rolia.net 枫下论坛for access to read and write Questrade data and OAuth 2.0 as a security protocol.
The REST API allows you to:
Retrieve account data including balances and positions for the past 16 months
Access level 1 quotes
The Rest web service can be integrated into your custom solutions and allows for the delivery of your data in JSON format.
OAuth 2.0 an open standard for authorization, allows you to:
Connect customers to applications on the Questrade trading platforms. Questrade's OAuth implementation requires account holders grand permission to the authorized API customer application. Any OAuth library can be used to make requests against the Questrade API.
Send authorized request to the Questrade API. Questrade only allows API requests via HTTPS (TLS) and refuses connections when accessed via HTTP. The required HTTP method (GET, POST etc.) must be defined.
OAuth 2.0 uses an access token (a string credential) for security. You'll receive an access token and a refresh token at the same time. The access token expires in 30 minutes and the refresh token expires in three days. If the access code expires, you must use the refresh token to gain access. You may only use the refresh token one time.更多精彩文章及讨论,请光临枫下论坛 rolia.net
The REST API allows you to:
Retrieve account data including balances and positions for the past 16 months
Access level 1 quotes
The Rest web service can be integrated into your custom solutions and allows for the delivery of your data in JSON format.
OAuth 2.0 an open standard for authorization, allows you to:
Connect customers to applications on the Questrade trading platforms. Questrade's OAuth implementation requires account holders grand permission to the authorized API customer application. Any OAuth library can be used to make requests against the Questrade API.
Send authorized request to the Questrade API. Questrade only allows API requests via HTTPS (TLS) and refuses connections when accessed via HTTP. The required HTTP method (GET, POST etc.) must be defined.
OAuth 2.0 uses an access token (a string credential) for security. You'll receive an access token and a refresh token at the same time. The access token expires in 30 minutes and the refresh token expires in three days. If the access code expires, you must use the refresh token to gain access. You may only use the refresh token one time.更多精彩文章及讨论,请光临枫下论坛 rolia.net