backslash-f / swift-trader Goto Github PK
View Code? Open in Web Editor NEWA Swift package for connecting and trading on crypto exchanges such as Kucoin and Binance via REST ๐ค
License: MIT License
A Swift package for connecting and trading on crypto exchanges such as Kucoin and Binance via REST ๐ค
License: MIT License
Find a way for closing orders (like stop limit) for positions that are already closed, like XBTUSDTM
. For example, a cron
like would do. Or an algorithm that closes "old" orders after opening a new one. But keep it very simple.
For example, save the recently created UUID of an order; remove all orders for a contract that are different than the one you saved.
Requires macOS 12: actions/runner-images#3649
Currently there's no validation, like the place order will run even when trading view sends a percentage lower than the current one (e.g.: current is 5%, TV sends a webhook for 3%, the order will be placed) -- I think there's no serious implications, but some validation would be nice (but another network will be needed in this scenario).
Long is working fine but it's limited to bull markets.
Add short capabilities to profit from suffering and despair AKA bear market.
side
short
moveOpen / list orders / positions, etc.
E.g.: "44831.53" becomes "44831".
Workaround to not call "https://docs.kucoin.com/futures/#get-open-contract-list" (for now).
"The price specified must be a multiple number of the contract tickSize, otherwise the system will report an
error when you place the order. The tick size is the smallest price increment in which the prices are quoted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.