TinkoffInvest.Orders (tinkoff_invest v0.1.3) View Source

Context for Orders api. Allows you:

  • Fetch active orders
  • Create limit order
  • Create market order
  • Cancel order

Контекст для апи заявок, позволяет:

  • Получить активные заявки
  • Создать лимитную заявку
  • Создать рыночную заявку
  • Отменить заявку

Link to this section Summary

Functions

Returns active orders

Cancels order by order_id

Creates limit order by figi

Creates market order by figi

Link to this section Types

Specs

order_operation() :: :buy | :sell

Link to this section Functions

Specs

active_orders() :: TinkoffInvest.Model.Api.Response.t()

Returns active orders

Specs

Cancels order by order_id

Link to this function

create_limit_order(figi, lots, op, price)

View Source

Specs

Creates limit order by figi

Link to this function

create_market_order(figi, lots, op)

View Source

Specs

Creates market order by figi