Giter Site home page Giter Site logo

ben-hampson / tradebot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dvasdekis/ib-gateway-docker-gcp

5.0 5.0 1.0 75.33 MB

A trading bot for dYdX and Interactive Brokers.

Dockerfile 2.61% Python 96.08% Shell 0.44% Makefile 0.86%
binance finance python3

tradebot's Introduction

πŸ‘‹ Hello, I'm Ben!

πŸ§°β€ƒDevOps Engineer
β˜οΈβ€ƒAzure Cloud Engineer
πŸβ€ƒPython Backend Engineer

–––

πŸ“β€ƒBenHampson.co.uk
πŸ‘”β€ƒLinkedIn

tradebot's People

Contributors

ben-hampson avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

aklepaker

tradebot's Issues

CI: pylint --fail-under

Add a CI step that runs pylint with a --fail-under value of whatever the current level is. Increase the --fail-under level over time.

start.sh: instrument_exists() errors if instrument doesn't exist

During start.sh, after deleting database and trying to create a new one:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/src/runners/startup.py", line 48, in <module>
    populate_instruments()
  File "/home/src/runners/create_db.py", line 87, in populate_instruments
    if instrument_exists(inst):
  File "/home/src/runners/create_db.py", line 22, in instrument_exists
    result = session.exec(statement).one()
  File "/venv/lib/python3.8/site-packages/sqlalchemy/engine/result.py", line 1510, in one
    return self._only_one_row(
  File "/venv/lib/python3.8/site-packages/sqlalchemy/engine/result.py", line 562, in _only_one_row
    raise exc.NoResultFound(
sqlalchemy.exc.NoResultFound: No row was found when one was required

If there isn't one, the function should handle it and return None.

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.