nefertiti
nefertiti copied to clipboard
NEF in listen mode (aka as a HTTP server): Bots don't reject random values
This is just a weird thing that I found: I can send whatever arguments I want to start a bot and they will always return as part of the bots argument array. For example I can send both price
and size
to a buy bot, or make up any param that I want and it will report it back. Why does the listen server do this, and is there a way to fix it so that it only reports back args that are applicable?
author: https://github.com/d00vy
Originally posted by @d00vy in https://github.com/svanas/nefertiti/issues/48#issuecomment-977111707