Hey, first post couldnt work this out, any help would be appreciated.
I'm trying to set up agt to bet a market so that I always have the best bet by a minimal margin when someone sets a better price.
For example,
Lets say a market currently has the ability to bet at $1.16. I want to lay a position at $1.2, but am willing to lay anywhere up to $1.5.
So I want a bot that lays a set amount, say $50 at $1.2 initially.
If someone else lays $1.25, then I want the bot to automatically switch my bet so I'm instead betting $1.26, and still offer the best price in the market.
I want this to happen until someone bets $1.5, at which point I want the bot to keep its last amount live in the market, but not offer better than $1.5.
I figured this would be pretty basic, but I can't find it anywhere.
Thanks in advance
I'm trying to set up agt to bet a market so that I always have the best bet by a minimal margin when someone sets a better price.
For example,
Lets say a market currently has the ability to bet at $1.16. I want to lay a position at $1.2, but am willing to lay anywhere up to $1.5.
So I want a bot that lays a set amount, say $50 at $1.2 initially.
If someone else lays $1.25, then I want the bot to automatically switch my bet so I'm instead betting $1.26, and still offer the best price in the market.
I want this to happen until someone bets $1.5, at which point I want the bot to keep its last amount live in the market, but not offer better than $1.5.
I figured this would be pretty basic, but I can't find it anywhere.
Thanks in advance
Comment