Skip to content

Commit

Permalink
Merge pull request #96 from kieran-mackle/development
Browse files Browse the repository at this point in the history
Refactor and tidy up
  • Loading branch information
kieran-mackle authored Mar 10, 2024
2 parents 7386101 + 7204322 commit 5d162c0
Show file tree
Hide file tree
Showing 64 changed files with 3,738 additions and 17,399 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.x"
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --pre -U twine
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ Notes.txt
*backtest-chart.html
*candlestick.html
.vscode
run.py
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
</p>



AutoTrader is Python-based platform intended to help in the development, optimisation and deployment of automated trading systems.
A basic level of experience with Python is recommended for using AutoTrader, but the [docs](https://autotrader.readthedocs.io/en/latest/)
aim to make using it as easy as possible with detailed tutorials and documentation.

## Latest News
- Version 0.7 has been released, adding integrations with [CCXT](https://github.com/ccxt/ccxt) and [dYdX](https://dydx.exchange/) crypto exchanges. Many more powerful upgrades too.
- [CryptoBots](https://github.com/kieran-mackle/cryptobots) has been released along with version `0.13.0`, offering ready-to-trade strategies from the command line
- Version 0.7 has been released, adding integrations with [CCXT](https://github.com/ccxt/ccxt) crypto exchanges. Many more powerful upgrades too.
- AutoTrader has been featured in GitClone's recent article, [*Top Crypto Trader Open-Source Projects on Github*](https://gitclone.dev/top-crypto-trader-open-source-projects-on-github/).

## Features
Expand All @@ -66,7 +66,6 @@ more than enough to build a profitable trading system.
| -------- | ------------- | ------------------ |
| [Oanda](https://www.oanda.com/) | Forex CFDs | Complete |
| [Interactive Brokers](https://www.interactivebrokers.com/en/home.php) | Many | In progress |
| [dYdX](https://dydx.exchange/) | Cryptocurrencies | Complete |
| [CCXT](https://github.com/ccxt/ccxt) | Cryptocurrencies | In progress |

<p align="right">[<a href="#readme-top">back to top</a>]</p>
Expand Down Expand Up @@ -196,8 +195,6 @@ sphinx-autobuild source/ build/html --open-browser
AutoTrader is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).

### Disclaimer
This platform is currently under heavy development and should not be considered stable for livetrading until version 1.0.0 is released.

Never risk money you cannot afford to lose. Always test your strategies on a paper trading account before taking it live.

<p align="right">[<a href="#readme-top">back to top</a>]</p>
15 changes: 4 additions & 11 deletions autotrader/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .autoplot import AutoPlot
from .autodata import AutoData
from .autotrader import AutoTrader
from .utilities import TradeAnalysis, DataStream
from .brokers.trading import (
Expand All @@ -15,30 +14,24 @@
# Broker imports
# CCXT
try:
from .brokers.ccxt.broker import Broker as CCXTBroker
except:
pass

# dYdX
try:
from .brokers.dydx.broker import Broker as dYdXBroker
from .brokers.ccxt import Broker as CCXT
except:
pass

# Interactive Brokers
try:
from .brokers.ib.broker import Broker as IBroker
from .brokers.ib import Broker as IB
except:
pass

# Oanda
try:
from .brokers.oanda.broker import Broker as OandaBroker
from .brokers.oanda import Broker as Oanda
except:
pass

# Virtual broker
from .brokers.virtual.broker import Broker as VirtualBroker
from .brokers.virtual import Broker as VirtualBroker

# Define version number
__version__ = "0.12.1"
Loading

0 comments on commit 5d162c0

Please sign in to comment.