Coder Social home page Coder Social logo

Comments (3)

douggie avatar douggie commented on July 21, 2024

let me check in a fix,

On Sun, Oct 23, 2016 at 8:27 AM, abraxas1984 [email protected]
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
#138, or mute the thread
https://github.com/notifications/unsubscribe-auth/AENHanu9D8rms8nZLfoBD9iqU8Iinbejks5q2wx9gaJpZM4KeEdI
.

from cointrader.

timolson avatar timolson commented on July 21, 2024

​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 [email protected]
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
#138, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnlWyWASgSiOKqRGUw2naFValGPly68ks5q2wx9gaJpZM4KeEdI
.

from cointrader.

abraxas1984 avatar abraxas1984 commented on July 21, 2024

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

from cointrader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.