Giter VIP home page Giter VIP logo

algo-maker's Introduction

In .env in each module add mongodb url to DATABASE environment variable.

For installing required dependencies(node modules) run: npm install in each module.

backend

In backend Cors is used so in env file add new hosted frontend site url so that it accepts request from the backend

localhost:8000

backend module contains all the apis to fetch and add to databse

-- scripts loginAll.js to login all clients at once this process takes time so run before market starts createParam.js to add new credentials for feed strategyCode.js contains the strategy code which will fetch and run all strategies getToken.js to be run daily to get Token and save to db so feed and historical data modules can fetch data

Any new indicator must be added to indicators.js

feed

localhost:4007

Only for live data feed

run command npm start

order

New brokers can be added to broker directory and then respective routes can be added to API.js and code may be added to utils.js which then imports brokers functions for login,place trade , client positions

zerodha/trade contains function for historical candle data also

run command npm start

NODE_ENV = development PORT = 8000 CLIENT_URL = http://localhost:3000 DATABASE = 'YOUR DATABASE URL' JWT_SECRET = 12345


then run backend

first you need to install whole package,

`npm install` or `npm i`

then

`npm start` (I have installed nodemon)

That's it for backend

then go to the `frontend` folder

first you need to install whole package 

`npm install`

then 

`npm start`

Thats it<:

Happy coding

note: if you face any problem then please contact with me or make a issue.

Thank you (:
# Algo_Live-

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.