Skip to content

Examples

Rishabh Joshi edited this page Oct 25, 2018 · 10 revisions

Contents

  1. Including Riko in your project
  2. Implement UpstoxAuthService
  3. Creating beans
  4. Log into Upstox
  5. Connect to Upstox WebSocket

There's a demo project riko-starter, available for your reference here, demonstrating the usage of Riko. Feel free to use it as a starter for your own project.

ATTENTION

The following assumption is made for the examples:

  1. You have an account with Upstox.
  2. You have created an app under Upstox's Developer Account.
  3. For the same app discussed above, you have subscribed to both:
    1. Interactive API (Access to Orders, Positions, Holdings, limits)
    2. Historical API (Access to OHLC data)
  4. You have access to your app's API Key and API Secret.
  5. All examples use the code samples from the demo project riko-starter.
Clone this wiki locally