covey-sdk


Namecovey-sdk JSON
Version 0.1.16 PyPI version JSON
download
home_pagehttps://github.com/covey-io/ethereum-contract-interaction
SummaryCovey Trading Tools
upload_time2024-03-06 02:59:43
maintainer
docs_urlNone
authorVadim Serebrinskiy
requires_python
licenseMIT
keywords covey
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Getting Started
***
1. C++ Build Tools (in case not already on your machine - frequently seen with Windows Users)
[download here](https://visualstudio.microsoft.com/visual-cpp-build-tools/)

2. Create a project folder 

    `mkdir covey`

3. Using the terminal of your choice, create a virtual python environment within `covey`.

    `python3 -m venv env`
    
4. Activate the virtual environment. 

    windows `source env/Scripts/Activate` 

    mac `source env/bin/activate` 

5. Once the environment is activated (the terminal should have the environment name pop up in front of the user name as **(env)**), proceed to install the covey-sdk.
    `pip install covey-sdk`

6. Create a new file called test.py or whichever name you would prefer and run the following code

    `import covey.covey_trade as ct`

    `t = ct.Trade(address = <public wallet key>, address_private = <private_wallet_key>, posting_only = True)`

    `t.post_trades_polygon('FB:0.25,ETHUSDT:0.15,AMZN:0.0')`

7. Note the post trades string needs to be one string with the format *<ticker>:<target_percent>,<ticker>:<target_percent>,...*

If successful, the terminal should write back that your trades have been posted.

Please let us know if you have any questions or run into issues, happy coding!

# FAQs
*** 
* target_percent is the new percent you want the size to be. If you had a prior target_percent of 0.01 (1%), then you added a new target_percent of 0.03 (3%) that would buy you an additional (0.02) 2%. So the end position is 0.03 (3%)
* To close a position you need to run target_percent = 0.0


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/covey-io/ethereum-contract-interaction",
    "name": "covey-sdk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "covey",
    "author": "Vadim Serebrinskiy",
    "author_email": "vs@covey.io",
    "download_url": "",
    "platform": null,
    "description": "\n# Getting Started\n***\n1. C++ Build Tools (in case not already on your machine - frequently seen with Windows Users)\n[download here](https://visualstudio.microsoft.com/visual-cpp-build-tools/)\n\n2. Create a project folder \n\n    `mkdir covey`\n\n3. Using the terminal of your choice, create a virtual python environment within `covey`.\n\n    `python3 -m venv env`\n    \n4. Activate the virtual environment. \n\n    windows `source env/Scripts/Activate` \n\n    mac `source env/bin/activate` \n\n5. Once the environment is activated (the terminal should have the environment name pop up in front of the user name as **(env)**), proceed to install the covey-sdk.\n    `pip install covey-sdk`\n\n6. Create a new file called test.py or whichever name you would prefer and run the following code\n\n    `import covey.covey_trade as ct`\n\n    `t = ct.Trade(address = <public wallet key>, address_private = <private_wallet_key>, posting_only = True)`\n\n    `t.post_trades_polygon('FB:0.25,ETHUSDT:0.15,AMZN:0.0')`\n\n7. Note the post trades string needs to be one string with the format *<ticker>:<target_percent>,<ticker>:<target_percent>,...*\n\nIf successful, the terminal should write back that your trades have been posted.\n\nPlease let us know if you have any questions or run into issues, happy coding!\n\n# FAQs\n*** \n* target_percent is the new percent you want the size to be. If you had a prior target_percent of 0.01 (1%), then you added a new target_percent of 0.03 (3%) that would buy you an additional (0.02) 2%. So the end position is 0.03 (3%)\n* To close a position you need to run target_percent = 0.0\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Covey Trading Tools",
    "version": "0.1.16",
    "project_urls": {
        "Homepage": "https://github.com/covey-io/ethereum-contract-interaction"
    },
    "split_keywords": [
        "covey"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1163c86316b7a82e7aa1d33353e0e01756f6d4054573a2ac769a935e822efe40",
                "md5": "46b1329b8328dcb1ab5f40f345aa1768",
                "sha256": "acdbdaf45c2f6aea09a45166d589b22c1cddff62c22e35e4d5b751963c017349"
            },
            "downloads": -1,
            "filename": "covey_sdk-0.1.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46b1329b8328dcb1ab5f40f345aa1768",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1210986,
            "upload_time": "2024-03-06T02:59:43",
            "upload_time_iso_8601": "2024-03-06T02:59:43.242423Z",
            "url": "https://files.pythonhosted.org/packages/11/63/c86316b7a82e7aa1d33353e0e01756f6d4054573a2ac769a935e822efe40/covey_sdk-0.1.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-06 02:59:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "covey-io",
    "github_project": "ethereum-contract-interaction",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "covey-sdk"
}
        
Elapsed time: 0.80209s