Comments (3)
I do have the same issue, I cant figure out the problem.
from binance-tutorials.
same, I get RSI values, but when overbought or undersold value, the conditionals don't print ("Buy buy buy"!) or execute the trade.. It just moves onto the next loop cycle
from binance-tutorials.
Hi @abhinavslohiya, @hlairboltons and @jamod, I also had the same issue.
What I did was trying to know how the code is working. So I discovered that it works lazy because the code expects len(closes)
be greater than the RSI_PERIOD which is 14.
Try to debug it adding
print("len closes")
print(len(closes))
And waits for closes array length be greater than the RSI_PERIOD. After that your bot will be able to calculate the LAST_RSI.
Also try to change the RSI_OVERBOUGHT = 60
and RSI_OVERSOLD = 40
because of the Binance API high latency from their servers to your machine. I figure out that it could take imprecise calculations from the real time websocket. Making some difference from the Binance's graphs and my bot.
Best,
AA.
from binance-tutorials.
Related Issues (12)
- can we do live trading with this ? HOT 1
- Can't connect Binance API using websocket HOT 5
- client error
- Error 1013
- "NEW"
- adding a certain percent to close and using whole balance.
- Repost Part 10 of your Binance API Tutorial Series
- Binance Demo HOT 2
- Automatic Coin Choice HOT 2
- how to add stop loss? HOT 1
- MA cross instead of RSI
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 binance-tutorials.