TradingBot | Autonomous stocks trading script | Bot library

 by   ilcardella Python Version: v2.0.0 License: MIT

kandi X-RAY | TradingBot Summary

kandi X-RAY | TradingBot Summary

TradingBot is a Python library typically used in Automation, Bot applications. TradingBot has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However TradingBot build file is not available. You can download it from GitHub.

This is an attempt to create an autonomous market trading script using the IG REST API and any other available data source for market prices. TradingBot is meant to be a "forever running" process that keeps analysing the markets taking actions whether some conditions are met. It is halfway from an academic project and a real useful piece of software, I guess I will see how it goes :). The main goal of this project is to provide the capability to write a custom trading strategy with the minimum effort. TradingBot handles all the boring stuff. All the credits for the WeightedAvgPeak strategy goes to GitHub user @tg12.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TradingBot has a low active ecosystem.
              It has 225 star(s) with 31 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 70 have been closed. On average issues are closed in 114 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of TradingBot is v2.0.0

            kandi-Quality Quality

              TradingBot has 0 bugs and 0 code smells.

            kandi-Security Security

              TradingBot has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              TradingBot code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              TradingBot is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              TradingBot releases are not available. You will need to build from source code and install.
              TradingBot has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              TradingBot saves you 1445 person hours of effort in developing the same functionality from scratch.
              It has 3227 lines of code, 305 functions and 40 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed TradingBot and discovered the below as its top functions. This is intended to give you an instant insight into TradingBot implemented functionality, and help decide if they suit your requirements.
            • Performs a trade
            • Gets the order force open
            • Gets the order currency
            • Find a config value in the config
            • Backtest method
            • Fetches market data for a given market
            • Calculates the stop limit for a given bidirection
            • Find the trade signal for a given market
            • Get market info from watchlist
            • Get the quote endpoint for a market
            • Return argument parser
            • Get the MACD for a given market
            • Setup logging
            • Returns the MACD of a market
            • Get MACD for a given market
            • Get a map of all open positions
            • Reads the configuration file
            • Search for market by search term
            • Returns the percentage of accounts used in the account
            • Close all open positions
            • Load market from watchlist
            • Close all open positions
            • Start the market
            • Backtest
            • Get market history
            • Authenticate the user
            Get all kandi verified functions for this library.

            TradingBot Key Features

            No Key Features are available at this moment for TradingBot.

            TradingBot Examples and Code Snippets

            No Code Snippets are available at this moment for TradingBot.

            Community Discussions

            QUESTION

            How to save a Model Form with a foreign key of User to django models
            Asked 2019-Aug-02 at 20:34

            I am trying to save user API keys to a Django Model with a foreign key of User such that each set of unique API keys has a unique User associated with them in the database. I want a api keys input form to appear when a user who clicks "account" if the user has no associated API keys and a message saying " Your keys have already been entered" if the user does have associated API keys.

            I am using the built in Django User Model and I have created my own Model Form in forms.py.

            I have tried including user in the Model form and Meta class to no avail. I have tried passing the keys and password as parameters to the model and form before saving. I have tried using instances of the form with commit set to False before adding the User to form.user. I've tried looking up the latest Django documentation but its fragmented and hard to follow.

            I'm purposefully leaving out imports unnecessary to this problem.

            This is my Models.py:

            ...

            ANSWER

            Answered 2019-Aug-02 at 16:21

            There's a few issues with your code, you're mixing instances and classes:

            • First your keys_exist() function is wrong because you use pk=User in the filter of your query, which doesn't make sense. User is the class user and pk is the primary key of your UserApiDetails instances, so they can never be equal. You need to test against a User instance:

            Source https://stackoverflow.com/questions/57328453

            QUESTION

            Spring Boot: Export identifier encountered more than once
            Asked 2018-Nov-18 at 13:37

            Following error occures

            ...

            ANSWER

            Answered 2018-Mar-20 at 10:49

            I use IntelliJ for development and in my "out" directory were old .class files. Some of the java classes already have been deleted, but somehow not in the "out" directory.

            As solution I deleted the whole "out" directory.

            Source https://stackoverflow.com/questions/49161926

            QUESTION

            BOTS Framework, Null properties cannot be encrypted
            Asked 2017-Sep-14 at 22:49

            All of sudden my BOT started failing with this exception today:

            Null properties cannot be encrypted. Please assign a default value to the property if you wish to encrypt it.

            The error happens when trying to set conversation data and this is the stack trace:

            ...

            ANSWER

            Answered 2017-Sep-14 at 22:49

            It turned out to be a problem on the Microsoft side.

            Source https://stackoverflow.com/questions/46225961

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install TradingBot

            First if you have not done yet, install python:. Clone this repo and install TradingBot by running the following command from the repository root folder.
            Login to your IG Dashboard. This must be in json format.
            Obtain an API KEY from the settings panel
            If using the demo account, create demo credentials
            Take note of your spread betting account ID (demo or real)
            (Optional) Visit AlphaVantage website: https://www.alphavantage.co and request a free api key
            Insert these info in a file called .credentials
            Copy the .credentials file into the ${HOME}/.TradingBot/config folder
            Revoke permissions to read the file
            You can build the Docker image yourself using the Dockerfile in the docker folder:.

            Support

            The Sphinx documentation contains further details about each TradingBot module with source code documentation of each class member. Explanation is provided regarding how to create your own Strategy and how to integrate it with the system.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ilcardella/TradingBot.git

          • CLI

            gh repo clone ilcardella/TradingBot

          • sshUrl

            git@github.com:ilcardella/TradingBot.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link