Comments (11)
Hi,
For Pro users you just need to change __create_connection
method in tvdatafeed/tvDatafeed/main.py
:
def __create_connection(self):
logging.debug("creating websocket connection")
self.ws = create_connection(
"wss://data.tradingview.com/socket.io/websocket", headers=self.headers
)
to the following:
def __create_connection(self):
logging.debug("creating websocket connection")
self.ws = create_connection(
"wss://prodata.tradingview.com/socket.io/websocket", headers=self.headers
)
from tvdatafeed.
Hi,
For Pro users you just need to change
__create_connection
method intvdatafeed/tvDatafeed/main.py
:def __create_connection(self): logging.debug("creating websocket connection") self.ws = create_connection( "wss://data.tradingview.com/socket.io/websocket", headers=self.headers )
to the following:
def __create_connection(self): logging.debug("creating websocket connection") self.ws = create_connection( "wss://prodata.tradingview.com/socket.io/websocket", headers=self.headers )
Hi, i tried to set followed this but i still extend the max-number of candles 5k.
from tvdatafeed.
I haven't tried with a premium account. Try and check if you succeed in downloading more than 5k bars
from tvdatafeed.
I didn't manage to, yet trading view says it has 22k of candles available for the instrument i'm trying to download
from tvdatafeed.
Did you manage to get 22k ?@galeese
from tvdatafeed.
from tvdatafeed.
I also have premium account but unable to download 1 min data of more than 5K candles.
from tvdatafeed.
from tvdatafeed.
Thank you for the wonderful code.
I am a premium user but unable to get 20k bars and these bars i want of 1 second, but this functionality also not there in the code.
Please help.Thanks
from tvdatafeed.
prodata
Problem solved with this code. Hopefully can integrate into future update
from tvdatafeed.
@rezaho , Thanks a lot, it worked for me...
from tvdatafeed.
Related Issues (20)
- "OSError: [Errno 22] Invalid argument" only when downloading Daily/Weekly/Monthly Time Frame Data, Intraday OKAY HOT 1
- "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)"
- Tradingview Login Auth Driver error
- TradingView add recaptcha to protect auto login
- How many symbols can be downloaded with-in a loop. Is there any rate limit ? When I try downloading the symbols with-in a loop sometimes no data is returned and timeout happens HOT 1
- Getting Error: websocket._exceptions.WebSocketException: SSL not available. HOT 2
- Data discrepencies HOT 13
- Does this still work? HOT 1
- How to go in the deepest history
- Is it possible to download individual - not continuous - futures contracts? HOT 1
- Issue while fetching data for Currency Pair HOT 1
- extra features
- Current stock price
- Issue while fetching data for Currency Pair
- tvdatafeed no longer available via pip HOT 9
- volume no the same for same timestamp
- error while signin HOT 9
- error while signin
- Handshake status 429 Too Many Requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tvdatafeed.