Class: Fcoin::EndPoint::OrdersTask
- Inherits:
-
Thor
- Object
- Thor
- Fcoin::EndPoint::OrdersTask
- Defined in:
- lib/fcoin/cli/endpoint/orders_task.rb
Instance Method Summary collapse
-
#cancel ⇒ JSON
Cancel order.
-
#create_limit ⇒ JSON
Create limit order.
-
#list ⇒ JSON
Get order list.
-
#reference ⇒ JSON
Query order.
-
#transaction ⇒ JSON
Query the transaction record for the specified by order_id.
Instance Method Details
#cancel ⇒ JSON
Note:
This method can not be invoked without authentication.
Cancel order.
117 |
# File 'lib/fcoin/cli/endpoint/orders_task.rb', line 117 desc 'cancel', 'Cancel order' |
#create_limit ⇒ JSON
Note:
This method can not be invoked without authentication.
Create limit order
curl: POST api.fcoin.com/v2/orders
28 |
# File 'lib/fcoin/cli/endpoint/orders_task.rb', line 28 desc 'create_limit', 'Create limit order' |
#list ⇒ JSON
Note:
This method can not be invoked without authentication.
Get order list.
curl: GET api.fcoin.com/v2/orders
63 |
# File 'lib/fcoin/cli/endpoint/orders_task.rb', line 63 desc 'list', 'Get order list' |
#reference ⇒ JSON
Note:
This method can not be invoked without authentication.
Query order.
curl: GET api.fcoin.com/v2/orders/$order_id
94 |
# File 'lib/fcoin/cli/endpoint/orders_task.rb', line 94 desc 'reference', 'Ouery order' |
#transaction ⇒ JSON
Note:
This method can not be invoked without authentication.
Query the transaction record for the specified by order_id.
140 |
# File 'lib/fcoin/cli/endpoint/orders_task.rb', line 140 desc 'transaction', 'Query the transaction record for the specified by order_id' |