Comments (4)
Hm the returned origin_str is all in lower case, very strange. Can you show the full pybit call please (traceroute only shows the last last close_on_trigger="False")
)
from pybit.
Here the full call:
resp = pad.session.place_active_order(side=side, symbol=COIN_PAIR, order_type="Limit",
qty=newQty,
price=newPrice,
time_in_force="GoodTillCancel",
reduce_only="True",
close_on_trigger="False")
I use exactly the same call for coin based perpetuals except for parameters: reduce_only="True" & close_on_trigger="False"
from pybit.
Please do the following params as booleans as shown, rather than strings
reduce_only=True,
close_on_trigger=False
from pybit.
Yep! That did the trick.
Thanks!
from pybit.
Related Issues (20)
- WS subscriptions not working (returning empty sets) HOT 2
- my_position() uses symbol to determine endpoint path, but it's not a required param HOT 1
- get_wallet_balance(spot=True) gives empty results when sub account has no balances HOT 1
- ModuleNotFoundError: No module named 'jsonschema.compat' HOT 3
- ENHANCEMENT: New common API round_tick and round_step before placing order HOT 1
- Parsing Returned Data HOT 1
- Rare error: Timestamp for this request is outside of the recvwindow. (ErrCode: -1021) HOT 1
- Website: Get risk limit endpoint does not require authentication but Pybit doesn't seem to agree HOT 1
- connection refused HOT 1
- README.md has bad links to the websockets_example.py file HOT 2
- False positive test of websocket hides failure HOT 1
- Issue: max_leverage of Query Symbol does not change even after risk_id change using set_risk_limit HOT 3
- Issue: Pybit/Bybit API failed to configure a series of leverage value when risk ID is highest
- Websockets is under documented, i'm having trouble using it HOT 3
- create_internal_transfer and create_subaccount_transfer should raise exception instead of log error HOT 1
- Need help regarding websocket data HOT 1
- close_position() doesn't account for position_idx HOT 1
- Websocket Orderbook not Properly Ordered
- Place conditional order: encoding without a string argument HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybit.