Code Monkey home page Code Monkey logo

Comments (5)

ericscheier avatar ericscheier commented on August 23, 2024

Waiting on funds in the test account to finish this feature

from market-maker.

ericscheier avatar ericscheier commented on August 23, 2024

(that commit should read "liquidity-limiting logic")

There is now a new setting called "MIN_CONTRACTS" that defines how many contracts should be present on each side of the market for the algorithm to continue trading

from market-maker.

ericscheier avatar ericscheier commented on August 23, 2024

Copying comment from @Behappy123 on this issue via skype:

[20:29:48] Tommy: Another thing I noticed Eric, so I wanted the bot to only refresh orders if there were say 5000 volume of orders ahead of me, but you made it so that the bot just simply doesn't trade if there's not that much liquidity ahead of me, this is a problem because then the bot just doesn't trade if there's an order size of "1" or "50" or what not as the dominant contract
[20:33:25] Tommy: basically the purpose of that was to avoid refreshing the order unless there's a sizable amount of orders that moved ahead of me, if someone puts only 1 contract or 50 contracts ahead of me, I don't mind, but if they put a big order (ie: 5k contracts) ahead of me, then I have to jump ahead of them

from market-maker.

ericscheier avatar ericscheier commented on August 23, 2024

I'm confused because the following statements seem to be contradictory:

Adjust order paramaters to only place orders where there is at least 5000 contracts+ directly behind us in the orderbook

and

I wanted the bot to only refresh orders if there were say 5000 volume of orders ahead of me

Please reconcile this so that I can proceed accordingly. Thanks

from market-maker.

ericscheier avatar ericscheier commented on August 23, 2024

I'll make it cumulative up to the max order-book depth that can be subscribed to (I think that's 25 levels) and if it's not 5k in that range then you exit the market. Far less likely. And the order will be placed at 1 tick better than the 5001st contract (which most likely means you'll be in the stack of orders that includes the 5000th). I'll keep the MIN_CONTRACTS option and it'll just have a new meaning now.

from market-maker.

Related Issues (9)

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.