I have a little programming experience but don't feel comfortable enough to execute the code (and risk placing incorrect orders stuck in a while loop). Could someone comment each line of code and further explain the details? For instance, what does the function 'get_true_price()' actually do? Where does it get that price and what does the function do? Does it pull from an internal price feed? And from the looks of it SYMBOL and SPREAD are the only variables that need to be modified to 'fill in the gaps'.. am I reading that correctly? Gah, I'm such a n00b
I'm in the same boat. It's killing me to have my BTSX stake just sitting around when arbitrage opportunities are growing on trees. I'd tip heavily to get my hands on a nice modular arbitrage tool.
Sent from my SCH-S720C using Tapatalk 2
I second that
We need a scripting language built into the interface somehow. It's that simple.
The more complicated it is to do the less people there will be doing it.
I can handle C++ but someone has to make a blog like "how to make bots using Bitshares API".
Then do a brief run through of the different functions. Best way to do it is let us input our scripts or our code directly into Bitshares. If it has to deal with compiling and the formulas for arbitrage aren't documented then less people will make bots.
... lots of financial incentive out there for people to develop this
... and not release the code ..
a.k.a ... not deliver until unprofitable ... (reminds you of sth.?)
I'm not even asking about the code. I want to know how to interact with the API so I can write my own code. Also I want the formulas which make up the underlying basis of the arbitrage bots.
As far as I know it gets a set of price feeds and compares them, then trades on the difference. The code itself is very simple for any programmer. It looks like it's using RPC API
http://bitshares.org/documentation/group__rpc__api.htmlI will see if I can write a script myself later today.