Coder Social home page Coder Social logo

jain224 / algo-trades-journal-logger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quantmechanics/algo-trades-journal-logger

0.0 0.0 0.0 936 KB

This code snippet helps you to log your daily algo trades done.

License: MIT License

Python 100.00%

algo-trades-journal-logger's Introduction

Algo trades journal logger

This code utility should help you in logging your daily algo trades done.

Currently built for Aliceblue you could tweek your code accordingly to make work with other broker apis

Remember i'm using here SQLLite3 db as well here.even you can tweek your script to use sqllite3 db only instead of mysql.

Before you get started

  • Step 1 : Configure the env_credential.json file in credentials folder
    • This utility is configured here for Aliceblue, telegram and your mysql database dependencies. Tweek code as needed.
  • Step 2 : Create the table for logging using the create table script placed in db_setups/create_journaltable.sql
  • Step 3 : Install the dependencies by running pip install requirements.txt

Atuomate it

You could also schedule the logging to be automatic to running only on weekdays.

Below expression would run daily at 3.30PM from Mon-Fri. If you're running Linux/Ubuntu Machine you schedule it using crontab expression. crontab expression could be as bin below sample

30 15 * * 1-5 /home/path-to-python-env/python /path-to-file/algo-trades-logger/tradelogger.py

How to Run

Choose your environement where you've dependencies installed and then run below command. python tradelogger.py

image info

algo-trades-journal-logger's People

Contributors

quantmechanics avatar

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.