21 Nov 2018 |
komodobridge | [discord] <dukeleto> @jl777c i just realized I missed an `extern CCerror`, sorry about that | 09:35:23 |
komodobridge | [discord] <wbradt> @SHossain Using `"amount"` in `setprice` didn't seem to work. I also couldn't find any references to `"amount"` in the code for`setprice`
https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_prices.c#L513
https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_commands.c#L105 | 16:15:43 |
komodobridge | [discord] <SHossain> did the `amount` param worked in `autoprice` script? | 16:21:00 |
komodobridge | [discord] <wbradt> I haven't tried it | 16:26:10 |
komodobridge | [discord] <wbradt> How do I use `autoprice` to place an order at a price that doesn't change? | 16:27:11 |
komodobridge | [discord] <SHossain> ```JSON
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"KMD\",\"rel\":\"BEER\",\"fixed\":0.4}"
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"BEER\",\"rel\":\"KMD\",\"fixed\":100}"
``` | 16:36:43 |
komodobridge | [discord] <SHossain> if you can't set amount, just keep the amount you want to trade in the barterDEX address and send the rest to main account. in any circumstances, using main account for barterDEX is not recommended. always better to create a separate address for trading. | 16:38:21 |
komodobridge | [discord] <tolken> @SHossain I would have sworn James stated you couldn’t set a limit/amount for bobs, unfortunately. A mm2 thing. | 17:03:56 |
komodobridge | [discord] <SHossain> in that case, that is my mistake. | 17:04:30 |
komodobridge | [discord] <SHossain> in that case, that is my mistake. @wbradt ^^ | 17:04:57 |
komodobridge | [discord] <SHossain> thanks @tolken | 17:05:08 |
komodobridge | [discord] <tolken> It would be a very powerful addition though, to have a min/max. Btc will generally require larger UTXOs, so it would be nice to just prevent 1kmd trades against btc before swap even starts, even if there is an appropriately sized btc UTXO. | 17:07:41 |
26 Nov 2018 |
komodobridge | [discord] <wbradt> I am not sure if this is the right channel to ask: is there any self-trade prevention in BarterDEX? | 14:53:59 |
komodobridge | [discord] <jl777c> yes | 14:55:35 |
komodobridge | [discord] <wbradt> Thanks | 15:02:48 |
komodobridge | [discord] <wbradt> What is the functionality of the "duration" argument in the "orderbook" RPC method? | 15:03:14 |
komodobridge | [discord] <jl777c> it isnt used anymore as i rmember | 15:05:04 |
komodobridge | [discord] <wbradt> https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_prices.c#L818 | 15:07:38 |
komodobridge | [discord] <wbradt> It seems to be used in `LP_orderbook_utxoentries` @jl777c | 15:09:48 |
komodobridge | [discord] <wbradt> Which is called here: https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_prices.c#L880 | 15:10:35 |
komodobridge | [discord] <jl777c> maybe you can follow the code to see what it does then | 15:12:18 |
komodobridge | [discord] <wbradt> The only usage it has is at this line: https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_prices.c#L827 I believe the rest of the body of `HASH_ITER` (lines 832-851) simply adds an `LP_orderbookentry` to the asks or bids array. But I can't figure out the significance of `timestamp` of `LP_pubkey_info` | 15:25:19 |
komodobridge | [discord] <SHossain> use dev branch from this repo https://github.com/jl777/SuperNET
the one you are using may not been updated | 15:34:05 |
komodobridge | [discord] <wbradt> Thanks | 15:43:56 |
komodobridge | [discord] <wbradt> Is the RPC API rate limited? | 16:03:47 |
komodobridge | [discord] <CHMEX> Limited by your hardware.
Afaik there is not limiter its all local on your machine | 16:06:58 |
komodobridge | [discord] <wbradt> Thanks | 16:14:03 |
27 Nov 2018 |
komodobridge | [discord] <kmdkrazy-VaraPay> last statement - you could insert tails on USB and have Bdex running and all orders are on KVM - -- one seed - all of the work - no down time | 04:28:07 |
komodobridge | [discord] <kmdkrazy-VaraPay> good night | 04:28:14 |
komodobridge | [discord] <wbradt> What is "SPV mode"? | 21:45:42 |