The start of cira!

Cira the simpel Alpaca lib

A simpler libray for alpaca-trade-api from Alpaca Markets. Cira is available pip

Getting Started

Installation

You can install by pip

pip install cira

Usage

Becose the alpca trade API need a key.
You need to keep your api key in a json file. Cira needs the path to the file.

key.json

{
  "APCA-API-KEY-ID":"your_pub_key",
  "APCA-API-SECRET-KEY":"your_private_key"
}

then you can start using the lib

import cira
cira.KEY_FILE = "../mypath/key.json"
cira.buy(1, "TSLA")
print(cira.get_postion())
cira.sell(1, "TSLA")