Skip to content

BitFlyer.Apis

Kiyoaki Tsurutani edited this page Apr 2, 2018 · 2 revisions

AddresseType

public enum BitFlyer.Apis.AddresseType
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Normal

Balance

public class BitFlyer.Apis.Balance

Properties

Type Name Summary
Double Amount
Double Available
CurrencyCode CurrencyCode

Methods

Type Name Summary
String ToString()

BankAccount

public class BitFlyer.Apis.BankAccount

Properties

Type Name Summary
String AccountName
String AccountNumber
String AccountType
String BankName
String BranchName
Int64 Id
Boolean IsVerified

Methods

Type Name Summary
String ToString()

BitFlyerApiException

public class BitFlyer.Apis.BitFlyerApiException
    : Exception, ISerializable, _Exception

Properties

Type Name Summary
Error ErrorResponse
String Path

Methods

Type Name Summary
String ToString()

BitflyerSystemHealth

public enum BitFlyer.Apis.BitflyerSystemHealth
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Normal
1 Busy
2 VeryBusy
3 SuperBusy
4 NoOrder
5 Stop

Board

public class BitFlyer.Apis.Board

Properties

Type Name Summary
BoardOrder[] Asks
BoardOrder[] Bids
Double MiddlePrice

Methods

Type Name Summary
String ToString()

BoardOrder

public class BitFlyer.Apis.BoardOrder

Properties

Type Name Summary
Double Price
Double Size

Methods

Type Name Summary
String ToString()

BoardState

public class BitFlyer.Apis.BoardState

Properties

Type Name Summary
BoardStateData Data
BitflyerSystemHealth Health
BoardStates State

Methods

Type Name Summary
String ToString()

BoardStateData

public class BitFlyer.Apis.BoardStateData

Properties

Type Name Summary
Double SpecialQuotation

BoardStates

public enum BitFlyer.Apis.BoardStates
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Running
1 Closed
2 Starting
3 Preopen
4 CircuitBreak
5 AWAITING_SQ
6 MATURED

CancelAllOrdersParameter

public class BitFlyer.Apis.CancelAllOrdersParameter

Properties

Type Name Summary
String ProductCode

CancelChildOrderParameter

public class BitFlyer.Apis.CancelChildOrderParameter

Properties

Type Name Summary
String ChildOrderAcceptanceId
String ChildOrderId
String ProductCode

CancelParentOrderParameter

public class BitFlyer.Apis.CancelParentOrderParameter

Properties

Type Name Summary
String ParentOrderAcceptanceId
String ParentOrderId
String ProductCode

Chat

public class BitFlyer.Apis.Chat

Properties

Type Name Summary
DateTime Date
String Message
String Nickname

Methods

Type Name Summary
String ToString()

ChildOrder

public class BitFlyer.Apis.ChildOrder

Properties

Type Name Summary
Double AveragePrice
Double CancelSize
String ChildOrderAcceptanceId
String ChildOrderDate
String ChildOrderId
ChildOrderState ChildOrderState
ChildOrderType ChildOrderType
Double ExecutedSize
String ExpireDate
Int64 Id
Double OutstandingSize
Double Price
String ProductCode
Side Side
Double Size
Double TotalCommission

Methods

Type Name Summary
String ToString()

ChildOrderState

public enum BitFlyer.Apis.ChildOrderState
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Active
1 Completed
2 Canceled
3 Expired
4 Rejected

ChildOrderType

public enum BitFlyer.Apis.ChildOrderType
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Limit
1 Market

CoinIn

public class BitFlyer.Apis.CoinIn

Properties

Type Name Summary
String Address
Double Amount
CurrencyCode CurrencyCode
DateTime EventDate
Int64 Id
String OrderId
DepositStatus Status
String TransactionHash

Methods

Type Name Summary
String ToString()

CoinOut

public class BitFlyer.Apis.CoinOut

Properties

Type Name Summary
Double AdditionalFee
String Address
Double Amount
CurrencyCode CurrencyCode
DateTime EventDate
Int64 Id
String OrderId
DepositStatus Status
String TransactionHash

Methods

Type Name Summary
String ToString()

Collateral

public class BitFlyer.Apis.Collateral

Properties

Type Name Summary
Double Amount
Double KeepRate
Double OpenPositionProfitOrLoss
Double RequireCollateral

Methods

Type Name Summary
String ToString()

CollateralHistory

public class BitFlyer.Apis.CollateralHistory

Properties

Type Name Summary
Double Amount
Double Change
CurrencyCode CurrencyCode
DateTime date
Int64 Id
CollateralReasonCode ResonCode

Methods

Type Name Summary
String ToString()

CollateralReasonCode

public enum BitFlyer.Apis.CollateralReasonCode
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Clearing
1 Exchange
2 Post
3 Cancel

ConditionType

public enum BitFlyer.Apis.ConditionType
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Limit
1 Market
2 Stop
3 StopLimit
4 Trail

CryptoCurrencyAddress

public class BitFlyer.Apis.CryptoCurrencyAddress

Properties

Type Name Summary
String Address
CurrencyCode CurrencyCode
AddresseType Type

Methods

Type Name Summary
String ToString()

CurrencyCode

public enum BitFlyer.Apis.CurrencyCode
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Jpy
1 Btc
2 Eth
3 Etc
4 Ltc
5 Bch
6 Mona
7 Lisk
8 Unknown

Deposit

public class BitFlyer.Apis.Deposit

Properties

Type Name Summary
Double Amount
CurrencyCode CurrencyCode
DateTime EventDate
Int64 Id
String OrderId
DepositStatus Status

Methods

Type Name Summary
String ToString()

DepositStatus

public enum BitFlyer.Apis.DepositStatus
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Pending
1 Completed

EnumExtensions

public static class BitFlyer.Apis.EnumExtensions

Static Methods

Type Name Summary
String GetEnumMemberValue(this Enum value)

Error

public class BitFlyer.Apis.Error

Properties

Type Name Summary
String ErrorMessage
Int32 Status

Methods

Type Name Summary
String ToString()

FastHexString

public static class BitFlyer.Apis.FastHexString

Static Methods

Type Name Summary
Byte[] FromHex(this String source)
String ToHex(this Byte[] source)
String ToHex(this Byte[] source, Boolean hexIndicator)

Health

public class BitFlyer.Apis.Health

Properties

Type Name Summary
BitflyerSystemHealth Status

Methods

Type Name Summary
String ToString()

Market

public class BitFlyer.Apis.Market

Properties

Type Name Summary
ProductAlias ProductAlias
String ProductCode

Methods

Type Name Summary
String ToString()

OrderMethod

public enum BitFlyer.Apis.OrderMethod
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Simple
1 IfDone
2 OneCancelsTheOther
3 IfDoneOneCancelsTheOther

ParentOrder

public class BitFlyer.Apis.ParentOrder

Properties

Type Name Summary
Double AveragePrice
Double CancelSize
Double ExecutedSize
String ExpireDate
Int32 Id
Double OutstandingSize
String ParentOrderAcceptanceId
DateTime ParentOrderDate
String ParentOrderId
ParentOrderState ParentOrderState
ParentOrderType ParentOrderType
Double Price
String ProductCode
Side Side
Double Size
Double TotalCommission

Methods

Type Name Summary
String ToString()

ParentOrderDetail

public class BitFlyer.Apis.ParentOrderDetail

Properties

Type Name Summary
Int64 Id
OrderMethod OrderMethod
ParentOrderDetailParameter[] Parameters
String ParentOrderAcceptanceId
String ParentOrderId

Methods

Type Name Summary
String ToString()

ParentOrderDetailParameter

public class BitFlyer.Apis.ParentOrderDetailParameter

Properties

Type Name Summary
ConditionType ConditionType
Double Offset
Double Price
String ProductCode
Side Side
Double Size
Double TriggerPrice

ParentOrderState

public enum BitFlyer.Apis.ParentOrderState
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Active
1 Completed
2 Canceled
3 Expired
4 Rejected

ParentOrderType

public enum BitFlyer.Apis.ParentOrderType
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 IfDone
1 OneCancelsTheOther
2 IfDoneOneCancelsTheOther
3 Stop
4 StopLimit
5 Trail

Position

public class BitFlyer.Apis.Position

Properties

Type Name Summary
Double Commission
Double Leverage
DateTime OpenDate
Double Price
String ProductCode
Double ProfitOrLoss
Double RequireCollateral
Side Side
Double Size
Double SwapPointAccumulate

Methods

Type Name Summary
String ToString()

PostResult

public class BitFlyer.Apis.PostResult

Properties

Type Name Summary
String ChildOrderAcceptanceId
String MessageId
String ParentOrderAcceptanceId

Methods

Type Name Summary
String ToString()

PrivateApi

public class BitFlyer.Apis.PrivateApi

Methods

Type Name Summary
Task CancelAllOrders(CancelAllOrdersParameter parameter)
Task CancelChildOrder(CancelChildOrderParameter parameter)
Task CancelParentOrder(CancelParentOrderParameter parameter)
Task<CryptoCurrencyAddress[]> GetAddresses()
Task<Balance[]> GetBalance()
Task<BankAccount[]> GetBankAccounts()
Task<ChildOrder[]> GetChildOrder(String productCode, Int64 childOrderId)
Task<ChildOrder[]> GetChildOrders(String productCode, Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null, Nullable<ChildOrderState> childOrderState = null)
Task<CoinIn[]> GetCoinIns(AddresseType type = Normal, Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null)
Task<CoinOut> GetCoinOut(String messageId)
Task<CoinOut[]> GetCoinOuts(Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null)
Task<Collateral> GetCollateral()
Task<CollateralHistory[]> GetCollateralHistory(Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null)
Task<Deposit[]> GetDeposits()
Task<PrivateExecution[]> GetExecutions(String productCode, Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null, String childOrderId = null, String childOrderAcceptanceId = null)
Task<ParentOrderDetail> GetParentOrder(String productCode, String parentOrderId = null, String parentOrderAcceptanceId = null)
Task<ParentOrder[]> GetParentOrders(String productCode, Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null, ParentOrderState parentOrderState = Active)
Task<String[]> GetPermissions()
Task<Position[]> GetPositions(String productCode)
Task<TradingCommission> GetTradingCommission(String productCode)
Task<Withdrawal> GetWithdrawal(String messageId)
Task<Withdrawal[]> GetWithdrawals(Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null)
Task<PostResult> SendChildOrder(SendChildOrderParameter parameter)
Task<PostResult> SendCoin(SendCoinParameter parameter)
Task<PostResult> SendParentOrder(SendParentOrderParameter parameter)
Task<PostResult> Withdraw(WithdrawParameter parameter)

PrivateExecution

public class BitFlyer.Apis.PrivateExecution

Properties

Type Name Summary
String ChildOrderAcceptanceId
String ChildOrderId
Double Commission
DateTime ExecDate
Int64 Id
Double Price
Side Side
Double Size

Methods

Type Name Summary
String ToString()

ProductAlias

public enum BitFlyer.Apis.ProductAlias
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 None
1 BtcJpyThisWeek
2 BtcJpyNextWeek

ProductCode

public static class BitFlyer.Apis.ProductCode

Static Fields

Type Name Summary
String BchBtc
String BtcEur
String BtcJpy
String BtcUsd
String EthBtc
String FxBtcJpy

Static Methods

Type Name Summary
Task<String> GetBtcJpyNextWeek()
Task<String> GetBtcJpyThisWeek()

PublicApi

public class BitFlyer.Apis.PublicApi

Static Methods

Type Name Summary
Task<Board> GetBoard(String productCode)
Task<BoardState> GetBoardState(String productCode)
Task<Chat[]> GetChat(Nullable<DateTime> fromDate = null)
Task<Chat[]> GetChatEu(Nullable<DateTime> fromDate = null)
Task<Chat[]> GetChatUsa(Nullable<DateTime> fromDate = null)
Task<PublicExecution[]> GetExecutions(String productCode, Nullable<Int32> count = null, Nullable<Int32> before = null, Nullable<Int32> after = null)
Task<Health> GetHealth(String productCode = null)
Task<Market[]> GetMarkets()
Task<Market[]> GetMarketsEu()
Task<Market[]> GetMarketsUsa()
Task<Ticker> GetTicker(String productCode)

PublicExecution

public class BitFlyer.Apis.PublicExecution

Properties

Type Name Summary
String BuyChildOrderAcceptanceId
DateTime ExecDate
Int64 Id
Double Price
String SellChildOrderAcceptanceId
Side Side
Double Size

Methods

Type Name Summary
String ToString()

PubnubChannel

public static class BitFlyer.Apis.PubnubChannel

Static Fields

Type Name Summary
String BoardBchBtc
String BoardBtcEur
String BoardBtcJpy
String BoardBtcUsd
String BoardEthBtc
String BoardFxBtcJpy
String BoardPrefix
String BoardSnapshotBchBtc
String BoardSnapshotBtcEur
String BoardSnapshotBtcJpy
String BoardSnapshotBtcUsd
String BoardSnapshotEthBtc
String BoardSnapshotFxBtcJpy
String BoardSnapshotPrefix
String ExecutionPrefix
String ExecutionsBchBtc
String ExecutionsBtcEur
String ExecutionsBtcJpy
String ExecutionsBtcUsd
String ExecutionsEthBtc
String ExecutionsFxBtcJpy
String TickerBchBtc
String TickerBtcEur
String TickerBtcJpy
String TickerBtcUsd
String TickerEthBtc
String TickerFxBtcJpy
String TickerPrefix

Static Methods

Type Name Summary
Task<String> GetBoardBtcJpyNextWeek()
Task<String> GetBoardBtcJpyThisWeek()
Task<String> GetBoardSnapshotBtcJpyNextWeek()
Task<String> GetBoardSnapshotBtcJpyThisWeek()
Task<String> GetExecutionBtcJpyNextWeek()
Task<String> GetExecutionBtcJpyThisWeek()
Task<String> GetTickerBtcJpyNextWeek()
Task<String> GetTickerBtcJpyThisWeek()

RealtimeApi

public class BitFlyer.Apis.RealtimeApi

Methods

Type Name Summary
void Subscribe(String channel, Action<T> onReceive, Action<String> onConnect, Action<String, Exception> onError)

SendChildOrderParameter

public class BitFlyer.Apis.SendChildOrderParameter

Properties

Type Name Summary
ChildOrderType ChildOrderType
Int32 MinuteToExpire
Double Price
String ProductCode
Side Side
Double Size
TimeInForce TimeInForce

SendCoinParameter

public class BitFlyer.Apis.SendCoinParameter

Properties

Type Name Summary
Double AdditionalFee
String Address
Double Amount
Int32 Code
CurrencyCode CurrencyCode

SendParentOrderParameter

public class BitFlyer.Apis.SendParentOrderParameter

Properties

Type Name Summary
Int32 MinuteToExpire
OrderMethod OrderMethod
ParentOrderDetailParameter[] Parameters
TimeInForce TimeInForce

Side

public enum BitFlyer.Apis.Side
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 Unknown
1 Buy
2 Sell
3 BuySell

Ticker

public class BitFlyer.Apis.Ticker

Properties

Type Name Summary
Double BestAsk
Double BestAskSize
Double BestBid
Double BestBidSize
Double LatestPrice
String ProductCode
Int64 TickId
DateTime Timestamp
Double TotalAskDepth
Double TotalBidDepth
Double Volume
Double VolumeByProduct

Methods

Type Name Summary
String ToString()

TimeInForce

public enum BitFlyer.Apis.TimeInForce
    : Enum, IComparable, IFormattable, IConvertible

Enum

Value Name Summary
0 GoodTilCanceled
1 ImmediateOrCancel
2 FillOrKill

TradingCommission

public class BitFlyer.Apis.TradingCommission

Properties

Type Name Summary
Double CommissionRate

Methods

Type Name Summary
String ToString()

Withdrawal

public class BitFlyer.Apis.Withdrawal

Properties

Type Name Summary
Double Amount
CurrencyCode CurrencyCode
DateTime EventDate
Int64 Id
String OrderId
DepositStatus Status

Methods

Type Name Summary
String ToString()

WithdrawParameter

public class BitFlyer.Apis.WithdrawParameter

Properties

Type Name Summary
Int64 Amount
Int64 BankAccountId
Int32 Code
CurrencyCode CurrencyCode