Comments (11)
I don't know about TurtleStrategy... Douggie is that something you added?
On Thu, Sep 25, 2014 at 2:39 PM, bolobox [email protected] wrote:
Hi,
I am trying to run cointrader following the wiki setup guide but it seems
i cant run the console mode.I get errors about a missing strategy (TurtlesStrategy):
21:12:34.057 [main] INFO c.e.e.c.s.EPServiceProviderImpl - Initializing engine URI 'default' version 4.9.0
21:12:35.834 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for XchangeData.epl on classpath. Please ensure XchangeData.epl is in the resources directory.
21:12:35.848 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for BasicQuoteService.epl on classpath. Please ensure BasicQuoteService.epl is in the resources directory.
21:12:35.849 [main] DEBUG o.cryptocoinpartners.module.Context - subscribing private void org.cryptocoinpartners.module.BasicQuoteService.recordBook(org.cryptocoinpartners.schema.Book) with statement "select * from Book"
21:12:36.655 [main] DEBUG o.cryptocoinpartners.module.Context - subscribing private void org.cryptocoinpartners.module.BasicQuoteService.recordTrade(org.cryptocoinpartners.schema.Trade) with statement "select * from Trade"
21:12:36.675 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for XchangeAccountService.epl on classpath. Please ensure XchangeAccountService.epl is in the resources directory.
21:12:36.987 [main] INFO c.e.e.c.s.StatementLifecycleSvcImpl - Failed to compile statement: Failed to resolve 'TurtelsStrategy.getMarket' to a property, single-row function, aggregation function, script, stream or class name com.espertech.esper.epl.expression.ExprValidationException: Failed to resolve 'TurtelsStrategy.getMarket' to a property, single-row function, aggregation function, script, stream or class name at com.espertech.esper.epl.expression.ExprNodeUtilResolveExceptionHandlerDefault.handle(ExprNodeUtilResolveExceptionHandlerDefault.java:31) ~[cointrader-0.3.0-SNAPSHOT-jar-with-dependencies.jar:na]I have removed refereces to TurtlesStrategy in MockOrderService.epl and
cointrader-esper.cfg.xml but still complaining that SubscribePortfolioEvent
is not found:23:30:47.109 [main] INFO c.e.e.c.s.StatementLifecycleSvcImpl - Failed to compile statement: Failed to resolve event type: Event type or class named 'SubscribePortfolioEvent' was not found
com.espertech.esper.epl.expression.ExprValidationException: Failed to resolve event type: Event type or class named 'SubscribePortfolioEvent' was not foundI am using java 1.7.0 (Ubuntu).
Let me know if you need further information. Any help is much appreciated.
Thanks in advance,
—
Reply to this email directly or view it on GitHub
#65.
from cointrader.
Hi Tim,
Thanks for the response.
The TurtelsStrategy is referenced in the following esper files:
https://github.com/timolson/cointrader/blob/master/src/main/resources/MockOrderService.epl
https://github.com/timolson/cointrader/blob/master/src/main/resources/cointrader-esper.cfg.xml
According to cointrader-esper.cfg.xml, the strategy should live in org.cryptocoinpartners.module.TurtelsStrategy but it is missing.
Here is the full startup log when i try to run console mode:
Thanks.
Best regards,
from cointrader.
HI Tim,
Indeed This was a dummy test strategy.
Sorry my mistake it crept into master.
removed.
On Fri, Sep 26, 2014 at 9:46 AM, bolobox [email protected] wrote:
Hi Tim,
Thanks for the response.
The TurtelsStrategy is referenced in the following esper files:
https://github.com/timolson/cointrader/blob/master/src/main/resources/MockOrderService.epl
https://github.com/timolson/cointrader/blob/master/src/main/resources/cointrader-esper.cfg.xml
According to cointrader-esper.cfg.xml, the strategy should live in
org.cryptocoinpartners.module.TurtelsStrategy but it is missing.Here is the full startup log when i try to run console mode:
Thanks.
Best regards,
—
Reply to this email directly or view it on GitHub
#65 (comment).
from cointrader.
Thanks, Douggie.
bolobox, if you have any further problems getting the console demo running,
please let me know. –Tim
from cointrader.
Thanks, Tim. Thanks, Douggie.
I still have errors about "PortfolioService was already configured":
My cointrader.properties is copied from cointrader-default.properties and only modified to put my mysql settings.
Thanks,
from cointrader.
HI Bolobox,
My apologies for this. I don't have the code in front of me, try adding the
following line to your properties, this tells the portfolio service what
currency to publish PnL.
base.symbol=USD
Regards
Douggei
On Sun, Sep 28, 2014 at 12:58 PM, bolobox [email protected] wrote:
Thanks, Tim. Thanks, Douggie.
I still have errors about "PortfolioService was already configured":
My cointrader.properties is copied from cointrader-default.properties and
only modified to put my mysql settings.Thanks,
—
Reply to this email directly or view it on GitHub
#65 (comment).
from cointrader.
Thanks Douggie, i already have base.symbol set to USD in my properties.
These are the simple steps to reproduce the problem:
$ git clone https://github.com/timolson/cointrader
$ cd cointrader
$ mvn
$ cp cointrader-default.properties cointrader.properties #(and edit mysql settings on cointrader.properties)
$ ./cointrader.sh reset-database
$ ./cointrader.sh console
from cointrader.
I pushed a fix for the ConsoleMode. Keep in mind that the console is
really just a demo, and Cointrader is meant to be run "headless" for
automated trading.
from cointrader.
I know cointrader is an automated trading platform and i wish to use it with some bots i plan to implement.
Console mode is working now.
Thanks for your valuable asistance Tim and Douggie.
from cointrader.
No problem, bolobox. Good luck with your bots!
On Mon, Sep 29, 2014 at 12:24 PM, bolobox [email protected] wrote:
I know cointrader is an automated trading platform and i wish to use it
with some bots i plan to implement.Console mode is working now.
Thanks for your valuable asistance Tim and Douggie.
—
Reply to this email directly or view it on GitHub
#65 (comment).
from cointrader.
Hi Tim and Bolobox,
I am just traveling so have very intermittent connectivity.
Thanks to time for taking care of things.
On Mon, Sep 29, 2014 at 9:33 PM, Tim Olson [email protected] wrote:
No problem, bolobox. Good luck with your bots!
On Mon, Sep 29, 2014 at 12:24 PM, bolobox [email protected]
wrote:I know cointrader is an automated trading platform and i wish to use it
with some bots i plan to implement.Console mode is working now.
Thanks for your valuable asistance Tim and Douggie.
—
Reply to this email directly or view it on GitHub
#65 (comment).—
Reply to this email directly or view it on GitHub
#65 (comment).
from cointrader.
Related Issues (20)
- no module file found for MarketsCommand.epl HOT 1
- Cannot exit console HOT 1
- buy antlr command error parsing HOT 3
- Information HOT 4
- Running BookTest in Eclipse failed due to failed db initialization HOT 2
- Latest master cannot build with mvn HOT 44
- I built it... but it fails to store data... HOT 3
- QUESTION: Recovery from outages HOT 7
- Is master a working version? HOT 2
- Upgrade to Apache Flink
- Problem with connecting to Mysql database HOT 2
- Location of cointrader.properties HOT 3
- NoClassDefFoundError: javax/xml/bind/JAXBException HOT 8
- doc update: input console under eclipse HOT 1
- exit fails HOT 4
- How to Add an XChange HOT 4
- Trigger on order fill? HOT 1
- Is last version working? HOT 3
- Dependency org.apache.zookeeper:zookeeper, leading to CVE problem HOT 2
- Application can not start because of the hibernate version HOT 3
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 cointrader.