Skip to content

A platform to manage positions for my statistical arbitrage trading strategy.

Notifications You must be signed in to change notification settings

ALF28Dev/statistical_arbitrage_position_management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statistical Arbitrage Position Management

To trade the statistical arbitrage trading strategy found here, I have developed a platform using Flask which will organise the positions in a manner which makes them easy to track and understand.

Whenever my software detects a pair which meets my criteria, it will be placed within the pending orders database table. I can then open this position within my brokerage manually. After I have filled the order, I can select open, and the position will then move to the open positions database table. The position will remain here until my software detects that the position needs to be closed.

When my software detects that the position needs to be closed, a new record will be placed within the pending close database table. This record will contain the new current prices of the two stocks. After closing the position within my brokerage, I can then select the close button. The trade PL will be placed within the trade log database table, and the positions will be removed from the pending close and current positions database.

Software Screenshot

Screenshot 2022-05-31 at 11 07 49

Future Improvements

  • Add cancel button functionality.
  • Provide accurate statistics regarding the performance of the strategy.
  • Integerate a brokerage API so that orders can be placed directly/automatically without the need for human interaction.

About

A platform to manage positions for my statistical arbitrage trading strategy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published