Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Axon is an artificially intelligent agent that trades bitcoin based on daily forecasts.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
While the newly created daily candle's decision is less likely to change, the conclusion of the day that follows fluctuates more often and is very much driven by how the current daily candle shall close. Axon's websocket API updates the client every 30 minutes about its daily trading decisions.
pip install axonbot
pip install --no-cache-dir --upgrade axonbot
from axonbot import AxonBot
bot = AxonBot(cb_api_key=CB_API_KEY, cb_api_secret=CB_API_SECRET, passphrase=CB_API_PASSPHRASE, axon_api_key=AXON_API_KEY)
bot.connect()
Returns True if connection to both Axon's websocket and CoinbasePro are successful.
sample incomming message from Axon's websocket the day of 2021-09-26 00:00 UTC These messages are stored in a queue
{
'timestamp': 1636848000,
'pair': 'btcusd',
'period': '1D',
'forecast':
{
'candle': '2021-11-14',
'decision': 'long',
'confidence': 53.24
}
}
bot.btc_account
returns
{
'id': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',
'currency': 'BTC',
'balance': '0.0100000000000000',
'hold': '0.0000000000000000',
'available': '0.01',
'profile_id': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',
'trading_enabled': True
}
bot.usd_account
returns
{
'id': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',
'currency': 'USD',
'balance': '1000.0000000000000000',
'hold': '0.0000000000000000',
'available': '1000',
'profile_id': 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx',
'trading_enabled': True
}
Since Axon trades daily, the bot has a trading window that is capped by axon_maximum_connection_duration limit of 90 minutes such that:
connection_preparation_window + trading_window < axon_maximum_connection_duration
To check if the bot is in the trading window:
bot.checkif_in_trading_window()
To execute trading forever:
bot.run_daily_trading_strategy()
FAQs
Axon is an artificially intelligent agent that trades bitcoin based on daily forecasts.
We found that axonbot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.