Skip to content
0ffyPublic

About

Option trading system based on longport API

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

longtrade

longtrade is an option trading application based on the longport API provided by Longbridge Securities.

Features

  • simple and efficient
  • real-time price quotes
  • Black-Scholes pricing calculator
  • quick order placing

How to use

  1. Open up a margin account at longbridge.com.
  2. Apply for API keys at https://open.longbridge.com/.
  3. You also need to subscribe for OPRA real-time option data at around 22 HKD/month. You can place your order in the longbridge mobile app.
  4. Clone this repository to your local machine. Place your keys according to the backend code.
  5. Backend. create a python environment, and install dependencies with pip install -r requirements.txt.
  6. Frontend. make sure node.js is installed. cd to frontend, and install dependencies with npm install.
  7. Start service. In terminal, cd to this repo, run
./start.sh

to start the backend and the frontend services. Then go to http://localhost:5173/ to use the application.

About

Option trading system based on longport API

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Sponsor this project

Used by

Contributors

Languages