Giter VIP home page Giter VIP logo

advisor's Introduction

Trading advisor system

This is a small collection of tools for me to build an automated Binance trader bot with. It is a work in progress and will be updated.

"License"

Please take note of the following, especially if you want to use this code for your own purposes:

  1. This code is written by me, for my own needs, in the way I feel comfortable with, not as a public artifact that caters to everyone.
  2. I have put this code into a public repository for the following purposes:
  • for fun;
  • for self-accountability;
  • to possibly receive some feedback from other people;
  • to share it easily with friends and acquaintances should I feel the need to;
  • so that people who are concerned with hiring me may see an example of my code. ๐Ÿ™ƒ
  1. I make no claims about any results that you may or may not get from using this code and thus will take no responsibility for any consequences to your finances or otherwise. Trading is a high-risk activity, I am by no means a professional, and the world is volatile and unpredictable.
  2. I can be quite stupid and make stupid mistakes sometimes. Probably more often than you. Please double check any third-party code that you use for financial operations, not just mine.

advisor's People

Contributors

feakuru avatar

Stargazers

 avatar

Watchers

 avatar

advisor's Issues

improve data relevance with local scaling

right now, all price changes are represented relatively to the previous price. i should look into scaling them for each prediction - that is, get data for the current sequence, choose min and max price and scale the target between them. the logic is that if you are looking at a time period and predicting from it, it makes no sense to care about the relevance of this number to the nominal price, but rather to the size of the change in the space of the current "market tunnel", if you will.

  • measure accuracy!

ensemble methods

thank you chatgpt for this wonderful idea. quoting:

Voting Classifier/Regressor
In a voting classifier or regressor, each base model predicts the target outcome, and the final prediction is determined by a majority vote (for classification) or an average (for regression) of the individual predictions.
Bagging (Bootstrap Aggregating)
Bagging involves training multiple instances of the same base model on different subsets of the training data (bootstrap samples) and then aggregating their predictions (e.g., averaging for regression, voting for classification).
Random Forest
A random forest is an extension of bagging that specifically applies to decision trees. It constructs an ensemble of decision trees, each trained on a different bootstrap sample and a random subset of features.
Boosting
Boosting focuses on sequentially training weak base models, where each subsequent model corrects the errors of the previous one. Common boosting algorithms include AdaBoost, Gradient Boosting, and XGBoost.
Stacking
Stacking involves training multiple diverse base models and using a meta-model (often another model) to learn how to combine their predictions optimally. The meta-model is trained on the predictions of the base models.
AdaBoost (Adaptive Boosting)
AdaBoost assigns weights to the training instances and emphasizes the misclassified instances to allow subsequent base models to focus more on those cases and improve overall prediction.
Gradient Boosting Machines (GBM)
GBM builds an ensemble of decision trees sequentially, where each tree corrects the errors of the previous ones. It fits each tree to the residuals of the previous tree.
LightGBM and XGBoost
These are popular implementations of gradient boosting, optimized for speed and performance. They use advanced techniques to build accurate ensembles of decision trees.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.