timolson / cointrader

Coin Trader is a Java-based backend for algorithmically trading cryptocurrencies. It provides data collection and export, complex event processing and triggering, and backtesting - paper trading - live trading.
Other
450 stars 166 forks source link

no module file found for MarketsCommand.epl #136

Closed buffxz closed 6 years ago

buffxz commented 8 years ago

Hi, when I go into console. Whatever command I run, it says "no module file found for MarketsCommand.epl" Do you know what happen?

ct> markets
2016-03-23 22:21:57 [main] INFO  org.reflections.Reflections - Reflections took 1212 ms to scan 1 urls, producing 5418 keys and 25379 values 
2016-03-23 22:21:57 [main] DEBUG c.e.e.c.deploy.EPDeploymentAdminImpl - Reading resource 'MarketsCommand.epl'
2016-03-23 22:21:57 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for MarketsCommand.epl on classpath. Please ensure MarketsCommand.epl is in the resources directory.
2016-03-23 22:21:57 [main] DEBUG c.e.e.c.deploy.EPDeploymentAdminImpl - Reading resource 'CommandBase.epl'
2016-03-23 22:21:57 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for CommandBase.epl on classpath. Please ensure CommandBase.epl is in the resources directory.
douggie commented 8 years ago

this is normal, I should really remove this it is a debug statement.

I believe the issues is you have no markets set up so what you need to do before running the console is

1) Add markets to your properties file 2) run reset-database 3) run the save-data

This will then create all the markets, you can do a quick check by doing select * from market in the database this should list all your markets that will be the same returned

On Thu, Mar 24, 2016 at 5:23 AM, Xu Zhuo Joshua notifications@github.com wrote:

Hi, when I go into console. Whatever command I run, it says "no module file found for MarketsCommand.epl" Do you know what happen?

ct> markets 2016-03-23 22:21:57 [main] INFO org.reflections.Reflections - Reflections took 1212 ms to scan 1 urls, producing 5418 keys and 25379 values 2016-03-23 22:21:57 [main] DEBUG c.e.e.c.deploy.EPDeploymentAdminImpl - Reading resource 'MarketsCommand.epl' 2016-03-23 22:21:57 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for MarketsCommand.epl on classpath. Please ensure MarketsCommand.epl is in the resources directory. 2016-03-23 22:21:57 [main] DEBUG c.e.e.c.deploy.EPDeploymentAdminImpl - Reading resource 'CommandBase.epl' 2016-03-23 22:21:57 [main] DEBUG o.cryptocoinpartners.module.Context - no module file found for CommandBase.epl on classpath. Please ensure CommandBase.epl is in the resources directory.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/timolson/cointrader/issues/136