Bitcoin Forum
May 23, 2025, 06:44:34 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Local / Discussions générales et utilisation du Bitcoin / Transaction étrange (en fait non... c'est Bitcoin-qt que je ne connais pas assez on: February 06, 2014, 11:36:37 AM
Bonjour,

j'ai envoyé hier à 19h40 (18h40GMT) 1.02003 BTC à 1DrfjMbvArvsufbimXrZoJEWUAbvysQDzg
mais il y a un truc que je ne pige pas
https://blockchain.info/fr/tx/4717d4466318e263acd94ffbe7db30992972a22cfa27dedc98f7a4fbcaaf12e6
on dirait que je me suis fais prendre 3.97997 BTC dans le même temps!!!

c'est bizarre parce que sur Blockchain, le solde est à 0.61082422 et sur mon client Bitcoin-qt je lis
4.622

j'ai l'impression de m'être fait avoir... (de 3.97997BTC)
et c'est pas une paille quand même...

Merci de m'aider.

Cordialement
2  Economy / Trading Discussion / zipline / Quantopian - backtesting / trading framework on: May 12, 2013, 08:29:44 AM
Hello,

I'm starting here a new thread about zipline / Quantopian
It's a python trading framework - event driven that can be use
for backtesting strategy.

https://bitcointalk.org/index.php?topic=148462.msg2105722#msg2105722
http://vimeo.com/53064082

If you want to try it, you should run ipython with pylab inline
Code:
ipython notebook --pylab inline

MtQuid posts a Python Notebook here
https://bitcointalk.org/index.php?topic=148462.msg2116508#msg2116508
http://nbviewer.ipython.org/5561936

I'm posting here to avoid to overload goxtool thread
(ncurse python software to trade BTC with MtGox)


I have some questions... about zipline...

First, I noticed that data (daily mtgox|BTC/USD data are coming from
http://www.quandl.com/api/v1/datasets/BITCOIN/MTGOXUSD.csv?trim_start=2012-01-01&sort_order=asc
( http://www.quandl.com/BITCOIN-Bitcoin-Charts/MTGOXUSD-Bitcoin-Markets-mtgoxUSD )
raw data from http://bitcoincharts.com/charts/chart.json?m=mtgoxUSD
 
 
Code:
                              open       high     low      close         volume       volume_usd       price
Date                                                                                                          
2013-05-11 00:00:00+00:00  117.70000  118.74000  113.00  113.47000   25532.277740   2952016.798507  115.619015
2013-05-10 00:00:00+00:00  112.79900  122.50000  111.54  117.70000   77443.672681   9140709.083964  118.030418
2013-05-09 00:00:00+00:00  113.20000  113.71852  108.80  112.79900   26894.458204   3003068.410660  111.661235
2013-05-08 00:00:00+00:00  109.60013  116.77700  109.50  113.20000   61680.324704   6990518.957611  113.334665
2013-05-07 00:00:00+00:00  112.25000  114.00000   97.52  109.60013  139626.724860  14898971.673747  106.705731
<class 'pandas.core.frame.DataFrame'>
DatetimeIndex: 497 entries, 2013-05-11 00:00:00+00:00 to 2012-01-01 00:00:00+00:00
Data columns:
open          497  non-null values
high          497  non-null values
low           497  non-null values
close         497  non-null values
volume        497  non-null values
volume_usd    497  non-null values
price         497  non-null values
dtypes: float64(7)
                              open    high      low    close         volume      volume_usd     price
Date                                                                                                
2012-01-05 00:00:00+00:00  5.57383  7.2200  5.57401  6.94760  182328.193876  1130623.294233  6.201034
2012-01-04 00:00:00+00:00  4.88080  5.7000  4.75100  5.57383  131170.856663   688717.856619  5.250540
2012-01-03 00:00:00+00:00  5.21678  5.2900  4.65000  4.88080  125170.253872   619170.541604  4.946627
2012-01-02 00:00:00+00:00  5.26766  5.4700  4.80000  5.21678   69150.931963   360357.284302  5.211170
2012-01-01 00:00:00+00:00  4.72202  5.4999  4.61500  5.26766  108509.229901   553045.139811  5.096757

Note: in fact data need to be sort using ascending index
without that you will get this error message
Code:
AssertionError: Period start falls after period end.

I wonder what is "weighted price"... (renamed price)

this notebook seems to use this "weighted price" to simulate kind of tick data

it will be in my mind much better to simulate each price that have been seen on market (open high low close)
because if you are going long and you put a Stop Loss, it will be probably be hitten by low price.
(or if you are goind short it will probably be hitten by high price)

Second,
I have some problem to run notebook (I always get a (*) )
but I'm running without notebook
http://pastebin.com/jmfuNTKs

Third,
I wonder why I don't see buy/sell (^ and v)

Fourth,
what about day trading !!!
(with M15 timeframe !)
some data are here
https://bitcointalk.org/index.php?topic=199979.0
or https://bitcointalk.org/index.php?topic=196834.0
unfortunately I'm quite busy today ;-(

Kind regards
3  Economy / Trading Discussion / Crypto currencies historical data on: May 09, 2013, 11:23:57 AM
Hello,

I did a Python/Pandas script to retrieve data from Bitcoincharts.

I also performed some tests to ensure that data are ok
(no missing data, no overlapping data, constant timeframe...)

Every columns are stored as integer.

You can download M5 candlestick data for mtgox|BTC/USD and mtgox|BTC/EUR

mtgox|BTC/USD from Sun, 18 Jul 2010 03:40:00 GMT to Wed, 08 May 2013 00:00:00 GMT
 CSV format
http://www.4shared.com/file/7yNh5s14/mtgoxBTCUSD-M5-1279424400_1367.html?

 HDF5 format (more suitable for large files containing tables - a standard financial industry format)
http://www.4shared.com/file/SsXEjf7C/mtgoxBTCUSD-M5-1279424400_1367.html?

mtgox|BTC/EUR from Sat, 27 Aug 2011 08:00:00 GMT to Thu, 09 May 2013 00:00:00 GMT
 CSV format
http://www.4shared.com/file/04uR0jUN/mtgoxBTCEUR-M5-1314432000_1368.html?

 HDF5 format
http://www.4shared.com/file/xY2BxsAW/mtgoxBTCEUR-M5-1314432000_1368.html?

I can now get historical data for any markets supported by Bitcoincharts...

I'm also in the process of making a tick generator from candlestick data
(using a method quite similar to what Metatrader 5 is using)
http://www.mql5.com/en/articles/75

Stay tuned...

working4coins
4  Local / Discussions générales et utilisation du Bitcoin / Bitcoin-central - récupérer le carnet d'ordre complet on: March 01, 2013, 09:25:59 PM
Bonsoir,

je voudrais récupérer le carnet d'ordre complet de Bitcoin-central
je n'ai trouvé que cette page web
https://fr.bitcoin-central.net/order_book?locale=en
je n'ai pas particulièrement envie de la parser (même avec BeautifulSoup)

Existe-t'il un moyen de l'obtenir via l'API ?

En fait je veux comparer le bid/ask moyen pour un montant en BTC donné en utilisant
le carnet d'ordre et comparer avec ce que l'on peut avoir via l'API v1 Quotes

(pour bien vérifier ma compréhension de l'adjudication d'un carnet d'ordre)

Code:
import requests

auth = ('login@domain.com', 'password')
values = {
#  "requested_currency_amount": 10.0,
  "requested_btc_amount": 500.0,
  "currency": "EUR",
  "direction": "sell"
}

r = requests.post('https://www.bitcoin-central.net/api/v1/quotes', values, auth=auth)

print(r.content)

Merci d'avance
5  Local / Mining et Hardware / Crowdfunding de matériel de mining on: February 10, 2013, 05:08:14 PM
Bonjour,

je voudrais savoir s'il existe actuellement des initiatives de crowdfunding de mineurs
afin d'acheter collectivement du matériel haut de gamme et répartir la recette.

Merci
6  Other / Beginners & Help / Satoshi Dice - need some explanations on: February 06, 2013, 06:21:36 PM
Hello,

I need some explanations about Satoshi Dice betting game.

I did a little Python script (with Numpy and Pandas) in order to test differents "strategies"
(I know it 's a negative expected value game so I don't expect a lot from this ;-) ).

see
http://pastebin.com/sMikS4xG

but I don't know what I should do with "house_percent" variable.

I think I did a mistake here :
Code:
self.df['BalanceVar'] = np.where(self.df['TossResults']>0, self.df['Size']*price_multiplier, -self.df['Size'])

but I don't know how this variable (house_percent) should intervene.

Kind regards
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!