Comments (3)
Ok i found the problem. This occurs only in the first time of the function mkvingAverage is called. On this situation ths function doesent returns any value so raise the error.
To correct this change the fuction and include a elseof statement to return a value
from trading-bot.
Same problem here
from trading-bot.
i have the same problem and the solution above doesn't help. anyone else have a way to overcome?
from trading-bot.
Related Issues (20)
- What is a numpy? HOT 2
- Backtest with External Data HOT 1
- The profits are the same. Always HOT 5
- How to retrive the timestamp from poloniex ? HOT 4
- not recognizing the poloniex.py HOT 4
- Backtest fail, Help HOT 17
- Botchart type error HOT 1
- Issues with MACD and MEA functions HOT 9
- want to add more indicator and strategy
- botIndicators.py has an unresolved reference np HOT 2
- Shouldn't indicators be receiving 'closes' rather than the 'priceAverage' ?
- Is it possible to run self.showPositions at the end? HOT 1
- Ran program, wiped personal data HOT 1
- Running multiple currency pairs on the same exchange account HOT 1
- multiple pair
- code does not work on Mac
- open trade
- Indention error HOT 1
- error
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 trading-bot.