TinkoffInvest.Orders (tinkoff_invest v0.1.2) 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
cancel_order(String.t()) :: TinkoffInvest.Model.Api.Response.t()
Cancels order by order_id
Specs
create_limit_order(String.t(), integer(), order_operation(), float()) :: TinkoffInvest.Model.Api.Response.t()
Creates limit order by figi
Specs
create_market_order(String.t(), integer(), order_operation()) :: TinkoffInvest.Model.Api.Response.t()
Creates market order by figi