If you find it usefull I would be happy about a little donation :)

BTC-Address: 1GodNzXiZbgJcjPVQeAy5D5SXmM4bL6HM4


Nice to know

Where are the important functions?
Bitcoin24Connector.BTC24Connection

Where can you get your values?
Bitcoin24Connector.Storage

//suggested
using Bitcoin24Connector;

Methods

  • BTC24Connection.Login(string name, string apiKey);
//name = Username
//apiKey can be get at your profile-options at https://bitcoin-24.com/

  • BTC24Connection.Logout();


  • BTC24Connection.GetBitcoinAdress();
//returns your btc-address as a string


  • BTC24Connection.RefreshAll();
//RefreshAccountBalance
//RefreshOpenUserOrders
//RefreshAsksAndBids


  • BTC24Connection.RefreshAccountBalance();
//Storage.Btc_All : double
//Storage.Btc_Available : double
//Storage.Eur : double
//Storage.Usd : double


  • BTC24Connection.RefreshOpenUserOrders();
//Storage.OpenOrders : List<Order>
// Order
// id : int
// amount : double
// amount_start : double
// type : int (1 = buy, 2 = sell)
// cur : string
// price : double
// date : double


  • BTC24Connection.RefreshAsksAndBids();
//Storage.HighestBid
//Storage.LowestAsk
//Storage.Asks : List<Entry>
//Storage.Bids : List<Entry>
// Entry
// price : double
// amount : double


  • BTC24Connection.WithdrawBitcoin(double amount, string address);


  • BTC24Connection.SellBitcoin(double amount, double price, string cur);
//Currency.Eur = "EUR"
//Currency.Usd = "USD"


  • BTC24Connection.BuyBitcoin(double amount, double price, string cur);
//Currency.Eur = "EUR"
//Currency.Usd = "USD"


  • BTC24Connection.CancelOrder(int orderid);


  • BTC24Connection.SetServer(Uri serverUrl);
//If serverUrl would change
//pre-defined: https://bitcoin-24.com/api/user_api.php



Last edited Feb 21, 2013 at 1:09 AM by Destiphy, version 2

Comments

No comments yet.