Giter Site home page Giter Site logo

discordalertstrader's People

Contributors

adonunes avatar conceptron avatar kbichave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discordalertstrader's Issues

Will this package Run in Visual Studio Code Python 3.8?

Having an issue. I am using Visual Studio Code with Python 3.8. When I navigate to the DiscordAlertsTrader directory and type in the terminal: DiscordAlertsTrader

It generates the following error:

DiscordAlertsTrader : The term 'DiscordAlertsTrader' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1

Thanks!

Needs update for averaging order.

When BTO alerted multiple times, the alert is ignored by alerts_trader.py :
Repeated BTO

Also some warnings:
alerts_tracker.py:130: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '1.47/1.27' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
self.portfolio.loc[open_trade, "Prices"] = f"{old_price}/{order['price']}"
alerts_tracker.py:135: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '1.47/1.28' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
self.portfolio.loc[open_trade, "Prices-actual"] = avgs_prices_al

Discord Login Error

Has anybody encountered this error message before? It does launch a GUI but no data in it.

File "C:\Users\R\scoop\apps\miniconda3\current\lib\site-packages\discord\utils.py", line 1474, in _get_build_number build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+)\.js').findall(login_page)[-2] + '.js' IndexError: list index out of range

TODOs

  • Catch option msg exit plans
  • Catch edited msg by re-exporting messages
  • Catch edited msg where exit plan updated (ScaredShirtless)
  • Catch msg with exit plans but no BTO|STC alert
  • Add threading to:
    -- update trade plans with new exit orders
    --~~ export discord msgs --> Complication. inside thread, not possible to hang and wait for user input. -> send new messages to queue and have an asynch funct to ask for user input~~
  • Add dynamic exit orders, i.e. after-hours change OCO to Lim
  • Add default:
    -- exit plans or at least SL
    -- buy current market price
  • Remove BTO + PT1 exit order, create exits orders after BTO filled

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.