semvec/pypi-packages huggingface dataset:
aevopy 0.1.1
Simple client for aevo.xyz API
Requires Python: >=3.11,<4.0

# Aevopy

Aevopy is a python client for the perp and options trading platform aevo.xyz. It is still in a very early stage, but maybe
useful if you consider automated crypto currency trading. 

For signup with Aevo you can use this link to save on fees:

https://app.aevo.xyz/r/Tulip-Sturdy-Laffont

You can find complete tutorials on how to use this code to build your own trading strategies on my substack or medium account: 

https://substack.com/@crjameson

https://medium.com/@crjameson

## Table of Contents

- [Introduction](#introduction)
- [Usage](#usage)
- [Installation](#installation)
- [Usage](#usage)

## Introduction

Aevopy is a simple to use python library to execute cryptocurrency perp and options trades via Aevo. It should work with all Python versions > 3.11. Older versions are untested but might work as well.

## Usage

Here is some example code to give you a basic idea how to use it:

```python
import aevopy
client = aevopy.AevoClient()

portfolio = client.get_portfolio()
print(f"available portfolio margin balance: {portfolio.user_margin.balance}")

# # get the market details about the asset we want to trade - TIA in this example
instrument = aevopy.get_markets(asset="TIA")
print(f"instrument: {instrument}")

# create a market buy order
order = client.buy_market(instrument.instrument_id, amount=1)
print(f"order: {order} order_id: {order.order_id} avg_price: {order.avg_price}")

# set stop loss and take profit
stop_loss_price = order.avg_price * 0.99
take_profit_price = order.avg_price * 1.02
order = client.sell_stop_loss(instrument.instrument_id, trigger=stop_loss_price)
order = client.sell_take_profit(instrument.instrument_id, trigger=take_profit_price)
```
If you need to work with multiple Accounts, you can create an account object and pass that as parameter to the client:

```python
account = aevopy.AevoAccount(key, wallet_address, api_key, api_secret, env)
...
client = aevopy.AevoClient(account)

```

## Installation

Recommended:
```
pip install aevopy
```
Or if you are using poetry:
```
poetry add aevopy
```
Alternative:
```
From github: pip install pip@git+https://github.com/crjameson/aevopy
```
Create a .env file with your credentials in the same directory as your script is running. Take a look at .env.example in the examples folder.
This file should at least configure the following values:

```
AEVO_SIGNING_KEY = 
AEVO_WALLET_ADDRESS = 
AEVO_API_KEY =
AEVO_API_SECRET =
AEVO_ENV = mainnet
```
Hint: You can create the signing key and API credentials in your userprofile settings on aevo.xyz.


To run the example:
```
poetry run python examples/basic_trade_and_risk_management.py
```

To run the tests:

```
poetry run pytest
```

## Contact

For questions or ideas you can find my contact information on crjameson.xyz
qtape 0.0.1
A python package for (quantum) time adaptive phase estimation

""""""""""""
qtape README
""""""""""""

.............................................................
A python package for (quantum) time adaptive phase estimation
.............................................................

There will be a preprint soon that explains the method! This package
provides a python API to an efficient C++ implementation. The python
API does not provide much documentation, it just exposes the
underlying C++ class methods in src/qtape/ctape.h and
src/qtape/ctape.cpp. Documentation for ctape.h is provided
therein. Doxygen documentation is available at:

https://polybox.ethz.ch/index.php/s/UdFEQB9JrQJD5en

To view the docs, download and unzip the file from the link, and then
open html/index.html in your browser.

============
Installation
============

``python3 -m pip install qtape``

=======
Example
=======

For a simple example see

examples/simple_ex.py
migedit 0.3.4
MIG Editor. CLI/importable module to automatically delete and create MIG gpu/cpu instances.
Requires Python: >=3.10.0

# migedit
MIG Editor python CLI tool and bindings for MIG device management.
Supports all MIG devices and supports both 1:1 gpu instance compute instances setups and setups where compute instances share gpu instances.

- [migedit on Github](https://github.com/Resource-Aware-Data-Systems-RAD/migedit)
- [migedit on PyPI](https://pypi.org/project/migedit/)

# Usage (CLI)

`migedit -i 2 -p 1 2 3`
to create three instances (1g.5gb, 2g.10gb, 3g.20gb) on GPU 2.

or

`migedit -i 2 -p s2 s2`
to create two shared memory instances (2c.7g.40gb, 2c.7g.40gb) on GPU 2.

# Usage (Python bindings)

`import migedit`
to import migedit in your project.

`migedit.get_mig_profiles()`
to get a list of all available MIG instance configurations.

`migedit.make_mig_devices(0, ["1g.10gb"])`
to remove old MIG instances and create new ones.

# Changelog:'
- 3.4: Resolve ValueError when no MIG configs are found.
- 3.3: Removed sudo dependency on nvidia-smi.
- 3.2: Added `remove_mig_devices()`. Empty command will now remove instances only. Added parsing of comma separated values.
- 3.1: Added `remove_old` flag.
- 3.0: Support for non-A100 devices (H100, A30, etc.) by dynamically grabbing available profiles.
- 2.0: Support for Shared Memory Mig Mode (with 7g.40gb instances)
- 1.1: Various bugfixes
- 1.0: Initial

## Supported platforms

- [x] Linux (Python 3.10 or higher)

## Contributors

- [Ties Robroek](https://github.com/sipondo)

Thank You!

Contributions are welcome. _(Please add yourself to the list)_
pgetopt-jyrgenn 2024.206.1405
THIS PACKAGE IS OBSOLETED by jpylib-jyrgenn.
Requires Python: >=3.5

THIS PACKAGE IS OBSOLETED by jpylib-jyrgenn.

Please use the pgetopts() function in jpylib-jyrgenn instead.
<https://pypi.org/project/jpylib-jyrgenn/>

[ni@w21.org 2024-02-06]