semvec/pypi-packages huggingface dataset:
allthekernels 1.2.0
Multiplexing kernel for Jupyter
License: MIT
Requires Python: >=3.5

# All the Kernels!

A Jupyter kernel that multiplexes all the kernels you have installed.

## Installation

1. Download and extract the contents of this repository or clone it with <code>git clone https://github.com/minrk/allthekernels.git</code>
2. Install with:

```
python3 -m pip install allthekernels
```
Or to do a dev install from source:
```
python3 -m pip install -e .
# manually install kernelspec in your environment, e.g.:
# mkdir ~/mambaforge/envs/allthekernels/share/jupyter/kernels/atk
# cp atk/kernel.json ~/mambaforge/envs/allthekernels/share/jupyter/kernels/atk
```

## Usage

Specify which kernel a cell should use with `>kernelname`.
If no kernel is specified, IPython will be used.

![atk](img/allthekernels.png)

([All the things source](http://hyperboleandahalf.blogspot.no/2010/06/this-is-why-ill-never-be-adult.html))

## Making a release

Anyone with push access to this repo can make a release.
We use [tbump][] to publish releases.

tbump updates version numbers and publishes the `git tag` of the version.
[Our GitHub Actions](https://github.com/minrk/allthekernels/actions)
then build the releases and publish them to PyPI.

The steps involved:

1. install tbump: `pip install tbump`
2. tag and publish the release `tbump $NEW_VERSION`.

That's it!

[tbump]: https://github.com/your-tools/tbump
MT5pytrader 1.0
MT5pytrader
License: MIT
Keywords: MT5pytrader,python,Metatrader5,MT5,algotrading,autroading

# MT5pytrader
##### A trading assistant for seamless trade execution on MT5 platform

![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)

MT5pytrader is an MT5-based module for seamless trade execution.

## Features

-     Functions:
        connect() - Connects to a specified account 
        open_buy() - Open a buy position 
        open_sell() - Open a sell position 
        close_buy() - close a buy position using the symbol or ticket_id
        close_sell() - Close a sell position using the symbol or ticket_id
        open_buy_limit() - Open a buy limit
        open_sell_limit() - Open a sell limit
        close_partial_buy() - Close a percentage of an open buy position(partial close)
        close_partial_sell() - Close a percentage of an open sell position(partial close)
        modify_sl() - Modify Stop loss of a position using the symbol or ticket_id
        modify_tp() - Modify Take profit of a position using the symbol or ticket_id
        get_open_positions() - Returns a list of all open position as a pandas Dataframe
        running_profit() - Returns the cummulative sum of all runnig trades (profit/loss)
        break_even() - Break even on a trade position running in profit


## Installation

Install the dependencies and devDependencies and start the server.

```
pip install MT5pytrader
```
## Dependence

Please install the latest version of MetaTrader5 and numpy
``` sh
pip install --upgrade numpy
pip install MetraTrader5
```

## Usage
```sh
>>> from MT5pytrader import Trader
```

## Instantiate 
```sh
>>> trader = Trader()

Connect to a specified account
>>> trader.connect(account, password, server) 

open a buy position
>>> trader.open_buy(symbol:str, lot:int = 0.1, stop_loss:int = None, take_profit:int = None, magic:int = 260000, comment:str = "MT5pytrader")

#open buy position on GBPUSD with 1.0lot size and 200points stop loss with no take profit
>>> trader.open_buy(symbol = "GBPUSD", lot = 1.0, sl = 200) 
    
open a sell position
>>> trader.open_sell(symbol:str, lot:int = 0.1, stop_loss:int = None, take_profit:int = None, magic:int = 260000, comment:str = "MT5pytrader")

#open sell position on CADJPY with 0.5 lot size and 150points take profit with no stop loss 
>>> trader.open_sell(symbol = "CADJPY", lot = 0.5, tp = 150) 

```

## Development
MT5pytrader is in active development.

Want to contribute? Great! Please contact me via email with your ideas. 

## License

MIT

**Free Software, Enjoy and Feedback!**