Coder Social home page Coder Social logo

Websocket Issues about cbpro-trader HOT 2 OPEN

mcardillo55 avatar mcardillo55 commented on May 30, 2024
Websocket Issues

from cbpro-trader.

Comments (2)

martygriffin avatar martygriffin commented on May 30, 2024

Here it the content in error.log

2020-12-19 10:09:27.538637
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in update_orders
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
TypeError: string indices must be integers
2020-12-19 10:09:27.726466
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/./cbpro-trader.py", line 110, in start
product.order_book.process_message(msg)
AttributeError: 'OrderBookCustom' object has no attribute 'process_message'
2020-12-19 10:09:28.651176
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in update_orders
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
TypeError: string indices must be integers
2020-12-19 10:09:29.961216
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in update_orders
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/engine/TradeEngine.py", line 71, in
self.recent_fills = sorted(self.temp_recent_fills, key=lambda x: x['created_at'], reverse=True)[:5]
TypeError: string indices must be integers

from cbpro-trader.

martygriffin avatar martygriffin commented on May 30, 2024

2020-12-19 10:30:07.007735
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/./cbpro-trader.py", line 110, in start
product.order_book.process_message(msg)
AttributeError: 'OrderBookCustom' object has no attribute 'process_message'
2020-12-19 10:30:52.802056
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/./cbpro-trader.py", line 110, in start
product.order_book.process_message(msg)
AttributeError: 'OrderBookCustom' object has no attribute 'process_message'
2020-12-19 10:31:13.089105
Traceback (most recent call last):
File "/Users/marty/GitHub/cbpro-trader/cbpro-trader/daemon/./cbpro-trader.py", line 110, in start
product.order_book.process_message(msg)
AttributeError: 'OrderBookCustom' object has no attribute 'process_message'

from cbpro-trader.

Related Issues (11)

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.