firstrade-api icon indicating copy to clipboard operation
firstrade-api copied to clipboard

A reverse engineered api to work with the Firstrade broker.

Results 17 firstrade-api issues
Sort by recently updated
recently updated
newest added

This commit fixes the style issues introduced in 2809904 according to the output from Black and isort. Details: None

This commit fixes the style issues introduced in 7bc74a2 according to the output from Black and isort. Details: None

firstrade is reporting successful even when it does not sell.

Hello. Thank you for the project. I am new with GitHub, not sure this is the right place to suggest adding the possibility of trading MARKET with Instructions=OPG. Regards. **Edited**:...

I'm using google authenticator and tried to add mfa to the existing codebase but failed in attempt. The code below is what I tried to insert into the login. Could...

I am doing similar work as this project, I found the default Firstrade web page is not very convenient. They have a web interface called 'Navigator'(Sadly just shut down for...

Is it possible to support option order? Following is my example of a option order: > submiturl: /cgi-bin/optionorder_request orderbar_clordid: orderbar_accountid: optionorderpage: yes submitOrders: previewOrders: 1 lotMethod: 1 accountType: 2 quoteprice:...

My python file changed nothing, but today's feedback is “Traceback (most recent call last): File "C:\Users\xxx\AppData\Local\Programs\Python\Python313\zhuchengxuv2.py", line 6, in need_code = ft_ss1.login() File "C:\Users\xxx\AppData\Local\Programs\Python\Python313\Lib\site-packages\firstrade\account.py", line 135, in login raise LoginResponseError(self.login_json["error"])...

When I use the API, the session gets disconnected if the mobile app or website logs in at the same time, or if the login session exceeds the time limit...

I’m using the API to trade options. While the place_option_order function works fine for opening new positions, I discovered that it does not support closing an existing long position. Instead,...