An open API service indexing awesome lists of open source software.

https://github.com/boyac/pytrading

Based on the concepts in "CIMTR" and others, swing trading
https://github.com/boyac/pytrading

equity fixed-income intraday-trading investment investment-portfolio multi-asset reits swing-trading systematic-trading-strategies trading trading-strategies

Last synced: over 1 year ago
JSON representation

Based on the concepts in "CIMTR" and others, swing trading

Awesome Lists containing this project

README

          

# pyTrading
## Content
- use python 2.7
- systematic and swing trading, based on the concepts in "CIMTR" and others. As I'm getting busier each day, most scripts will remain as simple notes from readings
## Your Support
- You can contribute to the project by reporting bugs, suggesting enhancements, exchanging portfolio management experiences or
you can make a donation to this project:

## Formula
- Leveraged investment are amplified compared to an otherwise identical unleveraged investment. Gains are higher and losses are worse, so it is a high risk/high reward strategy. The return on a leveraged investment can be calculated as:
- R_li = R_ui + [(D/E) * (R_ui - c)]
- R_li = (Ending value with leverage - starting value with leverage - borrowing cost) / start value with leverage

-- R_li: leveraged return
-- R_ui: unleveraged return
-- D/E : borrowing ratio
-- c : cost of borrowing