▁▁▁▁▁▁▁▁▁▁▁▁⏐︎▁▁▁▁▁▁▁▁▁▁▁ 218
kakobrekla: ok
kakobrekla: i think this is working nao
kakobrekla: http://smpake.com/etc/btc/glbse.php
kakobrekla: i can add more
kakobrekla: i needs this
kakobrekla: 'ticker' => 'BITBOND',
kakobrekla: 'nbshares' => '10000',
kakobrekla: 'hashrate' => '20000',
kakobrekla: 'pps' => '105',
mircea_popescu: where you getting the bids/asks from ?
kakobrekla: from glbse
mircea_popescu: mmm
kakobrekla: $html = file_get_html("https://glbse.com/asset/view/".$dat['ticker']);
kakobrekla: $table = $html->find('.pres_table', 0);
kakobrekla: $rows = $table->find('tr');
kakobrekla: foreach ($rows as $row){
kakobrekla: if ($bid == 0 && $row->find('td',1)->plaintext>0){
kakobrekla: ....
mircea_popescu: so get them from mpex too . you got giga and pure there.
markedathome: nefario is giving us an api possibly tomorrow, likely by friday
kakobrekla: i am hc
kakobrekla: i dont need api
markedathome: :-)
mircea_popescu: why not parse the json srsly ?
kakobrekla: your json?
kakobrekla: maybe i will
mircea_popescu: yes.
mircea_popescu: http://polimedia.us/bitcoin/mpex-vwap.php pick the 1day avg i guess
mircea_popescu: then select best bid, best ask from the two.
markedathome: what about grabbing the last dividend amount for those shares (i know some haven't paid) eg. PUREMINING has, as has MERGEDMINING
markedathome: hmm... nvm, pure mining is multiple divs per week,
kakobrekla: well assuming
kakobrekla: you are not getting cheated
kakobrekla: this should be enough
kakobrekla: :>
markedathome: mircea_popescu: did you see brendio took 125 puremining shares to short ?
mircea_popescu: i don't keep that close a watch. but good for him.
kakobrekla: which assets should i add
kakobrekla: from glbse
kakobrekla: now
kakobrekla: to this table
kakobrekla: BFLS?
markedathome: COGNITIVE
markedathome: mining only?