Giter Club home page Giter Club logo

Comments (7)

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hi @Loggers,

Can you please check if the output really belongs to your order? Regarding the output, an order group (groupId=4711) is set, which is not part of your example.

Best Regards
Jan

from bitfinex-v2-wss-api-java.

ytiruces avatar ytiruces commented on May 31, 2024

Sorry, this output was from another attempt.

15580 [pool-2-thread-2] 2021-02-25 09:55:01,485 INFO OrderManager placeOrder() - Executing new order BitfinexOrder [id=0, cid=1614246901485000, apikey=null, symbol=BTC_USD, type=MARKET, price=null, priceTrailing=null, priceAuxLimit=null, amount=0.002, postOnly=false, hidden=false, groupId=-1]
15739 [ tyrus-jdk-client-3] 2021-02-25 09:55:01,644 ERROR BitfinexApiBroker handleSignalingChannelData() - Got Error message: [0,"n",[1614246904204,"on-req",null,null,[null,null,1614246901485000,"tBTCUSD",null,null,0.002,null,"MARKET",null,null,null,null,null,null,null,null,null,0,0,null,null,null,0,0,null,null,null,null,null,null,null],null,"ERROR","cid: invalid"]]
15739 [ tyrus-jdk-client-3] 2021-02-25 09:55:01,644 ERROR NotificationHandler handleErrorNotification() - State for order 0 is ERROR, reason is cid: invalid

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hi @Loggers,

Do you see any error during authentication? Is it possible to post the full logs from the beginning of the connection up to this error?

Best Regards
Jan

from bitfinex-v2-wss-api-java.

ytiruces avatar ytiruces commented on May 31, 2024

Hi, @jnidzwetzki,

2573 [main] 2021-02-26 11:00:52,648 INFO  Version <clinit>() - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2853 [main] 2021-02-26 11:00:52,928 WARN  pooling configure() - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
2859 [main] 2021-02-26 11:00:52,934 INFO  pooling buildCreator() - HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:./tmp/trading]
2860 [main] 2021-02-26 11:00:52,935 INFO  pooling buildCreator() - HHH10001001: Connection properties: {password=, user=sa}
2861 [main] 2021-02-26 11:00:52,936 INFO  pooling buildCreator() - HHH10001003: Autocommit mode: false
2866 [main] 2021-02-26 11:00:52,941 INFO  DriverManagerConnectionProviderImpl <init>() - HHH000115: Hibernate connection pool size: 100 (min=1)
3329 [main] 2021-02-26 11:00:53,404 INFO  Dialect <init>() - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
4630 [main] 2021-02-26 11:00:54,705 INFO  access getIsolatedConnection() - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@21da4b5f] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
4823 [main] 2021-02-26 11:00:54,898 INFO  QueryTranslatorFactoryInitiator initiateService() - HHH000397: Using ASTQueryTranslatorFactory
6096 [ tyrus-jdk-client-3] 2021-02-26 11:00:56,171 INFO  BitfinexApiBroker onOpen() - Websocket is now open
6124 [main] 2021-02-26 11:00:56,199 INFO  BitfinexApiBroker executeAuthentification() - Waiting for connection ready events
6321 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,396 INFO  AuthCallbackHandler handleChannelData() - Authentification callback state OK
6433 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,508 INFO  PositionHandler handleChannelData() - Got position callback [0,"ps",[]]
6467 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,542 INFO  OrderHandler handleChannelData() - Got order callback [0,"os",[]]
6475 [main] 2021-02-26 11:00:56,550 INFO  HistoricalCandlesHelper requestHistoricalCandles() - Request historical candles
6666 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,741 INFO  SubscribedCallback handleCandlesCallback() - Registering key trade:15m:tETHBTC on channel 50291
6737 [main] 2021-02-26 11:00:56,812 INFO  HistoricalCandlesHelper requestHistoricalCandles() - Loaded ticks for symbol tETHBTC 239
6746 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,821 ERROR BitfinexApiBroker handleSignalingChannelData() - No match found for message [0,"bu",[125.21525992584584,125.21525992584584]]
6760 [main] 2021-02-26 11:00:56,835 INFO  EMABot registerTicker() - Register ticker
6763 [main] 2021-02-26 11:00:56,838 INFO  EMABot registerTicker() - Wait for ticker
6881 [ tyrus-jdk-client-2] 2021-02-26 11:00:56,956 INFO  UnsubscribedCallback handleChannelData() - Channel 50291 (null) is unsubscribed
6962 [ tyrus-jdk-client-2] 2021-02-26 11:00:57,037 INFO  SubscribedCallback handleTickerCallback() - Registering symbol BitfinexTickerSymbol [bitfinexCurrencyPair=ETH_BTC] on channel 50292

==========
Last ticks
==========
tETHBTC Bar [timestamp=1614337257040, open=0.031825, close=0.031825, high=0.031825, low=0.031825, volume=Optional.empty]

==========
Last bars
==========
ETH_BTC {end time: 2021-02-26T10:45Z[Etc/GMT], close price: 0,031825, open price: 0,031843, min price: 0,031794, max price: 0,031931, volume: 63,150715}

==========
P/L
==========

==========
Trades
==========

==========
Orders
==========
6978 [pool-2-thread-1] 2021-02-26 11:00:57,053 INFO  OrderManager placeOrder() - Executing new order BitfinexOrder [id=0, cid=1614337257053000, apikey=null, symbol=ETH_BTC, type=MARKET, price=null, priceTrailing=null, priceAuxLimit=null, amount=0.002, postOnly=false, hidden=false, groupId=-1]
ETH_BTC
7116 [ tyrus-jdk-client-2] 2021-02-26 11:00:57,191 ERROR BitfinexApiBroker handleSignalingChannelData() - Got Error message: [0,"n",[1614337259293,"on-req",null,null,[null,null,1614337257053000,"tETHBTC",null,null,0.002,null,"MARKET",null,null,null,null,null,null,null,null,null,0,0,null,null,null,0,0,null,null,null,null,null,null,null],null,"ERROR","cid: invalid"]]
7118 [ tyrus-jdk-client-2] 2021-02-26 11:00:57,193 ERROR NotificationHandler handleErrorNotification() - State for order 0 is ERROR, reason is cid: invalid

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hi @Loggers,

I have no idea why Bitfinex is rejecting this cid in your account.

Could you comment out this line "https://github.com/jnidzwetzki/bitfinex-v2-wss-api-java/blob/fda4a7aa96f24f4814c1d5bfa2ca66465de3b549/src/main/java/com/github/jnidzwetzki/bitfinex/v2/command/OrderNewCommand.java#L552" and try again to place the order?

Best Regards
Jan

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

Hi @Loggers ,

does the problem still exist or can we close this ticket?

Best Regards
Jan

from bitfinex-v2-wss-api-java.

jnidzwetzki avatar jnidzwetzki commented on May 31, 2024

There is no activity in this issue; therefore I close it. Please re-open the issue if the problem still exists.

from bitfinex-v2-wss-api-java.

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.