Home News DOC Class DL Others Rice
Class  >  zaifapi
zaifapi class

Description

Provides a function to trade on the Zaif.

Notes

It is a class that is dynamically embedded when the Cooker runs.

This class is distributed as Rtype.ZaifApi.dll.

Note : Rtype.ZaifApi.dll is not included in the Cooker distribution archive. In order to use the class, please incorporate the dll file yourself.

DLL

Rtype.ZaifApi.dll

fitter

SignatureDescription
zaifapi()

Gets an instance.

zaifapi(int)

Gets an instance that has been set a timeout span.

zaifapi(string,string)

Gets an instance that has been set api key and secret key.

zaifapi(string,string,int)

Gets an instance that has been set api key, secret key, and timeout span.

getter

SignatureDescription
Fitted

Gets a value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

SignatureDescription
ApiKey(string)

Sets an api key.

SecretKey(string)

Sets a secret key.

TimeOut(int)

Sets a timeout span.

method

SignatureDescription
ActiveOrders(string)

Gets a list of unfilled orders.

ActivePositions(string,string,string)

Gets a list of unfilled orders.

CancelOrder(string,string)

Cancels an order.

CancelPosition(string,string,string)

Cancels an order.

ChangePosition(string,string,string,real,real,real)

Changes an order.

CreatePosition(string,string,string,string,real,real,real,real,real)

Makes an order.

Currencies(string)

Gets currency information.

CurrencyPairs(string)

Gets currency pair information.

DepositHistory(string,int)

Gets deposit history.

Depth(string)

Gets the depth information of order books.

Depth(string,string)

Gets the depth information of order books.

GetIdInfo()

Gets personal information such as user ID and email address.

GetInfo()

Gets balance, API key permissions, number of trades, number of active orders, and time stamp of server.

GetInfo2()

Gets balance, API key permissions, number of active orders, and time stamp of server.

GetPersonalInfo()

Gets the nickname and image path used for chat.

GetPositions(string,string,int,string)

Gets personal trade history.

Groups(string)

Gets information of futures trading.

LastPrice(string)

Gets the closing price.

LastPrice(string,string)

Gets the closing price.

PositionHistory(string,string,string)

Gets the details of each trade.

Release()

Releases the unmanaged resources that are used in the zaifapi.

SwapHistory(string,string,string)

Gets swap point history.

Ticker(string)

Gets the ticker.

Ticker(string,string)

Gets the ticker.

Trade(string,string,real,real,real,string)

Makes a trading order.

TradeHistory(int,string)

Gets personal trade history.

Trades(string)

Gets the trade history of all users.

Trades(string,string)

Gets the trade history of all users.

Withdraw(string,string,string,real,real)

Sends a withdrawal request for funds.

WithdrawHistory(string,int)

Gets withdrawal history.

Downloads for latest version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Copyright © Rice All rights reserved.