atradebot


Nameatradebot JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
Summaryatradebot package
upload_time2025-07-19 16:40:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords algotrade fintech stocks
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Atradebot

![image](img/Atradebot.jpg)

Yet another Bot to help you choose what to invest using AI 

[Documentation](https://atradebot.readthedocs.io/en/latest/index.html#)

### API keys:

Get your api keys from:

[Finhub](https://finnhub.io/) 
[OpenAI](https://openai.com/index/openai-api/)
[Alpaca](https://alpaca.markets/)
[tavily](https://tavily.com/)

```
export FINNHUB_API_KEY=<api key>
export OPENAI_API_KEY=<api key>
export ALPACA_API=<api key>
export ALPACA_SECRET=<api key>
export TAVILY_API_KEY=<api key>
```

And set it to your environment variables


### Install

Requirement:

```
pip install -r requirements.txt
```

Install using pip

```
pip install -e .
```

if errors do:
```
pip install --upgrade pip
```

Install gpt-researcher: `https://github.com/assafelovic/gpt-researcher.git`

## Regression test

`pytest -m "test" tests/test_main.py`

## How to run

1. to generate full report and visualize results

download current portifolio .csv file from broker and put in sd/


```
python main.py -s GPTStrategy -n finhub -i 20 -f 30
```

this will generate files in sd/output/
then visualize with:

```
python dashboard.py
```

2. auto trade:
run gen_allocation to place buy/sell in alpaca API

```
python autotrade.py
```

# License

Atradebot is open-source software released under the [Apache 2.0 license](https://github.com/Superalgos/Superalgos/blob/master/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "atradebot",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "algotrade, fintech, stocks",
    "author": null,
    "author_email": "AndreChang <andrechang67@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/0a/67/af3c1bde7e2afefa7787d200bca920471592c5020a6f5cf43f8670ef935f/atradebot-1.0.0.tar.gz",
    "platform": null,
    "description": "## Atradebot\n\n![image](img/Atradebot.jpg)\n\nYet another Bot to help you choose what to invest using AI \n\n[Documentation](https://atradebot.readthedocs.io/en/latest/index.html#)\n\n### API keys:\n\nGet your api keys from:\n\n[Finhub](https://finnhub.io/) \n[OpenAI](https://openai.com/index/openai-api/)\n[Alpaca](https://alpaca.markets/)\n[tavily](https://tavily.com/)\n\n```\nexport FINNHUB_API_KEY=<api key>\nexport OPENAI_API_KEY=<api key>\nexport ALPACA_API=<api key>\nexport ALPACA_SECRET=<api key>\nexport TAVILY_API_KEY=<api key>\n```\n\nAnd set it to your environment variables\n\n\n### Install\n\nRequirement:\n\n```\npip install -r requirements.txt\n```\n\nInstall using pip\n\n```\npip install -e .\n```\n\nif errors do:\n```\npip install --upgrade pip\n```\n\nInstall gpt-researcher: `https://github.com/assafelovic/gpt-researcher.git`\n\n## Regression test\n\n`pytest -m \"test\" tests/test_main.py`\n\n## How to run\n\n1. to generate full report and visualize results\n\ndownload current portifolio .csv file from broker and put in sd/\n\n\n```\npython main.py -s GPTStrategy -n finhub -i 20 -f 30\n```\n\nthis will generate files in sd/output/\nthen visualize with:\n\n```\npython dashboard.py\n```\n\n2. auto trade:\nrun gen_allocation to place buy/sell in alpaca API\n\n```\npython autotrade.py\n```\n\n# License\n\nAtradebot is open-source software released under the [Apache 2.0 license](https://github.com/Superalgos/Superalgos/blob/master/LICENSE)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "atradebot package",
    "version": "1.0.0",
    "project_urls": null,
    "split_keywords": [
        "algotrade",
        " fintech",
        " stocks"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "46c6ae6dcb4c7164ec1bc4f5706065e739d4e1bab9f78f8bdf3e940d339e677f",
                "md5": "cc3bad97188f91e29ac3a5cbb2232ae4",
                "sha256": "4189d17264c2789a8dfef192d945a24801b1c36230f0fd809f550e52bf13ff5f"
            },
            "downloads": -1,
            "filename": "atradebot-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc3bad97188f91e29ac3a5cbb2232ae4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 44502,
            "upload_time": "2025-07-19T16:40:51",
            "upload_time_iso_8601": "2025-07-19T16:40:51.909740Z",
            "url": "https://files.pythonhosted.org/packages/46/c6/ae6dcb4c7164ec1bc4f5706065e739d4e1bab9f78f8bdf3e940d339e677f/atradebot-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0a67af3c1bde7e2afefa7787d200bca920471592c5020a6f5cf43f8670ef935f",
                "md5": "fc6d163796dfe8d2f86aeab6f183c1e3",
                "sha256": "4637492d5371298c4035eef67ce24fc73300e7264ef2d62fce3b7bbf289eca3e"
            },
            "downloads": -1,
            "filename": "atradebot-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fc6d163796dfe8d2f86aeab6f183c1e3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 36162,
            "upload_time": "2025-07-19T16:40:53",
            "upload_time_iso_8601": "2025-07-19T16:40:53.013026Z",
            "url": "https://files.pythonhosted.org/packages/0a/67/af3c1bde7e2afefa7787d200bca920471592c5020a6f5cf43f8670ef935f/atradebot-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-19 16:40:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "atradebot"
}
        
Elapsed time: 1.22626s