MaxxRK / firstrade-api

A reverse engineered api to work with the Firstrade broker.
MIT License
30 stars 11 forks source link
api package packages python stocks

firstrade-api

A reverse-engineered python API to interact with the Firstrade Trading platform.

This is not an official api! This api's functionality may change at any time.

This api provides a means of buying and selling stocks through Firstrade. It uses the Session class from requests to get authorization cookies. The rest is done with reverse engineered requests to Firstrade's API.

In order to use Fractional shares you must accept the agreement on the website before using it in this API.


Contribution

I am new to coding and new to open-source. I would love any help and suggestions!

Setup

Install using pypi:

pip install firstrade

Quikstart

Checkout test.py for sample code.

This code will:

Checkout test.py for sample code.


Implemented Features

TO DO

If you would like to support me, you can do so here:

GitHub Sponsors