• Stars
    star
    320
  • Rank 130,657 (Top 3 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created over 4 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

tradingview-scraper 2020

Install imports

pip install -r requirements.txt

Run

python main.py

Want to add something? file a PR and join this discord

https://discord.gg/pEssYdtXZx


Have a tradingview username and password?

credits: euvgub

def get_auth_token():
    sign_in_url = 'https://www.tradingview.com/accounts/signin/'
    username = 'username'
    password = 'password'
    data = {"username": username, "password": password, "remember": "on"}
    headers = {
        'Referer': 'https://www.tradingview.com'
    }
    response = requests.post(url=sign_in_url, data=data, headers=headers)
    auth_token = response.json()['user']['auth_token']    
    return auth_token

Then send a message through the tunnel sendMessage(ws, "set_auth_token", ["auth_token"])

ws = create_connection( 'wss://data.tradingview.com/socket.io/websocket?from=chart/XXyour_chartXX/&date=XXXX_XX_XX-XX_XX',headers=headers)

result = ws.recv()
if re.search('~m~\\d+~m~~h~\\d+', result):
            #Send ping message
            ws.send(result)

Buy Me A Coffee

More Repositories

1

chatgpt-chan

An implementation of https://www.insider.com/tiktok-programmer-ai-girlfriend-waifu-euthanized-stopped-working-chatgpt-2023-1
Python
74
star
2

quantopian-offline-2020

A collection of my quantopian learnings, trying to use everything locally and with updated code which works in 2020.
Jupyter Notebook
35
star
3

mass-outlook-email-generator

selenium script to generate email accounts
Python
31
star
4

Terminal-Voice-Assistant

Terminal Voice Assistant is a powerful and flexible tool designed to help users interact with their terminal using natural language commands.
Python
16
star
5

DialoGPT-Finetune

Covid Doctor chatbot using DialoGPT
Jupyter Notebook
13
star
6

emailgenius

EmailGenius: AI-Driven Email Categorization
Python
12
star
7

cv-agents

Intelligent Resumes for Smarter Job Hunting
Python
10
star
8

Rewriting-and-Paraphrasing-GPT-J6B-8bit-finetune

Paraphrase generation with GPT-J on google colab!!
Jupyter Notebook
8
star
9

kali-linux-docker-with-base-tools-and-vnc

#kali #docker #vnc #gui #kali-lite
Dockerfile
5
star
10

python-stocks-charting-from-scratch

Python
4
star
11

deep-learning-notebooks

A collection of deep learning notebooks with cutting edge techniques
Jupyter Notebook
3
star
12

BandwidthControl

The famous selfishnet ported to linux
Shell
3
star
13

Qt-Audiobook-Player

An audiobook player developed specifically for pinephone
Python
3
star
14

datascience-projects

Jupyter Notebook
2
star
15

ML-StockPredictor-GUI

Jupyter Notebook
2
star
16

libgen-telegram-bot

telegram bot to scan library genesis for books using python3
Python
2
star
17

torrentgenie

A minimalistic, simple torrent proxy and magnet fetcher via a telegram bot as an interface.
Python
2
star
18

pchaa

Power Search and Autocomplete
Python
2
star
19

covd-19-dashboard-tableau

1
star
20

machine-learning-books-tracker

telegram bot to check if some book is available in public dropbox link.
Python
1
star
21

jiosaavn-to-spotify

An opensource tool to transfer Jiosaavn (previously Saavn) playlists to Spotify
Python
1
star
22

whatsapp-chat-analyzer

Python
1
star
23

File-Organizer

python snippet to categorize files in their respective categories
Python
1
star
24

zipline-gui-backtester

Jupyter Notebook
1
star
25

GeneticAlgorithm

Implementation of genetic algorithm to find a sequence of numbers.
Java
1
star
26

portfolioprojects

list of some of my projects
Jupyter Notebook
1
star
27

AutomatedWifiDeauthScript

Automated Script to Deauth Wifi
Python
1
star
28

FastApiTest

Python
1
star
29

OptionsBacktester

Python
1
star
30

KindleBookExporter

A utility to batch save screenshots of kindle books and make a new copy to share among others.
Python
1
star
31

Unipune_Assignments

Java
1
star
32

neurolumen

Jupyter Notebook
1
star
33

EWON-Project

Updates and modifications on Ewon project by sharathnaik. The original project is available at : https://www.instructables.com/EWON-Raspberry-Pi-Powered-Home-Robot/
Jupyter Notebook
1
star