Giter Club home page Giter Club logo

Comments (4)

caressgents avatar caressgents commented on May 23, 2024

Also, once the orders are filled on both sides, it does not resubmit the grid for new orders. It only says 'on open' in the terminal, but never places new order sets. @fengok

from thorcryptocurrencyquant.

CryptoLagom avatar CryptoLagom commented on May 23, 2024

你好,策略运行需要设置Mongodb数据库,在Quant.py 的31行开始是相关代码,在_websocket.py 的195行是相关代码,okex_websocket的218行是相关代码,你可以查看一下,websocket改变数据库的订单状态,Quant.py检测数据库的订单状态是否发生变化去进行相关操作

from thorcryptocurrencyquant.

caressgents avatar caressgents commented on May 23, 2024

@fengok Thank you, I got it working now.

However, noticing when orders are filled on either side, the algo does not update the orders to maintain the spread. Is this correct? If so, it will get orders stuck in positions often when market goes against your grid.

from thorcryptocurrencyquant.

CryptoLagom avatar CryptoLagom commented on May 23, 2024

@caressgents 别客气!现在价格超出了网的范围,就不会运行了,没有附加价格跟随功能,没有止损功能,你可以尝试添加,以后我可能会更新

from thorcryptocurrencyquant.

Related Issues (6)

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.