The issue is increased risk, because more funds are put into orders.
That’s pretty much the only thing I worry about and decided to limit the order size.
If more funds than 1,000 USD value are put in orders at the same time, they will be there in case NuBot crashes, gets unresponsive, loses the internet connection, has trouble with Poloniex’ API, etc.
The orders will stay placed until they are deleted.
If the BTC price moves while the orders can’t be deleted (and placed anew) for whatever reason, Nu might lose money.
I thought about it for some time and came to the conclusion that a broken peg (and low funds on Poloniex is the only reason to use one of the gateways) might be more harmful for Nu than some funds that are not sold at optimal prices.
Even if the orders were sold at a few percent below current market price, the economical damage would still be only a few percent of the funds on orders.
And in the best case they are sold at ALP clients running on the other side. That would still be a loss for Nu, but a gain for valuable service providers.
My experience so far with NuBot on a RaspberryPi2 has been overwehelming - it runs like a charm.
That was another reason to dare increasing the order sizes.
I adjusted the configuration of the sell side gateway to:
"bookSellwall": 2000.0,
"bookSellOffset": 0.005,
"bookSellInterval": 0.002,
"bookSellMaxVolumeCumulative" : 6000,
"bookSellType": "lin",
"bookSellSteepness": "low",
And the buy side gateway to:
"bookBuywall": 2000.0,
"bookBuyOffset": 0.005,
"bookBuyInterval": 0.002,
"bookBuyMaxVolumeCumulative" : 6000,
"bookBuyType": "lin",
"bookBuySteepness": "low"
This should place (up to) 3 orders (depending on available funds) sized 2,000 USD value.
The first one has an offset of 0.005 USD value.
The next order an offset of 0.005 + 0.002 = 0.007 USD value (linear order book).
And the last order an offset of 0.007 + 0.002 = 0.009 USD value.
This puts a total of 6,000 USD value at risk of losing some percent if something goes per-shaped.
If anybody has serious ojections, please tell me.
Documentation of NuBot settings is available here:
https://bitbucket.org/JordanLeePeershares/nubottrading/src/7dea551e0794f102b8bc904268e4c42e6e48b064/docs/SETUP.md?at=master