Closed abraxas1984 closed 6 years ago
let me check in a fix,
On Sun, Oct 23, 2016 at 8:27 AM, abraxas1984 notifications@github.com wrote:
Hi there, this is a really interesting project, but I can't get the buy/sell commands to work. I'm trying to stick to this syntac: buy/sell {volume} {market} [limit {limitPrice}] [stop {stopPrice}]
ct> buy 10.0 bitstamp:btc.usd
But get a token recognition error. How can I get around this?? Thanks
1) null returned by binding at org.cryptocoinpartners.schema. GeneralOrderFactory.create() but parameter 2 of org.cryptocoinpartners.schema.GeneralOrder.() is not @Nullable https://github.com/Nullable while locating org.cryptocoinpartners.schema.Listing annotated with @com.google.inject.assistedinject.Assisted(value=) for parameter 2 at org.cryptocoinpartners.schema. GeneralOrder.(GeneralOrder.java:85) while locating org.cryptocoinpartners.schema.GeneralOrder annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
1 error at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) ~[guice-4.0.jar:na] at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:770) ~[guice-assistedinject-4.0.jar:na] at com.sun.proxy.$Proxy40.create(Unknown Source) ~[na:na] at org.cryptocoinpartners.command.OrderCommand.run(OrderCommand.java:54) ~[classes/:na] at org.cryptocoinpartners.bin.ConsoleRunMode.run(ConsoleRunMode.java:94) ~[classes/:na] at org.cryptocoinpartners.bin.Main.main(Main.java:141) [classes/:na] Internal error: see cointrader.log
ct> line 1:13 token recognition error at: ':' line 1:17 token recognition error at: '.u'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/138, or mute the thread https://github.com/notifications/unsubscribe-auth/AENHanu9D8rms8nZLfoBD9iqU8Iinbejks5q2wx9gaJpZM4KeEdI .
Not sure if Douggie will chime in here or not but… CoinTrader is really meant to be a programming framework for writing automated trading bots in Java. We haven't really maintained the console, which is really just a demo.
On Sun, Oct 23, 2016 at 12:27 AM, abraxas1984 notifications@github.com wrote:
Hi there, this is a really interesting project, but I can't get the buy/sell commands to work. I'm trying to stick to this syntac: buy/sell {volume} {market} [limit {limitPrice}] [stop {stopPrice}]
ct> buy 10.0 bitstamp:btc.usd
But get a token recognition error. How can I get around this?? Thanks
1) null returned by binding at org.cryptocoinpartners.schema. GeneralOrderFactory.create() but parameter 2 of org.cryptocoinpartners.schema.GeneralOrder.() is not @Nullable https://github.com/Nullable while locating org.cryptocoinpartners.schema.Listing annotated with @com.google.inject.assistedinject.Assisted(value=) for parameter 2 at org.cryptocoinpartners.schema. GeneralOrder.(GeneralOrder.java:85) while locating org.cryptocoinpartners.schema.GeneralOrder annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
1 error at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) ~[guice-4.0.jar:na] at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:770) ~[guice-assistedinject-4.0.jar:na] at com.sun.proxy.$Proxy40.create(Unknown Source) ~[na:na] at org.cryptocoinpartners.command.OrderCommand.run(OrderCommand.java:54) ~[classes/:na] at org.cryptocoinpartners.bin.ConsoleRunMode.run(ConsoleRunMode.java:94) ~[classes/:na] at org.cryptocoinpartners.bin.Main.main(Main.java:141) [classes/:na] Internal error: see cointrader.log
ct> line 1:13 token recognition error at: ':' line 1:17 token recognition error at: '.u'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timolson/cointrader/issues/138, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnlWyWASgSiOKqRGUw2naFValGPly68ks5q2wx9gaJpZM4KeEdI .
I want to integrate this with other frameworks... I think the console would be great as a test tool to check the functionality.at the moment a lot of tables in db are empty and wanted to see how transactions are stored. don't worry too much about it unless is an easy fix. I don't know much about antlr parser unfortunately
Hi there, this is a really interesting project, but I can't get the buy/sell commands to work. I'm trying to stick to this syntac: buy/sell {volume} {market} [limit {limitPrice}] [stop {stopPrice}]
ct> buy 10.0 bitstamp:btc.usd
But get a token recognition error. How can I get around this?? Thanks
1) null returned by binding at org.cryptocoinpartners.schema.GeneralOrderFactory.create() but parameter 2 of org.cryptocoinpartners.schema.GeneralOrder.() is not @Nullable
while locating org.cryptocoinpartners.schema.Listing annotated with @com.google.inject.assistedinject.Assisted(value=)
for parameter 2 at org.cryptocoinpartners.schema.GeneralOrder.(GeneralOrder.java:85)
while locating org.cryptocoinpartners.schema.GeneralOrder annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
1 error at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) ~[guice-4.0.jar:na] at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:770) ~[guice-assistedinject-4.0.jar:na] at com.sun.proxy.$Proxy40.create(Unknown Source) ~[na:na] at org.cryptocoinpartners.command.OrderCommand.run(OrderCommand.java:54) ~[classes/:na] at org.cryptocoinpartners.bin.ConsoleRunMode.run(ConsoleRunMode.java:94) ~[classes/:na] at org.cryptocoinpartners.bin.Main.main(Main.java:141) [classes/:na] Internal error: see cointrader.log
ct> line 1:13 token recognition error at: ':' line 1:17 token recognition error at: '.u'