Struct coinchecker::private::order::Order [−][src]
pub struct Order { /* fields omitted */ }
Expand description
Implementations
pub async fn new_limit_buy(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_limit_buy(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。指値買い (Buy Limit Order) を行います。
pub async fn new_limit_sell(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_limit_sell(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。指値売り (Sell Limit Order) を行います。
pub async fn new_stop_limit_buy(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_stop_limit_buy(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。逆指値の指値買い (Buy Stop-Limit Order) を行います。
pub async fn new_stop_limit_sell(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_stop_limit_sell(
&mut self,
pair: &CoinPair,
rate: PriceType,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。逆指値の指値売り (Sell Stop-Limit Order) を行います。
pub async fn new_market_buy(
&mut self,
pair: &CoinPair,
amount_jpy: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_market_buy(
&mut self,
pair: &CoinPair,
amount_jpy: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。成行買い (Buy Market Order) を行います。
pub async fn new_market_sell(
&mut self,
pair: &CoinPair,
amount: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_market_sell(
&mut self,
pair: &CoinPair,
amount: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。成行売り (Sell Market Order) を行います。
pub async fn new_stop_market_buy(
&mut self,
pair: &CoinPair,
amount_jpy: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_stop_market_buy(
&mut self,
pair: &CoinPair,
amount_jpy: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。逆指値の成行買い (Buy Stop-Market Order) を行います。
pub async fn new_stop_market_sell(
&mut self,
pair: &CoinPair,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
pub async fn new_stop_market_sell(
&mut self,
pair: &CoinPair,
amount: PriceType,
stop_loss_rate: PriceType
) -> Result<OrderResultGeneral>
取引所に新規注文を発行します。逆指値の成行売り (Sell Stop-Market Order) を行います。
注文のキャンセル
新規注文または未決済の注文一覧のIDを指定してキャンセルすることができます。
https://coincheck.com/ja/documents/exchange/api#order-cancel
pub async fn transactions_pagination(
&mut self,
pagination: Pagination
) -> Result<OrderTransactionsPagination>
pub async fn transactions_pagination(
&mut self,
pagination: Pagination
) -> Result<OrderTransactionsPagination>
取引履歴(ページネーション)
自分の最近の取引履歴を参照できます。
https://coincheck.com/ja/documents/exchange/api#order-transactions-pagination
Auto Trait Implementations
impl !RefUnwindSafe for Order
impl !UnwindSafe for Order
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more